Search another worksheet to find a value

amxtomzo

Active Member
Joined
Nov 7, 2009
Messages
312
hello and thanks for helping
Id like to put a formula in Cell E4 of worksheet 2 that shows an "X" if it finds what it is looking for,
or stay blank if not found

worksheet 2 cell A4 has a value
Worksheet 1 range c11:c37 may have 1 matching value in that range

if it is found, I would like cell E4 on worksheet 2 to display an "X"

I started with this in cell E4 and think I missed it by a mile

Code:
=IF(COUNTIF(rng,Meriden06450!C11:C37,a4),"X","")

thanks

Thomas
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
AlphaFrog
thank you again
once again you cleaned up my brain fog
very much appreciated, thank you

Thomas
 
Upvote 0

Forum statistics

Threads
1,226,113
Messages
6,189,046
Members
453,522
Latest member
Seeker2025

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