Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 14
Default conditional format of adjacent cell with different range and crite

Well I have to Conditional format a range of values of range of string
character. For Eg. Column A contains Weekdays, 5 Mondays,3 Tuesdays, 2
Wednesday, 7 Thursday, 2 Friday, 3 Saturday and 6 Sunday in Column A. With
having range of values from 30 to 100 in the adjacent cells of Column A.
Col A Col B
Sunday 32
Sunday 65
Sunday 52
Sunday 69
Sunday 45
Sunday 85
Monday 63
Monday 25
Monday 36
Monday 41
Monday 48
Tuesday 95
Tuesday 74
Tuesday 56
Wednesday 15
Wednesday 45
Thursday 49
Thursday 87
Thursday 16
Thursday 53
Thursday 23
Thursday 29
Thursday 21
Friday 54
Friday 63
Saturday 45
Saturday 76
Saturday 33
Now i want conditional format Saturday Values equal to less than 50,with
fill effects red and red font.
Sunday Values Values equal to less than 75,with fill effects blue and blue
font.Mondays alues equal to less than 45,with fill effects green and green
font.so on.
Can you please suggest me any solution for such case.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,722
Default conditional format of adjacent cell with different range and crite

In cell B2, conditional format formulas
condition1
=AND(A2="Saturday",B2<=50)
condition2
=AND(A2="Sunday",B2<=75)
condition3
=AND(A2="Monday",B2<=45)
Set your formatting how you want.
Then copy and paste special formatting to the other cells in column B.

Note that in XL 2003 and older you can only have 3 conditions.
--
Best Regards,

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


"icsonu" wrote:

Well I have to Conditional format a range of values of range of string
character. For Eg. Column A contains Weekdays, 5 Mondays,3 Tuesdays, 2
Wednesday, 7 Thursday, 2 Friday, 3 Saturday and 6 Sunday in Column A. With
having range of values from 30 to 100 in the adjacent cells of Column A.
Col A Col B
Sunday 32
Sunday 65
Sunday 52
Sunday 69
Sunday 45
Sunday 85
Monday 63
Monday 25
Monday 36
Monday 41
Monday 48
Tuesday 95
Tuesday 74
Tuesday 56
Wednesday 15
Wednesday 45
Thursday 49
Thursday 87
Thursday 16
Thursday 53
Thursday 23
Thursday 29
Thursday 21
Friday 54
Friday 63
Saturday 45
Saturday 76
Saturday 33
Now i want conditional format Saturday Values equal to less than 50,with
fill effects red and red font.
Sunday Values Values equal to less than 75,with fill effects blue and blue
font.Mondays alues equal to less than 45,with fill effects green and green
font.so on.
Can you please suggest me any solution for such case.

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 for one cell based on range Sandy82 Excel Worksheet Functions 3 August 8th 08 06:05 PM
Copying a range adjacent to Conditional Format - CF Rule adds to P DJH71 Excel Discussion (Misc queries) 0 June 4th 08 07:49 PM
Conditional format a cell based on another range of cells ked Excel Worksheet Functions 4 January 9th 07 06:44 PM
Using SUMIF Function with a named cell reference as value in CRITE smilingindigo Excel Worksheet Functions 3 June 29th 06 03:29 AM
Conditional Format - Formula to Colour Every 3rd Cell in Offset Range Sam via OfficeKB.com Excel Discussion (Misc queries) 7 August 13th 05 04:19 AM


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