Solved

Question on Excel If statement on coloring cells

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now