find last row for specific text value in cell within tabel

maarten74

New Member
Joined
Jan 18, 2009
Messages
4
Dear All,

I am new to this forum.
I am trying to find a solution for the following; within a tabel with several columns I am trying to find the last row (preferably column with the date for which the last specific value has been found in the table).
See attached example.
With vertical look-up I can't solve it and on the internet I only see VBA solution for which I have no experience. As I am unable to attach an excelsheet I will show you the tabel and the output I want

Date Cat 1 Cat 2 Cat 3
1/1 Apple Apple Apple
1/2 Pear Nut Pear
1/3 Apple Nut Nut

The whole tabel I from Date (left top) to bottom right (nut)

Output I would like to have:
Apple 1/3
Nut 1/3
Pear 1/2
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi. Something like this should work:

=LOOKUP(2,1/(($B$2:$B$4=A9)+($C$2:$C$4=A9)+($D$2:$D$4=A9)),$A$2:$A$4)

where table 1 is in A1:D4 and result table in A9:B11.
 
Upvote 0

Forum statistics

Threads
1,215,079
Messages
6,123,009
Members
449,093
Latest member
ikke

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