View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Domenic Domenic is offline
external usenet poster
 
Posts: 256
Default Second to last cell

First, define the following...

Insert Name Define

Name: BigNum

Refers to: =9.99999999999999E+307

Click Ok

Then, try the following formula...

=LOOKUP(BigNum,A2:INDEX(A2:A10,MATCH(BigNum,A2:A10 )-1))

Hope this helps!

In article ,
geoff1234
wrote:

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.