find last cell contain specific text

Yweiss0

New Member
Joined
Aug 3, 2013
Messages
46
Hello Everyone,

so i have in my sheet a row with dates and another row with names,
the names are shown several times in different dates, I want to show in other place in the sheet (a few rows under..) the name and next to every name the last date it was written
so for example if Jim was written in 03/01/2017 and also in 21/05/2017 I want that a few rows under in the cell next to the name Jim I'll have only the date 21/05/2017

here an example..

03/01/201701/02/201714/03/201716/03/201721/05/201711/06/201714/07/2017
JimDavidDavidJhonJimAliceAlice

<tbody>
</tbody>


and here (few rows under) I want to show like this:

NAMELAST SEEN
Jim21/05/2017
David14/03/2017
Jhon16/03/2017
Alice14/07/2017

<tbody>
</tbody>


hope you can help me and thanks!
 

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.
Try this:

Excel 2012
A
B
C
D
E
F
G
1
1/3/2017
2/1/2017
3/14/2017
3/16/2017
5/21/2017
6/11/2017
7/14/2017
2
Jim
David
David
Jhon
Jim
Alice
Alice
3
4
5
NAME
LAST SEEN
6
Jim
5/21/2017
7
David
3/14/2017
8
Jhon
3/16/2017
9
Alice
7/14/2017
10

<tbody>
</tbody>
Sheet2


Worksheet Formulas
Cell
Formula
B6
=LOOKUP(2,1/($A$2:$G$2=A6),$A$1:$G$1)

<tbody>
</tbody>

<tbody>
</tbody>


or

=IFERROR(LOOKUP(2,1/($A$2:$G$2=A6),$A$1:$G$1),"")

if you don't want the error message for no match. Make sure to format column B as Date.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,264
Messages
6,123,960
Members
449,135
Latest member
jcschafer209

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