Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Brian
 
Posts: n/a
Default conditional format business day

At the top of my spreadsheet, I have the formula @today()
In Column B, I have a list of dates....
I'd like for an entire row to change color if the date in Column B is the
next business day from the @today() date.
How can I do this with conditional formatting?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default conditional format business day

One possible way:

Assume the dates start in B1 going down, select the whole range, do format
conditional formatting, formula is and use

=AND($B1-TODAY()=1,WEEKDAY($B1,2)<6)


select a format to apply and click OK twice



--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"Brian" wrote in message
...
At the top of my spreadsheet, I have the formula @today()
In Column B, I have a list of dates....
I'd like for an entire row to change color if the date in Column B is the
next business day from the @today() date.
How can I do this with conditional formatting?



  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default conditional format business day

I think you want

=B1=WORKDAY(TODAY(),1)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Peo Sjoblom" wrote in message
...
One possible way:

Assume the dates start in B1 going down, select the whole range, do format
conditional formatting, formula is and use

=AND($B1-TODAY()=1,WEEKDAY($B1,2)<6)


select a format to apply and click OK twice



--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"Brian" wrote in message
...
At the top of my spreadsheet, I have the formula @today()
In Column B, I have a list of dates....
I'd like for an entire row to change color if the date in Column B is

the
next business day from the @today() date.
How can I do this with conditional formatting?





  #4   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default conditional format business day

You are right but your formula won't work in conditional formatting since it
is part of the ATP add-in unless you refer to another cell first

=$B1=TODAY()+CHOOSE(WEEKDAY(DATE(YEAR(TODAY()),MON TH(TODAY()),DAY(TODAY())),2),1,1,1,1,3,2,1)

will work albeit ugly


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com




"Bob Phillips" wrote in message
...
I think you want

=B1=WORKDAY(TODAY(),1)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Peo Sjoblom" wrote in message
...
One possible way:

Assume the dates start in B1 going down, select the whole range, do
format
conditional formatting, formula is and use

=AND($B1-TODAY()=1,WEEKDAY($B1,2)<6)


select a format to apply and click OK twice



--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"Brian" wrote in message
...
At the top of my spreadsheet, I have the formula @today()
In Column B, I have a list of dates....
I'd like for an entire row to change color if the date in Column B is

the
next business day from the @today() date.
How can I do this with conditional formatting?







  #5   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default conditional format business day

Peo,

Have I missed something, or have you over-egged that

=$B1=TODAY()+CHOOSE(WEEKDAY(TODAY(),2),1,1,1,1,3,2 ,1)

or even

=$B1=TODAY()+CHOOSE(WEEKDAY(TODAY()),1,1,1,1,1,3,2 )

I prefer to use the default forms where possible

Bob

"Peo Sjoblom" wrote in message
...
You are right but your formula won't work in conditional formatting since

it
is part of the ATP add-in unless you refer to another cell first


=$B1=TODAY()+CHOOSE(WEEKDAY(DATE(YEAR(TODAY()),MON TH(TODAY()),DAY(TODAY())),
2),1,1,1,1,3,2,1)

will work albeit ugly


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com




"Bob Phillips" wrote in message
...
I think you want

=B1=WORKDAY(TODAY(),1)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Peo Sjoblom" wrote in message
...
One possible way:

Assume the dates start in B1 going down, select the whole range, do
format
conditional formatting, formula is and use

=AND($B1-TODAY()=1,WEEKDAY($B1,2)<6)


select a format to apply and click OK twice



--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"Brian" wrote in message
...
At the top of my spreadsheet, I have the formula @today()
In Column B, I have a list of dates....
I'd like for an entire row to change color if the date in Column B is

the
next business day from the @today() date.
How can I do this with conditional formatting?










  #6   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default conditional format business day

LOL! My only defense that I did it very late in an uncomfortable hotel
after driving 200 miles

Peo


"Bob Phillips" wrote in message
...
Peo,

Have I missed something, or have you over-egged that

=$B1=TODAY()+CHOOSE(WEEKDAY(TODAY(),2),1,1,1,1,3,2 ,1)

or even

=$B1=TODAY()+CHOOSE(WEEKDAY(TODAY()),1,1,1,1,1,3,2 )

I prefer to use the default forms where possible

Bob

"Peo Sjoblom" wrote in message
...
You are right but your formula won't work in conditional formatting since

it
is part of the ATP add-in unless you refer to another cell first


=$B1=TODAY()+CHOOSE(WEEKDAY(DATE(YEAR(TODAY()),MON TH(TODAY()),DAY(TODAY())),
2),1,1,1,1,3,2,1)

will work albeit ugly


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com




"Bob Phillips" wrote in message
...
I think you want

=B1=WORKDAY(TODAY(),1)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Peo Sjoblom" wrote in message
...
One possible way:

Assume the dates start in B1 going down, select the whole range, do
format
conditional formatting, formula is and use

=AND($B1-TODAY()=1,WEEKDAY($B1,2)<6)


select a format to apply and click OK twice



--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"Brian" wrote in message
...
At the top of my spreadsheet, I have the formula @today()
In Column B, I have a list of dates....
I'd like for an entire row to change color if the date in Column B
is
the
next business day from the @today() date.
How can I do this with conditional formatting?










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 numbers PiPPo Excel Worksheet Functions 5 October 18th 05 05:03 AM
Cell Format Changes When Data Is Entered - Not Conditional Formatt SundanceKidLudwig Excel Worksheet Functions 2 September 30th 05 02:07 PM
Conditional format of minimum number MaggieMagill Excel Worksheet Functions 6 September 25th 05 11:36 PM
Conditional Format Question DougS Excel Worksheet Functions 3 May 3rd 05 01:36 AM
Draging a conditional format Robert Excel Worksheet Functions 1 December 9th 04 02:08 PM


All times are GMT +1. The time now is 05:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"