Comparison Help

redsunrising15

New Member
Joined
Jan 5, 2018
Messages
4
Hey all,

I am trying to use the following logic:

Read text from Sheet2 B1.
If the text is identical to anything from Sheet 3 A1:A16, skip next step:
( Read text from Sheet2 A1.
If Sheet2 A1 matches anything in Sheet1 A1:A500, skip next step:
{Print: Sheet2 A1 is not present!}
)
And repeat for all of Sheet 2 values of B and A.

Thanks in advance for your help!
 

Some videos you may like

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

sgroath

New Member
Joined
Apr 8, 2014
Messages
31
try this in cell C1 of Sheet2:
=IFERROR(IF(MATCH(Sheet2!B1,Sheet3!A$1:A$16,0)>0,""),IFERROR(IF(MATCH(Sheet2!A1,Sheet1!A$1:A$500,0)>0,""),"Sheet2 A"&ROW()&" is not present!"))

copy down to remaining cells in column C
 

Watch MrExcel Video

Forum statistics

Threads
1,123,122
Messages
5,599,826
Members
414,341
Latest member
Mohammedsobhey

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
Top