Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to add Trendline to a chart in Excel
  • How to calculate correlation coefficient Correlation in Excel
  • How to create Checklist in Excel
  • Conditional Formatting Icon Sets Examples in Excel
  • How to calculate current stock or inventory in Excel

References

  • Two-way lookup with VLOOKUP in Excel
  • Lookup entire row in Excel
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel MATCH Function

Data Validations

  • Excel Data validation unique values only
  • Excel Data validation must begin with
  • Prevent invalid data entering in specific cells
  • Excel Data validation whole percentage only
  • Excel Data validation no punctuation

Larger of two values in Excel

by

This tutorial shows how to calculate Larger of two values in Excel using the example below;

Formula

=MAX(value1,value2)

Explanation

To get the larger, or greater, of two values, you can use the MAX function. In the example shown, the formula in D5 is:

=MAX(B5,C5)

How this formula works

The MAX function is fully automatic – it returns the largest value in the numbers provided. In this case, we give MAX function two values:

=MAX(B5,C5)

and MAX returns the larger value.

Elegant alternative to IF

The MAX function can be a compact and elegant replacement for the IF function. For example, the formula above can be written with IF like so:

=IF(B5>=C5,B5,C5)

However, the MAX version is 6 characters shorter (11 vs. 17), and contains no redundant references, so it is less prone to errors.

Post navigation

Previous Post:

How to use Excel CHOOSE Function

Next Post:

Customize Ribbon In Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • OR function Examples in Excel
  • Invoice status with nested if in Excel
  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel NOT Function

Date Time

  • Convert text date dd/mm/yy to mm/dd/yy in Excel
  • Dynamic date list in Excel
  • Convert date to text in Excel
  • Display Date is same month in Excel
  • Get fiscal year from date in Excel

Grouping

  • How to randomly assign people to groups in Excel
  • Map text to numbers in Excel
  • Group numbers with VLOOKUP in Excel
  • Calculate conditional mode with criteria in Excel
  • If cell contains one of many things in Excel

General

  • How to generate random times at specific intervals in Excel
  • Sum by group in Excel
  • Currency vs Accounting Format in Excel
  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning