Finding max date value in column B with repeated values in column A

saltoftheearth

New Member
Joined
Feb 29, 2020
Messages
6
Office Version
  1. 365
  2. 2019
Platform
  1. MacOS
Hello!

Similar to the topic of this thread. I have two columns.

  • Column A has a series of IDs and column B has a series of dates
  • Column A can have repeated values
  • There are two tabs
    • Data tab has the IDs and dates
    • lookup tab has the IDs
      • I could use some help in creating a formula that looks up the IDs in column A on lookup tab and returns the max date from data tab associated to the ID in column A on lookup sheet
  • I have attached two images with the tabs (not sure how

Please let me know what else I can provide. Sorry if this question has been asked too many times to count already :oops:

Sample data seet.xlsx
AB
1IDsDates
212/20/24
312/20/24
413/20/25
521/11/22
622/10/24
735/15/21
845/15/22
945/15/23
1021/10/24
1122/10/24
1213/26/26
Data Set


Sample data seet.xlsx
AB
1IDsMax Date
21
31
42
52
63
74
84
92
102
111
121
131
142
152
163
174
184
192
202
211
221
231
242
252
263
274
284
292
302
311
Lookup datees
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Perhaps this?

Book1
AB
1IDsDates
212/20/2024
312/20/2024
413/20/2025
521/11/2022
6210/2/2024
735/15/2021
845/15/2022
945/15/2023
1021/10/2024
11210/2/2024
1213/26/2026
Data Set


Cell Formulas
RangeFormula
B2:B31B2=MAXIFS('Data Set'!$B$2:$B$12,'Data Set'!$A$2:$A$12,A2)
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,917
Members
449,093
Latest member
dbomb1414

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