Formula for getting the latest date using part of the text as criteria

avk5021

New Member
Joined
Oct 19, 2016
Messages
37
Office Version
  1. 365
Platform
  1. Windows
lets say I have information of workers working on different items, some items are made with multiple workers. And there are start date and end date as shown in the table below.
start dateend dateworkers
1 jan 2110 feb 21A + B
11 feb 2120 feb 21B
11 feb 211 mar 21A + C
2 mar 2115 apr 21C

Here is the result I would like to achieve using a formula.
Workerend date
A1 mar 21
B20 feb 21
C15 apr 21
This is so I can check when each worker will be done with their tasks.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
try this

Book1
ABC
1start dateend dateworkers
201-Jan-2110-Feb-21A + B
311-Feb-2120-Feb-21B
411-Feb-2101-Mar-21A + C
502-Mar-2115-Apr-21C
6
7A01-Mar-21
8B20-Feb-21
9C15-Apr-21
Sheet1
Cell Formulas
RangeFormula
B7:B9B7=MAXIFS($B$2:$B$5,$C$2:$C$5,"*"&A7&"*")
 
Upvote 0
Solution
try this

Book1
ABC
1start dateend dateworkers
201-Jan-2110-Feb-21A + B
311-Feb-2120-Feb-21B
411-Feb-2101-Mar-21A + C
502-Mar-2115-Apr-21C
6
7A01-Mar-21
8B20-Feb-21
9C15-Apr-21
Sheet1
Cell Formulas
RangeFormula
B7:B9B7=MAXIFS($B$2:$B$5,$C$2:$C$5,"*"&A7&"*")
my Excel 2013 doesn't have =MAXIFS function. Is there anyway I can add this function? or other formula that would work on 2013 excel version?
 
Upvote 0
Aggregate.xlsm
ABC
1start dateend dateworkers
21-Jan-2110-Feb-21A + B
311-Feb-2120-Feb-21B
411-Feb-211-Mar-21A + C
52-Mar-2115-Apr-21C
6
7A1-Mar-21
8B20-Feb-21
9C15-Apr-21
10
6a
Cell Formulas
RangeFormula
C7:C9C7=AGGREGATE(14,6,$B$2:$B$5/(SEARCH(A7,$C$2:$C$5)=1),1)
 
Upvote 0
I have switched to Office 365, Now the maxifs function works perfectly. Thanks all for your help!
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

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