How can I search inside a range by using the Conditional Formatting to search a value by using the cell's letter and number instead of a value?

arthurz11

Board Regular
Joined
Nov 9, 2007
Messages
169
Office Version
  1. 2021
Platform
  1. Windows
For example: Range is A1:B2.
Cell A1 is 1
Cell A2 is 2
Cell B1 is 3
Cell B2 is 4

Cell A5 is 1

After highlighting range A1:B2. Select Conditional Formatting and use the formula =SEARCH( A5,1,0)) and format the color cell A1 yellow? That way it will search any cell within the range that contains the value 1 and highlighted yellow. Even if more than one cell contains the value of one.
I did not use the IF statement because the value of Cell A5 will always change
 
OK, I missed that my answer did solve your first question, and now you are actually asking a new, different question.
I posted a new one you got the answer correctly. Thank you so much for your time.
 
Upvote 0

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,224,744
Messages
6,180,697
Members
452,994
Latest member
Janick

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