Solved

Question on Excel If statement on coloring cells

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

688 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