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

Data Analysis

  • How To Load Analysis ToolPak in Excel
  • Chart Axes in Excel
  • How to Sort by Color in Excel
  • Conflicting Multiple Conditional Formatting Rules in Excel
  • Conditional Formatting Icon Sets Examples in Excel

References

  • Left Lookup in Excel
  • How to reference named range different sheet in Excel
  • Multi-criteria lookup and transpose in Excel
  • How to use Excel MATCH Function
  • How to get first column number in range in Excel

Data Validations

  • Excel Data validation must begin with
  • Excel Data validation allow weekday only
  • Excel Data validation allow uppercase only
  • Excel Data validation no punctuation
  • Excel Data validation unique values 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
  • IF with wildcards in Excel
  • OR function Examples in Excel
  • How to use Excel OR Function
  • IF function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • HOUR function: Description, Usage, Syntax, Examples and Explanation
  • Add workdays no weekends in Excel
  • WORKDAY.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Assign points based on late time in Excel
  • YEARFRAC function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group arbitrary text values in Excel
  • Map text to numbers in Excel
  • Map inputs to arbitrary values in Excel
  • How to randomly assign data to groups in Excel
  • Group numbers at uneven intervals in Excel

General

  • Count cells that do not contain errors in Excel
  • Share Excel data with Word documents
  • How to create dynamic named range with INDEX in Excel
  • Creating and Opening an existing file in Excel
  • How to calculate percentage discount in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning