Conditional Formatting?

Aussie Grid

New Member
Joined
Jan 14, 2010
Messages
47
I remember seeing a workaround for being unable to conditionally format a referenced/calculated cell.
eg. A1 contains "Saturday"
A2 =A1
CF wont work on A2 as it reads as =A1while displaying " Saturday".
Delete A2's link to A1, type in "Saturday" and the CF works fine.

Any & all help appreciated.

TKU in advance
Aussie Grid
 
Last edited:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Re: Conditional formatting problem

Hello

Works for me.

Excel Workbook
A
1Saturday
2Saturday
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A11. / Formula is =A1="Saturday"Abc
A21. / Formula is =A2="Saturday"Abc
 
Last edited:
Upvote 0
Re: Aussie Grid re Conditional Formating

Thanks meldoc but it doesn't work when in a range such as that below. I would like the weekends in the range B8 to B38 CF'd but it won't do it until the value in, say, B9(=B8+1) is deleted & Sat entered, which destroys all below of course.
I hope this makes it a bit clearer.
Aussie Grid
A1 1/01/2010
A2 Jan
A3 Fri


Jan-10

B8 Fri =A3
B9 Sat =B8+1
B10 Sun =B9+1
B11 Mon =B10+1
B12 Tue =B11+1
B13 Wed =B12+1

etc etc etc until the end of the month. Column C contains the date digit
 
Upvote 0
Re: Aussie Grid re Conditional Formating

Hello again

Try.

Excel Workbook
AB
101/01/2010
2Jan
3Fri
4
5
6
7
801/01/2010
902/01/2010
1003/01/2010
1104/01/2010
1205/01/2010
1306/01/2010
1407/01/2010
1508/01/2010
1609/01/2010
1710/01/2010
18Etc.
Sheet5
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B81. / Formula is =WEEKDAY(B8,2)>5Abc
B91. / Formula is =WEEKDAY(B8,2)>5Abc
 
Last edited:
Upvote 0
Re: Aussie Grid re Conditional Formating

Hello again

Try.

Excel Workbook
AB
101/01/2010*
2Jan
3Fri
4**
5**
6**
7**
8*01/01/2010
9*02/01/2010
10*03/01/2010
11*04/01/2010
12*05/01/2010
13*06/01/2010
14*07/01/2010
15*08/01/2010
16*09/01/2010
17*10/01/2010
18*Etc.
Sheet5
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B81. / Formula is =WEEKDAY(B8,2)>5Abc
B91. / Formula is =WEEKDAY(B8,2)>5Abc
:confused: Why do the CF formulas in B8 and B9 both refer to B8?
 
Upvote 0
Re: Aussie Grid re Conditional Formating

:confused: Why do the CF formulas in B8 and B9 both refer to B8?

I don't know Peter, I hadn't spotted that, when I prepared the data in Jeanie, I selected the range A1:B18, and set the Analyse Range (Forum) limit to A1:B9, to include all relevant unique formulas, and after quick scan for column widths etc. I posted.
The formula that I learnt from yourself, was entered as "=WEEKDAY(B8,2)>5", into the conditional format range B8:17, I didnt copy paste or alter the range in any way, the method worked under testing here, so why it happened I can't say, a glitch in Jeanie?. :eek:
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top