Difficult Excel Problem

S

SpikeUK

Hi,

As you can see from the enclosed image, I have a list of dates in
column, the top date is always today's date, regardless of when th
spreadsheet is opened, which I arranged by using the TODAY() function
and the other dates are today's date plus 1, plus 2, plus 3, etc
Therefore the dates are moving up the list, day by day. The Saturday
are linked to the correct dates using the IF(WEEKDAY(F4)=7,"Saturday"
"") function, and so on, so they are moving up the table, too.

I want the boxes that seperate the weeks to move up with the dates, s
that there is always a line between the Fridays and Saturdays.

The ordinary Format / Border function will not do, as then the border
are fixed. I want the horizantal lines to move up the table, day b
day.

Is this possible? Any help would be much appreciated

Thanks

Spik

+-------------------------------------------------------------------
|Filename: dates.jpg
|Download: http://www.excelforum.com/attachment.php?postid=4055
+-------------------------------------------------------------------
 
B

bpeltzer

Use conditional formatting. Click in the first date cell (assumed to be a2
in the following example) then Format > Conditional Formatting. Use the
drop-down and the text box to set up your condition to read 'formula is'
=weekday(a2)=6. Then click to select the appropriate format with the border
you want to highlight Friday (weekday 6 is Friday). Once finished with that
cell, use the format painter to copy the format to the rest of your dates.
 
S

SpikeUK

Since your help was so useful earlier, bpeltzer, I was wondering if yo
can point me in the right direction a little further.

I thought it would be a good idea to merge the 7 cells in each weekl
box, and have each group of merged cells moving up the table with thei
dates. I can not see a merge option in the conditional formattin
dialogue.

Is it possible to do this? If so, how?

I enclose an updated screenshot.

thanks

Spik

+-------------------------------------------------------------------
|Filename: dates.jpg
|Download: http://www.excelforum.com/attachment.php?postid=4056
+-------------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top