A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Changing cell colors from a function command



 
 
Thread Tools Display Modes
  #1  
Old February 11th, 2010, 04:44 PM posted to microsoft.public.excel.worksheet.functions
Joebeone
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  
Old February 12th, 2010, 12:21 AM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
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  
Old February 12th, 2010, 08:42 PM posted to microsoft.public.excel.worksheet.functions
Joebeone
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  
Old February 13th, 2010, 01:11 AM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
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.


.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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