Excel 2002: How to lookup the last number and text in a column ?

M

Mr. Low

Hi.

Lets consider the following table:

A B
1 <------ Last item of the column either text
or number
2 Amount Amount
3 250 125

4 500 365
6
5 120 not found
1500 350 458
5000 500 too costly

Total 3250 2560

Result Fair

The column A and B has both text , numbers and blank cells, May I know the
formula to pick up the last item for ach column.

Let the output be in cell A1 and B1 respectively.

I try using =lookup (“zzzzâ€, A2:A500), but it does not work.

Kindly provide guidance

Thanks

Low
 
M

Mike H

Hi,

For the last text or numeric value in column A use

=INDIRECT("A"&SUMPRODUCT(MAX((ROW(A1:A5000))*(A1:A5000<>""))))

Drag right and manually change the first A to a B for column B

Mike
 
S

Shane Devenshire

Hi,

Try this

=LOOKUP(1,1/(B:B<>""),B:B)

If this helps, please click the Yes button.

Cheers,
Shane Devenshire
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top