View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Second to last cell

=INDEX(A1:A10,LARGE(IF(A1:A10<"",ROW(A1:A10)),2))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"geoff1234" wrote
in message ...

Hi Dudes,

Can anyone help with this problem:

I've got a list of data as such

34
54
23
34
blank
77
45
67
45
blank


To get the last non-blank cell value I'm using =LOOKUP(1E+40,A1:A10).

Anyone know a formula of how to look up the 2nd last value.


--
geoff1234
------------------------------------------------------------------------
geoff1234's Profile:

http://www.excelforum.com/member.php...o&userid=36051
View this thread: http://www.excelforum.com/showthread...hreadid=559340