two dimensional lookups (vlookup&hlookup)


See my sample excel sheet

I have data in sheet 1 showing my systems and the relevant activities over a calendar day

My question is , if I have more than 1 activities in one day per system this should be flagged as a conflict in sheet 2

so essentially I have 2 criterias that need to match i.e. system and date but it should only display the value if there are multiple activities

multiple activities are denoted by a  comma separator  i.e  test,bounce (test is 1 activity and bounce is another)

kindly help build such a conflict report
Who is Participating?

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

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.

[ fanpages ]IT Services ConsultantCommented:

I placed the following formula within cell [B2] of the [Conflicts] worksheet:


I then copied this cell to the clipboard & pasted (special, formulas only) it to the range [B2:E9] (so the formatting of the destination cells was retained).

The results (as seen within the attached workbook, "Q_28698292.xlsx") match the values of the same range you had previously stated within the [Conflicts] worksheet of "conflict.xlsx" (attached above).

PS. You have spelled "bounce" as "bouce" throughout the workbook.

Also, the [Conflicts] worksheet covers the date range "19-Jul-15" to "26-Jul-15", but the [Activities] worksheet covers the period "18-Jul-15" to "25-Jul-15".

The formula (above) caters for this.  It will also support additional dates, &/or additional environment criteria (beyond "Dev", "Test", "Prod", & "DR").

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
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
With Index/Match and Search formula, it can be achieved like this......

Try this.....

On Conflicts Sheet,
In B2


and copy across and down and you will get what you are looking for.
rutgermonsAuthor Commented:
both solutions are correct, fanpages did respond first, hence the points allocation

will follow up with a new request for this, i think this will work better with a macro and need this built into a macro
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.