Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Format cell based on a range of other cells

I have been beating my brains out with this. I can't imagine this is too
hard, but I just cant make this work.

I have created a list of 100 items from S1 to S100 and named it "junk".
Cell F7 has a pull down list (DataVerificationListSource=junk) of these
items. I need to format F7 based on what item is selected. Items from
S1-S25 need to be red, S26-S50 blue, S51-S76 yellow, and S76-S100 no
formating.

Can anyone help me with this? Much thanks in advance.

Chris
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Format cell based on a range of other cells

Try this:

Conditional Formatting

Condition 1 <RED
Formula Is:
=MATCH(F7,junk,0)<=25

Condition 2 <BLUE
Formula Is:
=AND(MATCH(F7,junk,0)=26,MATCH(F7,junk,0)<=50)

Condition 3 <YELLOW
Formula Is:
=AND(MATCH(F7,junk,0)=51,MATCH(F7,junk,0)<=76)

Biff

"Strike Eagle Loader" wrote in
message ...
I have been beating my brains out with this. I can't imagine this is too
hard, but I just cant make this work.

I have created a list of 100 items from S1 to S100 and named it "junk".
Cell F7 has a pull down list (DataVerificationListSource=junk) of these
items. I need to format F7 based on what item is selected. Items from
S1-S25 need to be red, S26-S50 blue, S51-S76 yellow, and S76-S100 no
formating.

Can anyone help me with this? Much thanks in advance.

Chris



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Format cell based on a range of other cells

Man, that works perfect. Thanks a million.

Beers,

Chris

"T. Valko" wrote:

Try this:

Conditional Formatting

Condition 1 <RED
Formula Is:
=MATCH(F7,junk,0)<=25

Condition 2 <BLUE
Formula Is:
=AND(MATCH(F7,junk,0)=26,MATCH(F7,junk,0)<=50)

Condition 3 <YELLOW
Formula Is:
=AND(MATCH(F7,junk,0)=51,MATCH(F7,junk,0)<=76)

Biff

"Strike Eagle Loader" wrote in
message ...
I have been beating my brains out with this. I can't imagine this is too
hard, but I just cant make this work.

I have created a list of 100 items from S1 to S100 and named it "junk".
Cell F7 has a pull down list (DataVerificationListSource=junk) of these
items. I need to format F7 based on what item is selected. Items from
S1-S25 need to be red, S26-S50 blue, S51-S76 yellow, and S76-S100 no
formating.

Can anyone help me with this? Much thanks in advance.

Chris




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Format cell based on a range of other cells

You're welcome. Thanks for the feedback!

Biff

"Strike Eagle Loader" wrote in
message ...
Man, that works perfect. Thanks a million.

Beers,

Chris

"T. Valko" wrote:

Try this:

Conditional Formatting

Condition 1 <RED
Formula Is:
=MATCH(F7,junk,0)<=25

Condition 2 <BLUE
Formula Is:
=AND(MATCH(F7,junk,0)=26,MATCH(F7,junk,0)<=50)

Condition 3 <YELLOW
Formula Is:
=AND(MATCH(F7,junk,0)=51,MATCH(F7,junk,0)<=76)

Biff

"Strike Eagle Loader" wrote
in
message ...
I have been beating my brains out with this. I can't imagine this is
too
hard, but I just cant make this work.

I have created a list of 100 items from S1 to S100 and named it "junk".
Cell F7 has a pull down list (DataVerificationListSource=junk) of
these
items. I need to format F7 based on what item is selected. Items from
S1-S25 need to be red, S26-S50 blue, S51-S76 yellow, and S76-S100 no
formating.

Can anyone help me with this? Much thanks in advance.

Chris






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
Conditional format a cell based on another range of cells ked Excel Worksheet Functions 4 January 9th 07 06:44 PM
Formatting the color of a range of cells based on the value of one cell [email protected] Excel Worksheet Functions 3 October 20th 06 07:04 PM
how can I select a range of cells based on a value of a cell? grigoras victor Excel Discussion (Misc queries) 1 June 26th 06 04:55 PM
how do i format a cell based on format of a range of cells? Chris Hardick Excel Discussion (Misc queries) 2 April 3rd 06 08:54 AM
I want to format a cell based on an adjacent cells value Cumbo Excel Discussion (Misc queries) 1 December 13th 04 11:52 AM


All times are GMT +1. The time now is 04:07 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"