Conditional Formating

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Jeff in Holland

New Member
Joined
Jul 22, 2002
Messages
33
I'm not sure what I did wrong on the HTML thing but, how do I get Conditional Formating to draw a line between 8/25 and 8/29 in the date coloumn. Note: the dates change everyday and I want the line to follow according to today's date.
 
Upvote 0

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
Hi Jeff:

If your dates are in column A, select column A adnd use formula is. Enter

=$A1=Today() Format for a bottom cell border or to underline the entry, whichever you prefer
 
Upvote 0

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
On 2002-08-27 13:00, Jeff in Holland wrote:
Does this make sense to anyone?

Your criteria seems a little vague. If I understand you right, select your range of dates, choose conditional formatting from the format menu, change the drop down to "formula is" and type or paste in
=AND(A1>=(TODAY()-2),A1<=(TODAY()+2))
(adjust A1 to the first cell in your range.

Click the format button and choose the format to your liking.


EDIT:
A simpler formula just occured to me. Instead you could also use
=ABS(A1-TODAY())<=2
This message was edited by IML on 2002-08-27 13:14
 
Upvote 0

Chris Davison

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,790
=AND(A1<=TODAY(),A2>TODAY())

this seems to work on my test....

sorry, I've forgotten what your original data ranges were now though
 
Upvote 0

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
Chris is correct. I had assumed that there would be a date for each day without any missing dates. Chris's formula will work if there are certain dates missing.
 
Upvote 0

Forum statistics

Threads
1,191,481
Messages
5,986,834
Members
440,052
Latest member
silverandcoldmc

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
Top