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

Data Analysis

  • Move chart to a separate worksheet in Excel
  • Understanding Pivot Tables in Excel
  • Subtotal function in Excel
  • How to create a Histogram in Excel
  • Error Bars in Excel

References

  • Extract all partial matches in Excel
  • Merge tables with VLOOKUP in Excel
  • How to get address of first cell in range in Excel
  • How to get relative column numbers in a range in Excel
  • Basic INDEX MATCH approximate in Excel

Data Validations

  • Excel Data validation no punctuation
  • Excel Data validation date in specific year
  • Excel Data validation number multiple 100
  • Excel Data validation must begin with
  • Excel Data validation with conditional list

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

  • OR function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples
  • How to return blank in place of #DIV/0! error in Excel
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • Return blank if in Excel

Date Time

  • How to calculate workdays per month in Excel
  • Calculate days remaining in Excel
  • Add workdays no weekends in Excel
  • How to calculate nth day of year in Excel
  • Display Date is same month in Excel

Grouping

  • Group times into unequal buckets in Excel
  • How to randomly assign data to groups in Excel
  • Map inputs to arbitrary values in Excel
  • Group numbers with VLOOKUP in Excel
  • Group times into 3 hour buckets in Excel

General

  • With vs Without Array Formula in Excel
  • Basic numeric sort formula in Excel
  • How to generate random date between two dates in Excel
  • Create dynamic workbook reference to another workbook in Excel
  • How to make excel worksheets print on one page?
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning