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
153
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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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