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

  • Thread starter Thread starter Mr. Low
  • Start date Start date
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
 
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
 
Hi,

Try this

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

If this helps, please click the Yes button.

Cheers,
Shane Devenshire
 
Back
Top