Latest Date based on criteria in Ecel

Wanted to get latest date from column C that is not 100% from column B based on column A criteria.  See highlighted yellow, green and brown on attachment.
C--Users-lfreund-Desktop-LATEST-DAT.xlsx
LUIS FREUNDAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
try array formula like:

=MAX(IF(A2:A100=G4,C2:C100))

Open in new window


check this further:

Max if criteria match
https://exceljet.net/formula/max-if-criteria-match
C--Users-lfreund-Desktop-LATEST-DAT.xlsx
0
Rob HensonFinance AnalystCommented:
For puling out a single value for a set of criteria you can use the DMAX function. Syntax:

=DMAX(Database, Field, Criteria)

Database - your data in columns A to C, including headers
Field - date field, just refer to cell containing header
Criteria - for this you need to set up a small additional table.

So for your data:
=DMAX($A$1:$C$86,C1,$I$1:$J$2)

In I1:J2 I have created the following:
ASSY_NO      PERCENT
900-62350      <1
0
Ejgil HedegaardCommented:
With a normal formula.
Assy no in G2 then latest date < 100 % in H2.
=MAX(INDEX(($A$2:$A$86=G2)*($B$2:$B$86<1)*$C$2:$C$86,,))
See sheet
C--Users-lfreund-Desktop-LATEST-DAT.xlsm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LUIS FREUNDAuthor Commented:
AWESOME!  Thank you guys for the help!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.