A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Help with Date Function



 
 
Thread Tools Display Modes
  #1  
Old April 21st, 2010, 01:44 PM posted to microsoft.public.excel.worksheet.functions
mdj0615
external usenet poster
 
Posts: 14
Default Help with Date Function

I have tried, and I can't figure out if this is possible. I'm trying to have
dates autofill into a row of columns (C5 to V5 to be specific). I don't want
week-end days to be a part of the autofill, and I can't figure out the
formula. Any suggestions?
  #2  
Old April 21st, 2010, 01:52 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default Help with Date Function

Hi,

Enter the first date in C5 which must be a weekday then put the formula
below in D5 and drag right

=C5+CHOOSE(WEEKDAY(C5),0,1,1,1,1,3)


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"mdj0615" wrote:

I have tried, and I can't figure out if this is possible. I'm trying to have
dates autofill into a row of columns (C5 to V5 to be specific). I don't want
week-end days to be a part of the autofill, and I can't figure out the
formula. Any suggestions?

  #3  
Old April 21st, 2010, 02:00 PM posted to microsoft.public.excel.worksheet.functions
Duke Carey
external usenet poster
 
Posts: 1,027
Default Help with Date Function

In addition to Mike's suggestion, there is a WORKDAY() function that will
skip holidays that you list in a range and reference in the function.

If you have Excel 2007, you can use WORKDAY() directly. In earlier versions
(I think) you have to go to Tools-Add-ins and make sure the Analysis Toolpak
is checked.

"mdj0615" wrote:

I have tried, and I can't figure out if this is possible. I'm trying to have
dates autofill into a row of columns (C5 to V5 to be specific). I don't want
week-end days to be a part of the autofill, and I can't figure out the
formula. Any suggestions?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.