Conditional formatting with text

justindaubar

New Member
Joined
Nov 16, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
This is what I want to do:
Test a cell (e.g., A69) to be between -0.5 and +0.5.
If TRUE, then "format" a different cell (e.g., B86) with the text "No Change" with a light green fill and also a light green fill in another cell (e.g., C43).
If FALSE, then format the original cell (A69) with it's calculated value and a red fill.

When that is all working, I want to "copy" those formatting rules to other cells on the same worksheet.
Please help.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
You have to do more than one thing to get all this to happen.

Put this formula in B86:
=IF(ABS(A69)<=0.5,"No Change","Something else")

Select B86 and C43 at the same time and add this conditional formatting rule:
=ABS($A$69)<=0.5
Set format to light green fill

Select A69 and add this conditional formatting rule:
=ABS(A69)>0.5
Set format to red fill

If you want to be able to copy this formatting to other cells you will have to be much more specific about the relationships among the cells in terms of their positions on the sheet. They are all in different rows and different columns. How do you determine which cell B86 needs to look at to assess its value?
 
Upvote 0

Forum statistics

Threads
1,214,540
Messages
6,120,107
Members
448,945
Latest member
Vmanchoppy

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