How do I find the last date on which a certain value occurred?

ibruzzi

New Member
Joined
Jun 25, 2021
Messages
26
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Hello everyone

I would like to find the last date on which a certain value occurred. There are a bunch of people and assigned to them are letters which change as the month progress. I would like to be able to see for an example; when was the last time the letter "W" occur for Floyd Martineau and when did the letter "M" or "A" occur for him. I've tried to find a solution on the internet, but to no avail. The numbers on the 2nd row are formatted as dates. Thank you in advance for any help and here's the sheet I was working on.

Date:07/10/2021frisatsunmontuewedthufrisatsunmontuewedthufrisatsunmontuewedthufrisatsunmontuewedthufrisatsun
S #NAME01020304050607080910111213141516171819202122232425262728293031
S-001Clark StubblefieldAAAMMMMMW
S-002Royal HecklerAAAMMMMMW
S-003Trent GattoMMMAAAAAW
S-004Mohammed LadwigMMMAAAAAP
S-005Santo BankstonMMMPPPPPP
S-006Wally EchevarriaBBBBBBBBA
S-007Alfonso CampuzanoWWWWWWWWA
S-008Theron VassarPPPPPPPPA
S-009Floyd MartineauMMMWWWWWA
S-010Rubin SparanoAAAWWWWWW
last "M" dateLast "W" datelast "P" datelast "A" date
Clark Stubblefield
Royal Heckler
Trent Gatto
Mohammed Ladwig
Santo Bankston
Wally Echevarria
Alfonso Campuzano
Theron Vassar
Floyd Martineau
Rubin Sparano
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hee,

See if this helps. Does not contain all data elements you've mentioned but as the structure is similar for all other requested elements, you should get the picture else let me know.

Book1
ABCDEFGHIJKLMNOAFAGAHAIAJAKALAM
1date7-10-2021AMW
2010203040506070809101112133031S-0013-10-20218-10-20219-10-2021
3S-001aaammmmmwS-0023-10-20218-10-20219-10-2021
4S-002aaammmmmwS-0038-10-20213-10-20219-10-2021
5S-003mmmaaaaaw
Sheet1
Cell Formulas
RangeFormula
AK2:AM4AK2=MAXIFS($C$2:$AG$2,$C3:$AG3,AK$1)
 
Upvote 0
Solution
Hee,

See if this helps. Does not contain all data elements you've mentioned but as the structure is similar for all other requested elements, you should get the picture else let me know.

Book1
ABCDEFGHIJKLMNOAFAGAHAIAJAKALAM
1date7-10-2021AMW
2010203040506070809101112133031S-0013-10-20218-10-20219-10-2021
3S-001aaammmmmwS-0023-10-20218-10-20219-10-2021
4S-002aaammmmmwS-0038-10-20213-10-20219-10-2021
5S-003mmmaaaaaw
Sheet1
Cell Formulas
RangeFormula
AK2:AM4AK2=MAXIFS($C$2:$AG$2,$C3:$AG3,AK$1)
Thank you for the reply. I probably should've mentioned this, but I'm using a 2013 excel version at work and this formula doesn't seem to work because excel doesn't recognize the formula. ?
 
Upvote 0
I'm using a 2013 excel version at work
In that case you might want to update your profile to show 2013 rather than 365. ;)
How about
Excel Formula:
=MAX(IF($C3:$AG3=AK$1,$C$2:$AG$2,""))
this will need to be confirmed with Ctrl Shift Enter, rather than just Enter.
 
Upvote 0
In that case you might want to update your profile to show 2013 rather than 365. ;)
How about
Excel Formula:
=MAX(IF($C3:$AG3=AK$1,$C$2:$AG$2,""))
this will need to be confirmed with Ctrl Shift Enter, rather than just Enter.
Agreed and updated. :LOL: I do use 365 on my pc and I even make up formulas not realizing I have an old *** pc at work ? That did work, so thank you very much. Much appreciated.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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