conditional formating with IF values

markan667

New Member
Joined
Sep 30, 2011
Messages
8
hey folks i need a formula to achieve next:

in collumn A there are up to 15 different inputs (text) and in collumn B are numbers, i need to format the B collumn values so that the numbers turn red IF a certain text is in that row in collumn A

hope you understand the question...
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
No IF is needed.
Select the whole column B (or range you want to set format to). B1 MUST be the active cell.
Format --> Conditional Foormat.
In the Conditional formatting box:
In the left dropdown choose "Formula is"
Enter the following formula: =A1="certain text"
(the first "equals" sign is also required.)
Select the Font format.
Done.
When A1="certain text", the condition becomes true and format will be applied.
 
Upvote 0
thanks for the answer, that works so far but i need one more rule for collumn B, for example if the text in collumn A is CAR in collumn B the text should go red ONLY if the number is less then 50 if it's 51 it can stay black...
 
Upvote 0

Forum statistics

Threads
1,224,584
Messages
6,179,693
Members
452,938
Latest member
babeneker

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