» Retrieving the Last Value in a Dynamic List
CATEGORY - Lookup Formulas
VERSION - All Microsoft Excel Versions
Problem: Column A contains a list of numbers that is being continually added to at its base.
We want to create a formula that will retrieve the last value in the column and automatically update when a new number is added.
Solution:
Use the OFFSET and COUNTA functions as shown in the following formula:
=OFFSET(A1,COUNTA($A:$A)-1,0)
Note:
The formula will only work correctly when there are no empty cells within the list.
Book Store:
Recommended Books:
- Definitive Guide to Excel VBA
- Windows XP All-in-One Desk Reference For Dummies
- Infectious Greed: How Deceit and Risk Corrupted the Financial Markets
- Managing by the Numbers: A Commonsense Guide to Understanding and Using Your Company's Financials: An Essential Resource for Growing Businesses
- Essentials of Accounting and Post Test Booklet 8, Eighth Edition
- Yes, You Can Time the Market!
No comments have been submitted.

