Conditional Formatting in XL 2007

doug firr

Board Regular
Joined
Mar 28, 2011
Messages
140
Hello

I have a table and each cell in the table has a reasonably long formula in it. The formula returns either a numeric value or a text value "False".

1) I cannot figure out how to apply conditional formatting so that a numeric value is green and a "false" text value, is red.

2) So as to prevent making the formula look too long I'd like to try to avoid using an "if" statement if possible int he conditional formating.

Any ideas anyone?
 

Some videos you may like

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

sawgee2001

New Member
Joined
Nov 26, 2002
Messages
24
You can try this, but it won't work if you have negative numbers.

Create the first condition: Cell Value Is - greater than or equal to - "a". Select the format you want to use if text were to appear.

Add the second condition: Cell Value Is - greater than or equal to 0. Select the format you want to use if numbers were to appear.

Hope that works for you.
 

doug firr

Board Regular
Joined
Mar 28, 2011
Messages
140
That works fine, there should be no negative figures at any point.

Thanks a lot
 

Watch MrExcel Video

Forum statistics

Threads
1,123,399
Messages
5,601,459
Members
414,451
Latest member
jrose7

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
Top