Simple question, thanks in advance

smittycft99

Board Regular
Joined
Apr 16, 2002
Messages
128
How do I;

If the value in A1<8 then A2 cell is red, otherwise A2 is green.

Thanks a million
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Using Conditional formatting

Formula is =countif(a1,"<8")Pattern red
Cell value is greater than 8 Pattern green

However, with the above the cell will either be red or green all the time.
 
Upvote 0
for the formula use the "cell value is" in the drop down . To choose colors select the format button in the conditional format window then the font tab and color drop down.
For background color choose the pattern tab.
 
Upvote 0
On 2002-05-09 11:40, smittycft99 wrote:
How do I;

If the value in A1<8 then A2 cell is red, otherwise A2 is green.

Thanks a million

Hi smittycft99 and Brian:

The CONDITIONAL format should be ...
condition 1 ... formula is =A1<8 ... Pttern -- color 'red'
condition 2 ... formula is =A1>=8 ... Pattern -- color 'green

by the way Brian -- for the conditional formatting here we are not counting any thing so no need for COUNT...

Hope This Helps!
 
Upvote 0

Forum statistics

Threads
1,214,414
Messages
6,119,373
Members
448,888
Latest member
Arle8907

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