Index Match for Most Recent Date

helpme20

Board Regular
Joined
Aug 28, 2010
Messages
102
I have a spreadsheet that has 2 columns.

Column A shows Product Name and Customer
Column B shows the date of the last time the customer purchases the product.

I would like Column C to return the last date the customer purchased the product.

I believe this is done using the Index Match function?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
going from your description, i think this is what you're looking for
-------------
Book1
ABC
1product & Customerdate purchasedlast purchase
2a1 bob1/1/20222/1/2022
3a2 bob1/1/20227/1/2022
4a3 bob1/1/20221/1/2022
5a1 joe2/1/20222/1/2022
6a2 joe2/1/20222/1/2022
7a3 joe2/1/20226/1/2022
8a1 bob2/1/20222/1/2022
9b2 joe3/1/20223/1/2022
10b2 bob3/5/20223/5/2022
11a3 joe6/1/20226/1/2022
12a2 bob7/1/20227/1/2022
Sheet1
Cell Formulas
RangeFormula
C2:C12C2=IF(A2="","",MAXIFS(B:B,A:A,A2))
 
Upvote 0
Solution
glad to help. if this worked for you, please consider marking it as a solution for others to find easily as well
 
Upvote 0

Forum statistics

Threads
1,215,038
Messages
6,122,798
Members
449,095
Latest member
m_smith_solihull

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