Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2011, 07:51 PM
Catalin.B Catalin.B is offline Conditional color fill based on presence of data Windows Vista Conditional color fill based on presence of data Office 2007
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default


Just add new rule, select the range A4:C100, open conditional formatting, add new rule, select to use formula, and the formula to format is:
=sum(H4:Q4)<0, and the color to format is obviously, grey
Reply With Quote
  #2  
Old 07-28-2011, 06:39 AM
avanderh avanderh is offline Conditional color fill based on presence of data Windows 7 32bit Conditional color fill based on presence of data Office 2007
Novice
Conditional color fill based on presence of data
 
Join Date: Jul 2011
Posts: 6
avanderh is on a distinguished road
Default

I couldn't get that formula to work so that they would all stay grey if H4:Q4<0, so I turned it around and made it so they would be no-fill if H4:Q4>0. This worked for the most part (I just auto-filled all the cells grey so that they would change to no-fill when data was entered), except for columns H, I and J. When data is entered into column H, only column A changes; when data is entered into column I, only column B changes; for column J, only C changes. Any suggestions on how to make the first formula work or fix the problems with columns H, I and J?
Reply With Quote
  #3  
Old 07-28-2011, 07:12 AM
Catalin.B Catalin.B is offline Conditional color fill based on presence of data Windows Vista Conditional color fill based on presence of data Office 2007
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

in the sample atached, A to C column will turm grey if =SUM($H12:$Q12)<0, this means that these columns will not turn grey if you have, say, 25 in H12, and -20 in Q12, because the sum is positive. If you want A to C to turn grey at any negative value in H12: Q12, you have to say that clearly, dont let me guess. The formula for this case is: =OR(H12<0;I12<0;J12<0;K12<0;L12<0;M12<0;N12<0;O12< 0;P12<0;Q12<0)
Attached Files
File Type: xlsm Copie a sample2-conditional formatting.xlsm (19.7 KB, 18 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I fill the below emty cells with above cell data? Learner7 Excel 8 06-28-2011 12:10 PM
Conditional color fill based on presence of data Conditional data validation (list drop-down) click4akshay Excel 2 04-28-2011 01:51 PM
How can I fill cell color starting from Cell D5 using Conditional formatting instead Learner7 Excel 0 07-08-2010 05:50 AM
Conditional color fill based on presence of data Conditional Expression that Moves Data (challenging) themangoagent Excel 1 02-20-2010 11:29 AM
Conditional color fill based on presence of data Change Automatic Fill Color Leanne PowerPoint 1 11-04-2009 08:34 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft