where values (C4:C15) and dates (B4:B15) are named ranges. MAX is nested inside XLOOKUP, and returns a value directly as the first argument:
The lookup_value is delivered by MAX The lookup_array is the named range values (C4:C15) The return_array is is the named range dates (B4:B15) The match_mode is not provided and defaults to 0 (exact match) The search_mode is not provided and defaults to 1 (first to last)
Without named ranges
The example uses named ranges for convenience and readability. Without names ranges, the same formula is:
Min value
To return the date of the minimum value, the formula in F5 just substitutes the MIN function for the MAX function:
With INDEX and MATCH
The equivalent INDEX and MATCH formula to return the date of max value is: Note: although the example uses a vertical range of data, both formulas above will work just as well with a horizontal range.
Dave Bruns
Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.