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

Data Analysis

  • Conditional Formatting New Rule with Formulas in Excel
  • Working With Tables in Excel
  • Conditional Formatting Data bars Examples in Excel
  • How to create dynamic reference table name in Excel
  • How to calculate correlation coefficient Correlation in Excel

References

  • Basic INDEX MATCH approximate in Excel
  • How to use Excel ROW Function
  • MATCH function: Description, Usage, Syntax, Examples and Explanation
  • Perform case-sensitive Lookup in Excel
  • Complete List of Excel Lookup and Reference Functions, References and Examples

Data Validations

  • Excel Data validation must not contain
  • Excel Data validation specific characters only
  • Excel Data validation only dates between
  • How To Create Drop-down List in Excel
  • 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

  • IF, AND, OR and NOT Functions Examples in Excel
  • Excel If, Nested If, And/Or Criteria Examples
  • SWITCH function example in Excel
  • How to use Excel FALSE Function
  • How to use Excel AND Function

Date Time

  • List holidays between two dates in Excel
  • TODAY function: Description, Usage, Syntax, Examples and Explanation
  • Display Days in month in Excel
  • Count dates in current month in Excel
  • Get days between dates in Excel

Grouping

  • Running count group by n size in Excel
  • Map inputs to arbitrary values in Excel
  • Group times into unequal buckets in Excel
  • Group times into 3 hour buckets in Excel
  • Categorize text with keywords in Excel

General

  • How to count total columns in range in Excel
  • How to fill cell ranges with random text values in Excel
  • Convert column letter to number in Excel
  • How to calculate percent of students absent in Excel
  • How to get random value from list or table in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning