Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Changing cell colors from a function command

I am trying to change a cell color to either red, yellow or green if the data
in the cell is greater than lets say 90 it would turn red. Less than 90 but
greater than 80 yellow and less than 80 turn to red. Without using
conditional formatting.
Unless there is a way to conditional format the cell and have the
conditional formatting move with the sorting of high to low.
I can do the conditional formatting just fine but when I sort the
conditional formatting stays with the cell it doesn't move with the sorting.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Changing cell colors from a function command

Your best bet is conditional formatting. It should stay with the cell even
after a sort.

Post the conditional formatting you are using, and how you are doing the
sort, and what you want to happen differently. Someone will be able to show
you a solution.

Regards,
Fred

"Joebeone" wrote in message
...
I am trying to change a cell color to either red, yellow or green if the
data
in the cell is greater than lets say 90 it would turn red. Less than 90
but
greater than 80 yellow and less than 80 turn to red. Without using
conditional formatting.
Unless there is a way to conditional format the cell and have the
conditional formatting move with the sorting of high to low.
I can do the conditional formatting just fine but when I sort the
conditional formatting stays with the cell it doesn't move with the
sorting.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Changing cell colors from a function command

I highlighted the cell and setup the conditional formatting but it will not
follow the sorting. If I set the conditional formating on cell D4 with if 80
it will turn red when I sort high to low the conditional formatting stays
with cell D4 and if the number in D4 is 80 it turns red. I want it to follow
what ever number was in cell D4. Once the number moved to cell D15 there is
no conditional formatting on D15 it stayed at D4. If I just turn that cell to
red it then follws the data that was on D4 and moves to D15 and D15 is now
red.

"Fred Smith" wrote:

Your best bet is conditional formatting. It should stay with the cell even
after a sort.

Post the conditional formatting you are using, and how you are doing the
sort, and what you want to happen differently. Someone will be able to show
you a solution.

Regards,
Fred

"Joebeone" wrote in message
...
I am trying to change a cell color to either red, yellow or green if the
data
in the cell is greater than lets say 90 it would turn red. Less than 90
but
greater than 80 yellow and less than 80 turn to red. Without using
conditional formatting.
Unless there is a way to conditional format the cell and have the
conditional formatting move with the sorting of high to low.
I can do the conditional formatting just fine but when I sort the
conditional formatting stays with the cell it doesn't move with the
sorting.


.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Changing cell colors from a function command

You have completely lost me. Why don't you give an example of your before
and after data. Also identify which version of Excel you are using, and the
actual conditional format formula. I'm sure there's a solution to what you
want, but we need a clear explanation.

Regards,
Fred

"Joebeone" wrote in message
...
I highlighted the cell and setup the conditional formatting but it will not
follow the sorting. If I set the conditional formating on cell D4 with if
80

it will turn red when I sort high to low the conditional formatting stays
with cell D4 and if the number in D4 is 80 it turns red. I want it to
follow
what ever number was in cell D4. Once the number moved to cell D15 there
is
no conditional formatting on D15 it stayed at D4. If I just turn that cell
to
red it then follws the data that was on D4 and moves to D15 and D15 is now
red.

"Fred Smith" wrote:

Your best bet is conditional formatting. It should stay with the cell
even
after a sort.

Post the conditional formatting you are using, and how you are doing the
sort, and what you want to happen differently. Someone will be able to
show
you a solution.

Regards,
Fred

"Joebeone" wrote in message
...
I am trying to change a cell color to either red, yellow or green if the
data
in the cell is greater than lets say 90 it would turn red. Less than 90
but
greater than 80 yellow and less than 80 turn to red. Without using
conditional formatting.
Unless there is a way to conditional format the cell and have the
conditional formatting move with the sorting of high to low.
I can do the conditional formatting just fine but when I sort the
conditional formatting stays with the cell it doesn't move with the
sorting.


.


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
Changing cell colors Joebeone Excel Discussion (Misc queries) 1 February 11th 10 07:17 PM
changing cell background colors with formulas postal vet Excel Worksheet Functions 5 October 30th 08 07:07 AM
Cell colors or text color changing when date in cell gets closer. Chase Excel Worksheet Functions 5 October 19th 06 08:57 AM
Changing cell colors to correspond to different dates emtp6738 Excel Worksheet Functions 2 September 26th 06 02:40 AM
changing cell colors with formula sflcowboy78 Excel Worksheet Functions 2 October 2nd 05 01:19 AM


All times are GMT +1. The time now is 11:26 PM.

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

About Us

"It's about Microsoft Excel"