How to Return the Latest Numeric Total from an Excel Column
Question details
The user needs to dynamically retrieve the most recent numeric total from a specific column in another worksheet that continuously updates.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Tracking changing totals in a repeating layout and displaying the latest value on a summary sheet.
- Observed behavior
- The goal is to automatically display the most recent total without having to manually update cell references each time a new total is added.
Identify the exact sheet name and column where the changing numeric totals are recorded, as you will need these to construct the lookup formula.
Use the LOOKUP Function with a Large Number
This is the most robust method to find the last numeric value in a column, automatically ignoring any text or blank cells.
By searching for an extremely large number (like 9.99999999999E+307, which is the largest number the spreadsheet software can handle), the LOOKUP function will scan the entire column. Since it will never find a number that large, it will default to returning the very last numeric value it encountered in the range.
Click on the cell in your summary sheet where you want the latest total to appear.
Type the formula =LOOKUP(9.99999999999E+307,'Tab A'!D:D). Replace 'Tab A' with the actual name of your data sheet, and 'D:D' with the column containing the totals.
Press Enter. The cell will now dynamically display the most recent numeric value added to that specific column.

Track Your Latest Data Dynamically with WPS Spreadsheet
WPS Spreadsheet fully supports advanced functions like LOOKUP, allowing you to build dynamic summaries and track your latest data effortlessly. It is highly compatible with Excel files and offers a smooth, intuitive user experience.
- 1. Open Your Workbook in WPS: Launch WPS Office and open your spreadsheet file containing the data logs.
- 2. Apply the LOOKUP Formula: Navigate to the summary cell and enter the LOOKUP formula to fetch the latest numeric total.
- 3. Automate Your Workflow: Continue adding new totals to your data column; WPS Spreadsheet will automatically update the summary cell in real-time.

Frequently Asked Questions
Why use 9.99999999999E+307 in the LOOKUP formula?
This scientific notation represents the largest number Excel or WPS Spreadsheet can process. When LOOKUP tries to find this massive number and fails, it defaults to the last numeric value in the specified range.
Will this formula ignore text and blank cells in the column?
Yes. The LOOKUP function specifically looks for numbers in this context, so it will skip over any empty cells or cells containing text and only return the last actual number.
Can I use this method to find the last text value instead of a number?
To find the last text value, you would use a similar approach but with a text string. The formula would look like =LOOKUP("zzzzzz",A:A), which searches for a text value that would fall at the very end of the alphabet.
What if my totals are in a row instead of a column?
You can apply the exact same formula to a row by adjusting the range reference. For example, =LOOKUP(9.99999999999E+307, 1:1) will return the last numeric value in row 1.




