How to Find the Latest Review Data Across Excel Columns Using XLOOKUP
Question details
The user needs to retrieve the latest (right-most) numeric review data across multiple Excel columns and return the corresponding month, slide number, or combined value without altering the existing spreadsheet layout.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Tracking review entries across multiple monthly columns and extracting the most recent data point automatically.
- Observed behavior
- Attempting to find the last numeric entry right-to-left using formulas, while avoiding #REF! errors associated with out-of-bounds indexing.
Ensure your version of Excel or spreadsheet software supports modern dynamic array functions like XLOOKUP, as older versions may return a #NAME? error.
Use XLOOKUP to Search Right-to-Left
By setting the search mode parameter to -1, you can force the XLOOKUP function to scan your columns from right to left, isolating the most recent numeric entry in your range.
This method uses the ISNUMBER function to ignore blank cells or text, ensuring only the latest actual review score or numeric entry is returned.
Identify your numeric slide columns (e.g., B2:M2) and your month headers (e.g., B1:M1).
Select an empty cell (e.g., N2), enter the formula =XLOOKUP(TRUE,ISNUMBER(B2:M2),B2:M2&"-"&TEXTBEFORE($B$1:$M$1," "),"",0,-1) and drag the fill handle down.
If you only need the month, select an empty cell (e.g., O2), enter =XLOOKUP(TRUE,ISNUMBER(B2:M2),TEXTBEFORE($B$1:$M$1," "),"",0,-1) and fill down.
To get just the slide number, select an empty cell (e.g., P2), enter =XLOOKUP(TRUE,ISNUMBER(B2:M2),B2:M2,"",0,-1) and fill down.

Easily Find Latest Data Entries with WPS Spreadsheet
WPS Office provides comprehensive support for modern dynamic functions like XLOOKUP, allowing you to efficiently track the latest review data across multiple columns. It is a lightweight, high-performance tool tailored for all your complex spreadsheet tasks.
- 1. Download and install: Download WPS Office for free and open your review tracking workbook in WPS Spreadsheet.
- 2. Apply the right-to-left lookup: Select your target cell and input the XLOOKUP formula using the -1 search mode parameter.
- 3. Fill the formula: Drag the fill handle down to apply the lookup formula to the remaining rows in your dataset instantly.

Frequently Asked Questions
Why do I get a #REF! error when using the INDEX function?
A #REF! error occurs when your formula references a column index number that is larger than the total number of columns in your specified range. Verify that your index array aligns perfectly with your referenced data range size.
What does the -1 parameter do in the XLOOKUP formula?
The -1 is used in the search_mode argument of the XLOOKUP function. It instructs the function to search the array starting from the last item and moving to the first (right-to-left), which is essential for locating the most recent entry.
Can I use these formulas if my data contains blank cells?
Yes. By nesting the ISNUMBER function within XLOOKUP, the formula specifically looks for the last cell containing a numeric value, effectively ignoring blanks and text entries in your columns.




