Excel Formula use to find earliest date

Copper Contributor

I want to find the earliest date from the category (Pull Requisition, Push Requisition, Push Requisition-M and Pull Requisition-M) from sheet 2. If use MINIFS(Sheet 2!Category,Sheet 2!Material,Sheet1!A2,"Pull Requisition"), only will return the earliest date of Pull Requisition, but how can return the earliest date from few Requisition category? Any expert can help or advice what the best formula can do. Thank you so much

 

Sheet 1

 
MaterialNext Requisition date
VL7623001 
TA447915 
HP8798005 
PS14437 

 

Sheet 2  
Material CodeDelivery DateCategory
VL762300117-06-21Pull Requisition
VL762300103-08-21Pull Requisition
HP879800506-09-21Push Requisition
HP879800510-10-21Push Requisition
TA44791530-07-21Push Requisition-M
TA44791501-09-21Push Requisition
PS1443701-07-21Pull Requisition-M
PS1443723-08-21Push Requisition
PS1443730-06-21PO memo

 

5 Replies

@MeiChan1314 

That is something like

=MIN(MINIFS(minRange,criteriaRange,{"Cat1","Cat2"}))

@Sergei Baklan The formula return error or showing too many argument. hmm..not sure where goes wrong. I have screenshot for example and attached the file here.

Basically I want to get the earliest delivery date from category Pull, Push , Push-M that match with the same material code. Would you be able to write the formula in complete again to let me better understand. Appreciated in advance!

MINIFS.PNG

 

 

@MeiChan1314 

in B2

=MINIFS(H$2:H$10, G$2:G$10,A2, I$2:I$10,"<>po memo")
seem like exclude POmemo, How about if the category do include In-transit, QM lot...so what will be the best formula to exclude those?

@MeiChan1314 

If you are on 365 you may FILTER() dates first and MIN() result.