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

Data Analysis

  • Error Bars in Excel
  • Get column name from index in Excel Table
  • How to Create One and Two Variable Data Tables in Excel
  • Remove Duplicates Example in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS

References

  • How to get address of first cell in range in Excel
  • How to use Excel LOOKUP Function
  • How to use Excel ROW Function
  • How to get first column number in range in Excel
  • How to get last row in text data in Excel

Data Validations

  • Data validation must not exist in list
  • Excel Data validation exists in list
  • Excel Data validation specific characters only
  • Excel Data validation only dates between
  • Excel Data validation allow weekday only

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

  • Return blank if in Excel
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • How to return blank in place of #DIV/0! error in Excel
  • IF, AND, OR and NOT Functions Examples in Excel
  • Check multiple cells are equal in Excel

Date Time

  • NETWORKDAYS.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Count day of week between dates in Excel
  • NOW function: Description, Usage, Syntax, Examples and Explanation
  • Convert text timestamp into time in Excel
  • Calculate time difference in hours as decimal value in Excel

Grouping

  • How to randomly assign people to groups in Excel
  • Group times into 3 hour buckets in Excel
  • Categorize text with keywords in Excel
  • Group arbitrary text values in Excel
  • Map text to numbers in Excel

General

  • 3D SUMIF for multiple worksheets in Excel
  • Subtotal invoices by age in Excel
  • Excel Default Templates
  • How to increase by percentage in Excel
  • Creating and Opening an existing file in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning