Match vertical then find match horizontally

bgrove

Board Regular
Joined
Dec 2, 2013
Messages
60
Hi,

Need additional brain power on this one.

I'm trying to use conditional formatting formulas to find the Sales Name AND match to the Sales Acct. IF the name cannot be found the row highlights red. If the Name is found but the account cannot the row highlights red.

I've tried his formula and it does not work
=and(VLOOKUP(f2,'ADM'!$D$2:$D$102,1,0)=f2,VLOOKUP(g2,'ADM'!$E$2:$E$102,1,FALSE)=g2)

I've tried this formula and it does not work:

=and(match(f2,l2:l12,0),match(g2,m2,m12,0))


Here is my data:

Sales Name Sales Acct ____________ Master Sales Name ___ Master Acct
John Doe---------64540 _____________ Cindy Lu----------------------1015
John Doe---------10039818___________ John Doe----------------------1039818
Jane Doe---------10140184___________ John Doe----------------------64540
Jane Doe---------64554 _____________ Jane Doe-----------------------10140184
Cindy Lu----------1015 ______________ Jane Doe-----------------------64554

I would love some suggestions or additional brain power on this one.

Thank you,

Bev
 
Last edited:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,224,825
Messages
6,181,190
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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