Hi,
Can someone tell me how I can obtain the value of the last populated cell in a specific column please?
Many thanks
Chris
Hi,
Can someone tell me how I can obtain the value of the last populated cell in a specific column please?
Many thanks
Chris
Depends really... if the data types are constant... ie if always same datatype:
TEXT:
=LOOKUP(REPT("z",255),C:C)
NUMBER:
=LOOKUP(9.99999999999999E+307,C:C)
LOGICAL:
=LOOKUP(TRUE,C:C)
If it's varied and depending on if you have Blanks interspersed in your range or not:
NO BLANKS INTERSPERSED IN RANGE
=INDEX(C:C,COUNTA(C:C))
YES BLANKS
=LOOKUP(2,1/(C:C<>""),C:C)
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks