A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
To pick up the last total in a column of totals in Excel, you can use the LOOKUP function or the INDEX and MATCH combination. Here’s how you can do it:
Using LOOKUP Function
Assuming your totals are in column A of the transactions sheet, you can use the following formula in your summary sheet:
=LOOKUP(2,1/(Sheet1!A:A<>""),Sheet1!A:A)
This formula works by looking for the last non-empty cell in column A of the transactions sheet (named "Sheet1" in this example).
Using INDEX and MATCH
Alternatively, you can use:
=INDEX(Sheet1!A:A, MATCH(1E+100, Sheet1!A:A))
This formula finds the last numeric value in column A.
Make sure to replace "Sheet1" with the actual name of your transactions sheet if it's different. These formulas will automatically update as you add more transactions, ensuring that you always get the latest total.
References: