Excel VLOOKUP with Multiple Critera

Hello,

I have the following data table:

Data Table
I need to lookup the Max iOS value based upon the generation lookup value and the lowest release lookup value and where the description contains the lookup value.

Generation Lookup is already calculated, along with the lowest release date.

Lookup Values
I have attached my Excel file for further help.

I expect I will need an array formula, but am not "expert" enough to work out how to build it.

Any help would be much appreciated! :)
Simplified.xlsx
LVL 1
Terry RogersIT Senior EngineerAsked:
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.

Rgonzo1971Commented:
Hi,

pls try as Array formula
=INDEX(SampleData[Max iOS],MATCH(C4&C5,SampleData[Generation]&SampleData[Released],0))

Open in new window

Regards
0
Ejgil HedegaardCommented:
Add Index to the Match range in Rgonzo's formula, and it can be a regular formula
=INDEX(SampleData[Max iOS],MATCH(C4&C5,INDEX(SampleData[Generation]&SampleData[Released],,),0))

Open in new window

0
Terry RogersIT Senior EngineerAuthor Commented:
Thank you. This doesn't seem to include the "must contain" the lookup value (ipad air).

This is needed because there could be multiple product types released on the same day with the same generation number, but with different max is versions.

How would we add this criteria to the formula?
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Rgonzo1971Commented:
then try
=INDEX(SampleData[Max iOS],MATCH(1,--(IFERROR(SEARCH(C3,SampleData[Description]),0)*(SampleData[Generation])*(SampleData[Released]=C5)>0),0))

Open in new window

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
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
should it be this instead?

Array formula:

=INDEX(SampleData[Max iOS],MATCH(1,--(IFERROR(SEARCH(C3,SampleData[Description]),0)*(SampleData[Generation]=C4)*(SampleData[Released]=C5)>0),0))

?
0
Rgonzo1971Commented:
@ryan You're right
0
Terry RogersIT Senior EngineerAuthor Commented:
Thank you! Working as expected.
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 Excel

From novice to tech pro — start learning today.