B
Brian Bermingham
Hi
I have a sheet with the following headings:
It's a meant to record holidays for a number of people.
H I J K L M ......AN
Year Month 1 2 3 4 ..... 31
1 2009 1
2 2009 1
3 2009 2
4 2009 2
etc
I am trying to change the background colour of the cells where the month ,
year and day fall on a weekend.
If I put =TEXT(DATE(H2,I2,J1),"ddd") in any cell the appropriate third
parameter I can get the day in the cell.
But when I drag the formula to other cells horizontaly or verticaly I get
changes to H2,I2 etc.
I have also tried conditional formating =TEXT(DATE($H2,$I2,L1),"ddd")="Sat"
This changes the background of a cell with Sat in it.
Can anybody point me in the right direction
Thanks
Brian
I have a sheet with the following headings:
It's a meant to record holidays for a number of people.
H I J K L M ......AN
Year Month 1 2 3 4 ..... 31
1 2009 1
2 2009 1
3 2009 2
4 2009 2
etc
I am trying to change the background colour of the cells where the month ,
year and day fall on a weekend.
If I put =TEXT(DATE(H2,I2,J1),"ddd") in any cell the appropriate third
parameter I can get the day in the cell.
But when I drag the formula to other cells horizontaly or verticaly I get
changes to H2,I2 etc.
I have also tried conditional formating =TEXT(DATE($H2,$I2,L1),"ddd")="Sat"
This changes the background of a cell with Sat in it.
Can anybody point me in the right direction
Thanks
Brian