How to display an "X" in a cell if A:A on sheet one is equal to A:A on sheet 2

Harrywatson

Board Regular
Joined
Jan 20, 2014
Messages
92
For example if the number 412 appears on sheet 2 somewhere in column A and 412 is also somewhere in column A on sheet one. How do I make a big bold X to appear in sheet one in the column J in the same row as the number 412? Help would be appreciated, I am struggling on excel!:confused:Thanks a lot

Example: 412 is in A43 in sheet one... 412 has now appeared in sheet two at A23. I would now like an X to be displayed in Sheet one J43. Many Thanks
 

Some videos you may like

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

timfritsch

Active Member
Joined
Jun 10, 2004
Messages
343
For sheet 1, cell J1, try:

=IF(ISERROR(MATCH(A1,Sheet2!A:A,0)>0),"","X")

Hope this helps.


Tim
 

Watch MrExcel Video

Forum statistics

Threads
1,123,259
Messages
5,600,575
Members
414,390
Latest member
plimbu

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