Solved

Question on Excel If statement on coloring cells

Posted on 2014-10-26
4
189 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
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

792 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