"If" Formula Question

scottiedawg4

New Member
Joined
Jul 25, 2011
Messages
49
For an "if" function, can I have the outcomes change formatting in an adjacent cell? For example, if I have text in A1:D1, and 1's OR 2's in A2:D2, can I have the formatting in column 1 change based off of what's in column 2? Thanks!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Yes, in Conditional Formatting.

Select Column 1. (I'm assuming this to be column A in this example)

Conditional Formatting formula:

=$B1=1

and

second Conditional Formatting Formula:

=$B1=2

Format as desired.
 
Upvote 0
Would that just look for "=$B1=1" in Column A? I imagine I'm just missing something obvious.

FYI, I put in that formula: Specific Text, Containing, =$B1=1, for the range =$A:$A, and formatted how I wanted. Nothing changed.

Thoughts?
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,476
Members
452,915
Latest member
hannnahheileen

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