Solved

Question on Excel If statement on coloring cells

Posted on 2014-10-26
4
190 Views
Last Modified: 2014-10-27
I have a Formula =(B2*703)/(O2*O2) this is in G2 cell
B2 = 247 this will go up and down in cells B2 thru B100
O2 = 67 This stays the same times it self
703 is Always
= 38 rounded down
What I want to do is change different colors of the  G cell if the total is
30 or higher would be Red.
25 to 29.9 would be Orange
18.5 to 24.9 would be Green
Less than 18.5 would be Red
0
Comment
Question by:starview
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 15

Expert Comment

by:Haris Djulic
ID: 40405634
You can apply conditional formatting to do the work...

I attached the excel with created conditional formation you can use Format painter to transfer the conditional formatting or  you can use the screenshots to recreate it for yourself..
Capture1.PNG
Capture.PNG
Book1.xlsx
0
 

Author Comment

by:starview
ID: 40405699
I am not sure what you are trying to show here, Book1.xlsx where are you getting the color changes, I am not sure what format painter is,
Isn't there a way to use a if statement to change the number to didn't colors and not the complete cell?
0
 
LVL 15

Accepted Solution

by:
Haris Djulic earned 500 total points
ID: 40405707
To change the conditions and color of conditional formatting do following

1

Select the column where you want to setup conditional formatting

2

Under the conditional formatting select manage rules which will get you the current set of rules applied to that column

3

Select rule which you want to edit and click Edit rule button (see Capture3)

4

On the new window you change the color/font/size  under the format button (see Capture4)
Using IF statement to change the colors is unnecessary since there is the conditional formatting...

Maybe more detail instructions can be found here : http://www.techonthenet.com/excel/questions/cond_format1_2010.php
Capture3.PNG
Capture4.PNG
0
 

Author Closing Comment

by:starview
ID: 40407588
Thank you
0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question