Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Formula for change background according to data

i have excel 2007
i want to set up a rule or a setting or something so that when a cell gets a
set of numbers it will change the color of the cell to green example

in the cell i want to add 5, 15, 25, 30 etc
and any time a 5 or a 15 or a 25 or a 30 is typed into that cell it will
chance the cell to green.
is there any way of doing this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Formula for change background according to data

assuming cell A2

Go to Format-Conditional Format
Cell formula is:
=OR(A2=5,A2=15,A2=25,A2=30)

Then go to format and set pattern to whatever color you want.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"shallowz" wrote:

i have excel 2007
i want to set up a rule or a setting or something so that when a cell gets a
set of numbers it will change the color of the cell to green example

in the cell i want to add 5, 15, 25, 30 etc
and any time a 5 or a 15 or a 25 or a 30 is typed into that cell it will
chance the cell to green.
is there any way of doing this?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Formula for change background according to data

that worked thank you very much
now i have another question
what if i want to use the same number but i want to place them in multiple
rows
like row 18-24?

"Luke M" wrote:

assuming cell A2

Go to Format-Conditional Format
Cell formula is:
=OR(A2=5,A2=15,A2=25,A2=30)

Then go to format and set pattern to whatever color you want.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"shallowz" wrote:

i have excel 2007
i want to set up a rule or a setting or something so that when a cell gets a
set of numbers it will change the color of the cell to green example

in the cell i want to add 5, 15, 25, 30 etc
and any time a 5 or a 15 or a 25 or a 30 is typed into that cell it will
chance the cell to green.
is there any way of doing this?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Formula for change background according to data

Copy the cell that has the conditional format, select the area/rows you want
the formatting applied. Right-click, special paste, format only.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"shallowz" wrote:

that worked thank you very much
now i have another question
what if i want to use the same number but i want to place them in multiple
rows
like row 18-24?

"Luke M" wrote:

assuming cell A2

Go to Format-Conditional Format
Cell formula is:
=OR(A2=5,A2=15,A2=25,A2=30)

Then go to format and set pattern to whatever color you want.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"shallowz" wrote:

i have excel 2007
i want to set up a rule or a setting or something so that when a cell gets a
set of numbers it will change the color of the cell to green example

in the cell i want to add 5, 15, 25, 30 etc
and any time a 5 or a 15 or a 25 or a 30 is typed into that cell it will
chance the cell to green.
is there any way of doing this?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Formula for change background according to data

PERFECT
thank you

"Luke M" wrote:

Copy the cell that has the conditional format, select the area/rows you want
the formatting applied. Right-click, special paste, format only.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"shallowz" wrote:

that worked thank you very much
now i have another question
what if i want to use the same number but i want to place them in multiple
rows
like row 18-24?

"Luke M" wrote:

assuming cell A2

Go to Format-Conditional Format
Cell formula is:
=OR(A2=5,A2=15,A2=25,A2=30)

Then go to format and set pattern to whatever color you want.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"shallowz" wrote:

i have excel 2007
i want to set up a rule or a setting or something so that when a cell gets a
set of numbers it will change the color of the cell to green example

in the cell i want to add 5, 15, 25, 30 etc
and any time a 5 or a 15 or a 25 or a 30 is typed into that cell it will
chance the cell to green.
is there any way of doing this?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I universally change the background of a data label in grap JanW Charts and Charting in Excel 0 April 5th 07 03:34 PM
Auto change background of color based on formula fredwing Excel Worksheet Functions 3 January 4th 07 12:45 AM
change background row color with change of date in a cell Urszula Excel Discussion (Misc queries) 5 May 17th 06 07:56 AM
Change font and background color of several cells based on result of a formula Zenaida Excel Discussion (Misc queries) 2 April 27th 06 06:46 PM
Change of text or background color doesn't change on the screen. Susan Excel Discussion (Misc queries) 5 July 29th 05 07:18 PM


All times are GMT +1. The time now is 04:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"