LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 61
Default Change to formula to make it go to next weekday (i.e., avoid weekend days)?

On Sun, 21 Aug 2011 23:02:02 -0400, Ron Rosenfeld
wrote:

On Fri, 12 Aug 2011 06:08:00 -0700 (PDT), StargateFan wrote:

I have a very specific formula that I need to keep the same. However,
I need to make the output come out as a weekday at all times. How can
I do this pls?

=CHOOSE(WEEKDAY(TODAY()+1),"Sn","Mn","Tu","Wd"," Th","Fr","Sa") &
TEXT(TODAY()+1,"\.mmm.dd.yyyy")

Thanks so much!! :oD


You can use the WORKDAY function.

=CHOOSE(WEEKDAY(WORKDAY(TODAY(),1)),"Sn","Mn","Tu ","Wd","Th","Fr","Sa")
& TEXT(WORKDAY(TODAY(),1),"\.mmm.dd.yyyy")

In versions of Excel prior to 2007, if you get a #NAME! error, look at help for the WORKDAY function for instructions as to installing the Analysis Tool Pak


Thanks, that's good to know re the Analysis Tool Pak.

Will give the formula a try, thanks! I spent hours on the weekend
trying to figure out how to do this. Thanks again for everyone's
help. Excel gets us out of tight spots! <g

 
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
Formula help: Duration Without Weekend Days JP Excel Discussion (Misc queries) 4 November 9th 09 01:46 PM
Calc occurrances for weekday omitting weekend data dtoney Excel Worksheet Functions 4 October 23rd 09 04:31 PM
if formula returns a weekend - move it forward to next weekday Z-Man-Cek Excel Worksheet Functions 2 May 14th 08 09:45 PM
Formula to Remove Weekend Days Tom Excel Discussion (Misc queries) 1 May 24th 06 04:31 PM
Change the text format for weekend days (Sat, Sun) Bhupinder Rayat Excel Worksheet Functions 3 January 11th 06 04:10 PM


All times are GMT +1. The time now is 01:17 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"