Compare Columns in sheets and report values

Shinho62

New Member
Joined
Mar 16, 2011
Messages
26
I am hoping someone can guide me in the right Direction, I have got the basics of Vlookup, but want to take it a stage further

I have two sheets with identical entries in columns a - c

A= Organization Name
B = User Name
C = User Email

[TABLE="width: 500"]
<tbody>[TR]
[TD]Organization Name[/TD]
[TD]User Name[/TD]
[TD]UserEmail[/TD]
[TD]HPCertification[/TD]
[/TR]
[TR]
[TD]Blue Label[/TD]
[TD]Joe Bloggs[/TD]
[TD]joeB@BlueLabel.org[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Red Wolf[/TD]
[TD]Dan Smith[/TD]
[TD]DanS@Redwold.org[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


However the 2nd sheet has a column D with Certificate details, a standard Vlookup would work except sheet two has multiple entries for columns B&C
I want it to check the names for a match then find a specific value in D lets say "HPCert" and then put a complete to sheet 1 column D for HPCert

[TABLE="width: 500"]
<tbody>[TR]
[TD]Organization Name<strike></strike>[/TD]
[TD]User Name<strike></strike>[/TD]
[TD]UserEmail<strike></strike>[/TD]
[TD]Certification<strike></strike>[/TD]
[/TR]
[TR]
[TD]Blue Label<strike></strike>[/TD]
[TD]Joe Bloggs<strike></strike>[/TD]
[TD]joeB@BlueLabel.org<strike></strike>[/TD]
[TD]HPCert[/TD]
[/TR]
[TR]
[TD]Blue Label<strike></strike>[/TD]
[TD]Joe Bloggs<strike></strike>[/TD]
[TD]joeB@BlueLabel.org<strike></strike>[/TD]
[TD]DellCert[/TD]
[/TR]
[TR]
[TD]Blue Label<strike></strike>[/TD]
[TD]Joe Bloggs<strike></strike>[/TD]
[TD]joeB@BlueLabel.org<strike></strike>[/TD]
[TD]AppleCert[/TD]
[/TR]
[TR]
[TD]Red Wolf<strike></strike>[/TD]
[TD]Dan Smith<strike></strike>[/TD]
[TD]DanS@Redwold.org<strike></strike>[/TD]
[TD]HPCert[/TD]
[/TR]
[TR]
[TD]Red Wolf<strike></strike>[/TD]
[TD]Dan Smith<strike></strike>[/TD]
[TD]DanS@Redwold.org<strike></strike>[/TD]
[TD]DellCert[/TD]
[/TR]
[TR]
[TD]Red Wolf<strike></strike>[/TD]
[TD]Dan Smith<strike></strike>[/TD]
[TD]DanS@Redwold.org<strike></strike>[/TD]
[TD]AppleCert[/TD]
[/TR]
[TR]
[TD]Red Wolf<strike></strike>[/TD]
[TD]Dan Smith<strike></strike>[/TD]
[TD]DanS@Redwold.org<strike></strike>[/TD]
[TD]CiscoCert[/TD]
[/TR]
[TR]
[TD]Red Wolf<strike></strike>[/TD]
[TD]Dan Smith<strike></strike>[/TD]
[TD]DanS@Redwold.org<strike></strike>[/TD]
[TD]AndroidCert[/TD]
[/TR]
</tbody>[/TABLE]

Can anyone advise, driving me mad
 
Last edited:

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi,

Does this help:


Book1
ABCD
1Organization NameUser NameUserEmailHPCertification
2Blue LabelJoe BloggsjoeB@BlueLabel.orgComplete
3Red WolfDan SmithDanS@Redwold.orgComplete
4Brown BearJohn DoeJohnD@Bear.orgNot Complete
5
6Organization NameUser NameUserEmailCertification
7Blue LabelJoe BloggsjoeB@BlueLabel.orgHPCert
8Blue LabelJoe BloggsjoeB@BlueLabel.orgDellCert
9Blue LabelJoe BloggsjoeB@BlueLabel.orgAppleCert
10Red WolfDan SmithDanS@Redwold.orgHPCert
11Red WolfDan SmithDanS@Redwold.orgDellCert
12Red WolfDan SmithDanS@Redwold.orgAppleCert
13Red WolfDan SmithDanS@Redwold.orgCiscoCert
14Red WolfDan SmithDanS@Redwold.orgAndroidCert
15Brown BearJohn DoeJohnD@Bear.orgCiscoCert
16Brown BearJohn DoeJohnD@Bear.orgDellCert
Sheet200
Cell Formulas
RangeFormula
D2=IF(SUMPRODUCT((A$7:A$16=A2)*(B$7:B$16=B2)*(C$7:C$16=C2)*(D$7:D$16="HPCert")),"Complete","Not Complete")


Change cell references/range and add sheet name to formula as needed.

Formula copied down.
 
Upvote 0
You're welcome, thanks for the feedback.

If you might change what you want to lookup (i.e. DellCert instead of HPCert or whatever else), instead of "hard-coding" the HPCert in the formula, use a cell to house the lookup criteria, then use a cell reference in the formula.
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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