Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2014, 10:37 AM
alw alw is offline Color Fomatting Windows 7 64bit Color Fomatting Office 2013
Novice
Color Fomatting
 
Join Date: Mar 2014
Posts: 8
alw is on a distinguished road
Default Color Fomatting

I have column A that has values 1-4 in various cells.
I want for examples:
whatever cells A3 through A30 = "1" then A3,B3,E3,F3 and I3 turn green
Whatever cells A3 through A30 = "2" then A3,B3,E3,F3 and J3 turn blue
Whatever cells A3 through A30 = "3" then A3,B3,E3,F3 and K3 turn gold


Whatever cells A3 through A30 = "4" then A3,B3,G3 and L3 turn orange

color doesn't matter, just need to be different based on numbers 1 through 4 in column A
I am trying to highlight cells that will need input based on number in column A.

(I am really new to this) Just trying to do material take-offs. I can post a file if needed (if I figure out how) I would also like to know how to download posted excel files if needed
Thanks for any input

Al

Last edited by alw; 03-15-2014 at 10:58 AM. Reason: wanted to attach file
Reply With Quote
  #2  
Old 03-15-2014, 01:59 PM
etaf etaf is offline Color Fomatting Windows 7 64bit Color Fomatting Office 2010 32bit
Novice
 
Join Date: Feb 2014
Location: UK, Surrey
Posts: 16
etaf is on a distinguished road
Default

use conditional formatting

setup 4 rules , 1 for each colour

for 2007 or 2010 excel version
Conditional Formatting

Highlight applicable range >>
=$I$3:$I$30,$E$3:$F$30,$A$3:$B$30

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:

=$A3=1

Format… [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK

now repeat for the other values and colours
use the $ so all columns are tested against cell A

see attached sheet conditional format for all 4 colours and numbers
Attached Files
File Type: xlsx colours based on numbers and non contigous cells.xlsx (8.8 KB, 22 views)
Reply With Quote
  #3  
Old 03-15-2014, 02:53 PM
alw alw is offline Color Fomatting Windows 7 64bit Color Fomatting Office 2013
Novice
Color Fomatting
 
Join Date: Mar 2014
Posts: 8
alw is on a distinguished road
Default

Beautiful! Exactly what I was after. Thank you so much Etaf, for quick response and help Now I just need to know how to open attachments on this forum. (I think my computer wont allow me to).
Reply With Quote
  #4  
Old 03-15-2014, 02:55 PM
etaf etaf is offline Color Fomatting Windows 7 64bit Color Fomatting Office 2010 32bit
Novice
 
Join Date: Feb 2014
Location: UK, Surrey
Posts: 16
etaf is on a distinguished road
Default

your welcome,
what happens if you double click on the link?
Reply With Quote
  #5  
Old 03-15-2014, 03:12 PM
alw alw is offline Color Fomatting Windows 7 64bit Color Fomatting Office 2013
Novice
Color Fomatting
 
Join Date: Mar 2014
Posts: 8
alw is on a distinguished road
Default

It downloads as a PHP file and now I think I messed it up by somehow making irfanview want to open I. I tried saving as, opening download
Reply With Quote
  #6  
Old 03-15-2014, 03:16 PM
etaf etaf is offline Color Fomatting Windows 7 64bit Color Fomatting Office 2010 32bit
Novice
 
Join Date: Feb 2014
Location: UK, Surrey
Posts: 16
etaf is on a distinguished road
Default

strange,
what happens if you double click on an excel file on the PC
does that still use excel to open with

however, you have the way to set-up the conditional formatting

I can always try and email you a copy , dont put your email in the forum, send me a Private Message PM - with your email and i can send. But as i'm in UK wont be until tomorrow UK timezone now
Reply With Quote
  #7  
Old 03-15-2014, 03:21 PM
alw alw is offline Color Fomatting Windows 7 64bit Color Fomatting Office 2013
Novice
Color Fomatting
 
Join Date: Mar 2014
Posts: 8
alw is on a distinguished road
Default

That's ok I don't need your file. just trying to sort it out if I ever do. I tried your formatting and it worked like charm though thanks.
Reply With Quote
  #8  
Old 03-15-2014, 03:39 PM
alw alw is offline Color Fomatting Windows 7 64bit Color Fomatting Office 2013
Novice
Color Fomatting
 
Join Date: Mar 2014
Posts: 8
alw is on a distinguished road
Default

Got your file opened. I had the wrong save as option checked thanks
Reply With Quote
  #9  
Old 03-16-2014, 02:36 AM
etaf etaf is offline Color Fomatting Windows 7 64bit Color Fomatting Office 2010 32bit
Novice
 
Join Date: Feb 2014
Location: UK, Surrey
Posts: 16
etaf is on a distinguished road
Default

your welcome
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Color Fomatting I created a custom XML color scheme. How do I add that to the Built-in Color? Cassik PowerPoint 5 11-04-2013 02:08 PM
changing color aerospace Outlook 0 04-03-2013 05:56 AM
Color Fomatting Fill Color curtis.walker@sgmc.org Excel 4 03-15-2013 12:30 PM
Color Fomatting Can't get the same color lostsoul62 Excel 2 06-14-2012 08:32 PM
Color Fomatting Count By Color beb1227 Excel 4 06-15-2011 08:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:16 AM.


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