×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# Excel chart color fill question

## Excel chart color fill question

(OP)
I have a chart which contains the mean temperature over a winter period so I can determin the start and end of cold weather concrete/masonry operations.  I would like to color fill under the 40 degree f line any where the ACI rules state that cold weather conditions exist.  {3 consecutive days where the mean temp ((high+low) / 2)<= 40 degrees f going in and >= 40 going out.}  is there a way to do that?

### RE: Excel chart color fill question

if your wanting two different colors in same series, i think not, unless the data points are of a certain color and the lines/bars/etc. are another color.

a possible solution...

try this,
you will need to create another series, based on the criteria you explained (using same x-axis values), but limit the cell's value to specified value.  use the conditional formatting technique and color the text if criteria is met (or not met).  plot this new series in the same chart and format.

while this will create another series, you may find another solution to your situation.  i do not know what results will be like, but an idea to get you started.  meanwhile, i may experiment myself.
-pmover

### RE: Excel chart color fill question

I agree with pmover that you'll probably need to add a series to calulate whether you've had 3 consecutive days that meet the criteria.  Howeverr, once that is done, you can use conditional formating to automatically color the appropriate cells that meet the criteria you define.  Just go to "Format-Conditional Formatting" and define your criteria.  With a little creativity, you can probably develop a formula within the format criteria and avoid the seperate series.  Good Luck.

### RE: Excel chart color fill question

This may not be much help but I wanted to do something similar a few years ago.  I ended up writing a sub that creates a simple colored object.  You can't control the scale of drawing objects with your mouse but you can from subs because they draw with X-Y coordinates. When I did it, I couldn't add the object to a chart so I started with a text box and added my object over it.  The top of the object is the scaled line chart.  The other 2 corners match the lower corners of the text box.  Add as many pieces as you want.

Maybe Mr. Gates has opened charts to direct manipulation in the current version so that you can create a chart with fill in one operation but remember that drawing objects are static and not linked to data.

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

#### Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a partâ€™s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!