Last TEXT entry, excluding ""

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,459
I've been using =INDEX(A:A,MATCH(REPT("z",90),A:A)) to find the last text entry. Now column A has a IF filter that returns a blank(""). I'd like the last text entry excluding the "".
 
A non-array formula and less volatile!..... :pray:

Now if I can just remember what spreadsheet I'm using this in, I'm all set. o_O
 
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
hi,
I tried
=lookup(BigNum,A:A) to find the last non-blank integer, but it's not working.
I think this is because my column contains zeroes instead of 1. so do I have to use the fancy formula that was used for text, or is there some way around.
Thanks
 
Upvote 0
shafali said:
hi,
I tried
=lookup(BigNum,A:A) to find the last non-blank integer, but it's not working.
I think this is because my column contains zeroes instead of 1. so do I have to use the fancy formula that was used for text, or is there some way around.
Thanks

What's not working?
 
Upvote 0
shafali said:
...
I tried
=lookup(BigNum,A:A) to find the last non-blank integer, but it's not working.
I think this is because my column contains zeroes instead of 1. so do I have to use the fancy formula that was used for text, or is there some way around.
...

1. To retrieve the last non-zero numerical value from a numeric range...

C1:

=MATCH(9.99999999999999E+307,A:A)

=LOOKUP(2,1/(A2:INDEX(A:A,C1)<>0),A2:INDEX(A:A,C1))

2. To retrieve the last non-zero numerical value from a range of mixed data type...

=LOOKUP(2,1/((A2:INDEX(A:A,C1)<>0)*ISNUMBER(A2:INDEX(A:A,C1))),A2:INDEX(A:A,C1))

3. If the range is known as say A2:A12 and it's numeric...

=LOOKUP(2,1/(A2:A12<>0),A2:A12)

4. If the range is known as say A2:A12 and it's a range of mixed data type...

=LOOKUP(2,1/((A2:A12<>0)*ISNUMBER(A2:A12)),A2:A12)
 
Upvote 0

Forum statistics

Threads
1,215,417
Messages
6,124,789
Members
449,188
Latest member
Hoffk036

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top