Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
LukePW
 
Posts: n/a
Default Date exclude weekdays

Hi,

Creating a cell range in which I enter a single date at the top of a column.
I then fill 15 cells underneath this single cell ( a column) with a formula:
=A6+1

which gives me the following day. It gives me the weekends though.... I
know I can exclude weekends by using the fill function and then choosing
weekdays. But I have to do this everytime... Is there a way to create a
formula which will only fill my range with the weekdays without having to
come and fix this everytime?

Thanks!

Luke
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Take a look at WORKDAY() function in XL Help. The function is part of
the Analysis Toolpak Add-in.



In article ,
LukePW wrote:

Hi,

Creating a cell range in which I enter a single date at the top of a column.
I then fill 15 cells underneath this single cell ( a column) with a formula:
=A6+1

which gives me the following day. It gives me the weekends though.... I
know I can exclude weekends by using the fill function and then choosing
weekdays. But I have to do this everytime... Is there a way to create a
formula which will only fill my range with the weekdays without having to
come and fix this everytime?

Thanks!

Luke

  #3   Report Post  
Sandy Mann
 
Posts: n/a
Default

"JE McGimpsey" wrote in message
...
Take a look at WORKDAY() function in XL Help. The function is part of
the Analysis Toolpak Add-in.



or if you don't want to install the Analysis Toolpak Addin:

=A6+1+(WEEKDAY(A6+1,3)4)*(7-WEEKDAY(A6+1,3))

copied down as far as you need


--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


In article ,
LukePW wrote:

Hi,

Creating a cell range in which I enter a single date at the top of a

column.
I then fill 15 cells underneath this single cell ( a column) with a

formula:
=A6+1

which gives me the following day. It gives me the weekends though.... I
know I can exclude weekends by using the fill function and then choosing
weekdays. But I have to do this everytime... Is there a way to create a
formula which will only fill my range with the weekdays without having

to
come and fix this everytime?

Thanks!

Luke



  #4   Report Post  
Tom Ogilvy
 
Posts: n/a
Default

for this particular case, wouldn't it be just as easy to skip the weekend?

=A6+1+(WEEKDAY(A6,1)=6)*2

Of course JE's suggestion allows consideration of holidays.
--
Regards.
Tom Ogilvy

"Sandy Mann" wrote in message
...
"JE McGimpsey" wrote in message
...
Take a look at WORKDAY() function in XL Help. The function is part of
the Analysis Toolpak Add-in.



or if you don't want to install the Analysis Toolpak Addin:

=A6+1+(WEEKDAY(A6+1,3)4)*(7-WEEKDAY(A6+1,3))

copied down as far as you need


--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


In article ,
LukePW wrote:

Hi,

Creating a cell range in which I enter a single date at the top of a

column.
I then fill 15 cells underneath this single cell ( a column) with a

formula:
=A6+1

which gives me the following day. It gives me the weekends though....

I
know I can exclude weekends by using the fill function and then

choosing
weekdays. But I have to do this everytime... Is there a way to create

a
formula which will only fill my range with the weekdays without having

to
come and fix this everytime?

Thanks!

Luke





  #5   Report Post  
Sandy Mann
 
Posts: n/a
Default

=A6+1+(WEEKDAY(A6+1,3)4)*(7-WEEKDAY(A6+1,3))

Of course if I were to think about it more clearly

=A6+1+(WEEKDAY(A6+1,3)=5)*2

is all that is required

Sandy

--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


"Sandy Mann" wrote in message
...
"JE McGimpsey" wrote in message
...
Take a look at WORKDAY() function in XL Help. The function is part of
the Analysis Toolpak Add-in.



or if you don't want to install the Analysis Toolpak Addin:

=A6+1+(WEEKDAY(A6+1,3)4)*(7-WEEKDAY(A6+1,3))

copied down as far as you need


--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


In article ,
LukePW wrote:

Hi,

Creating a cell range in which I enter a single date at the top of a

column.
I then fill 15 cells underneath this single cell ( a column) with a

formula:
=A6+1

which gives me the following day. It gives me the weekends though....

I
know I can exclude weekends by using the fill function and then

choosing
weekdays. But I have to do this everytime... Is there a way to create

a
formula which will only fill my range with the weekdays without having

to
come and fix this everytime?

Thanks!

Luke








  #6   Report Post  
Sandy Mann
 
Posts: n/a
Default


"Tom Ogilvy" wrote in message
...
for this particular case, wouldn't it be just as easy to skip the weekend?

=A6+1+(WEEKDAY(A6,1)=6)*2

Of course JE's suggestion allows consideration of holidays.
--
Regards.
Tom Ogilvy


Great minds? <g

Regards

Sandy

--
to e-mail direct replace @mailintor.com with @tiscali.co.uk



"Sandy Mann" wrote in message
...
"JE McGimpsey" wrote in message
...
Take a look at WORKDAY() function in XL Help. The function is part of
the Analysis Toolpak Add-in.



or if you don't want to install the Analysis Toolpak Addin:

=A6+1+(WEEKDAY(A6+1,3)4)*(7-WEEKDAY(A6+1,3))

copied down as far as you need


--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


In article ,
LukePW wrote:

Hi,

Creating a cell range in which I enter a single date at the top of a

column.
I then fill 15 cells underneath this single cell ( a column) with a

formula:
=A6+1

which gives me the following day. It gives me the weekends

though....
I
know I can exclude weekends by using the fill function and then

choosing
weekdays. But I have to do this everytime... Is there a way to

create
a
formula which will only fill my range with the weekdays without

having
to
come and fix this everytime?

Thanks!

Luke







  #7   Report Post  
LukePW
 
Posts: n/a
Default

Thanks !

"JE McGimpsey" wrote:

Take a look at WORKDAY() function in XL Help. The function is part of
the Analysis Toolpak Add-in.



In article ,
LukePW wrote:

Hi,

Creating a cell range in which I enter a single date at the top of a column.
I then fill 15 cells underneath this single cell ( a column) with a formula:
=A6+1

which gives me the following day. It gives me the weekends though.... I
know I can exclude weekends by using the fill function and then choosing
weekdays. But I have to do this everytime... Is there a way to create a
formula which will only fill my range with the weekdays without having to
come and fix this everytime?

Thanks!

Luke


  #8   Report Post  
LukePW
 
Posts: n/a
Default

Thanks Sandy - will try that

"Sandy Mann" wrote:

"JE McGimpsey" wrote in message
...
Take a look at WORKDAY() function in XL Help. The function is part of
the Analysis Toolpak Add-in.



or if you don't want to install the Analysis Toolpak Addin:

=A6+1+(WEEKDAY(A6+1,3)4)*(7-WEEKDAY(A6+1,3))

copied down as far as you need


--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


In article ,
LukePW wrote:

Hi,

Creating a cell range in which I enter a single date at the top of a

column.
I then fill 15 cells underneath this single cell ( a column) with a

formula:
=A6+1

which gives me the following day. It gives me the weekends though.... I
know I can exclude weekends by using the fill function and then choosing
weekdays. But I have to do this everytime... Is there a way to create a
formula which will only fill my range with the weekdays without having

to
come and fix this everytime?

Thanks!

Luke




  #9   Report Post  
LukePW
 
Posts: n/a
Default

Hello Sandy,

I have tried your formula but was not able to make this work. I get an
error ($name). Of course, it might not help that my Excel is in French
(although we seem to use the same lingo). Any ideas?

Luke

"Sandy Mann" wrote:

=A6+1+(WEEKDAY(A6+1,3)4)*(7-WEEKDAY(A6+1,3))


Of course if I were to think about it more clearly

=A6+1+(WEEKDAY(A6+1,3)=5)*2

is all that is required

Sandy

--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


"Sandy Mann" wrote in message
...
"JE McGimpsey" wrote in message
...
Take a look at WORKDAY() function in XL Help. The function is part of
the Analysis Toolpak Add-in.



or if you don't want to install the Analysis Toolpak Addin:

=A6+1+(WEEKDAY(A6+1,3)4)*(7-WEEKDAY(A6+1,3))

copied down as far as you need


--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


In article ,
LukePW wrote:

Hi,

Creating a cell range in which I enter a single date at the top of a

column.
I then fill 15 cells underneath this single cell ( a column) with a

formula:
=A6+1

which gives me the following day. It gives me the weekends though....

I
know I can exclude weekends by using the fill function and then

choosing
weekdays. But I have to do this everytime... Is there a way to create

a
formula which will only fill my range with the weekdays without having

to
come and fix this everytime?

Thanks!

Luke







  #10   Report Post  
Sandy Mann
 
Posts: n/a
Default

Sorry Luke. Your Excel is obviously telling you that it does not recognise
the WEEKDAY function but I have no idea what the French function is called.
Perhaps one of the multi-linguists will jump in and advise you. In my Excel
when it doesn't recognise a function name is gives the error message #NAME?
so there are subtle differences but I would expect the syntax to be similar.
Try looking through the functions in the fx dialog box to see it you can
find the WEEKDAY equivalent.

Hope you get the help you need

Regards

Sandy

--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


"LukePW" wrote in message
...
Hello Sandy,

I have tried your formula but was not able to make this work. I get an
error ($name). Of course, it might not help that my Excel is in French
(although we seem to use the same lingo). Any ideas?

Luke

"Sandy Mann" wrote:

=A6+1+(WEEKDAY(A6+1,3)4)*(7-WEEKDAY(A6+1,3))


Of course if I were to think about it more clearly

=A6+1+(WEEKDAY(A6+1,3)=5)*2

is all that is required

Sandy

--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


"Sandy Mann" wrote in message
...
"JE McGimpsey" wrote in message
...
Take a look at WORKDAY() function in XL Help. The function is part

of
the Analysis Toolpak Add-in.



or if you don't want to install the Analysis Toolpak Addin:

=A6+1+(WEEKDAY(A6+1,3)4)*(7-WEEKDAY(A6+1,3))

copied down as far as you need


--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


In article ,
LukePW wrote:

Hi,

Creating a cell range in which I enter a single date at the top of

a
column.
I then fill 15 cells underneath this single cell ( a column) with

a
formula:
=A6+1

which gives me the following day. It gives me the weekends

though....
I
know I can exclude weekends by using the fill function and then

choosing
weekdays. But I have to do this everytime... Is there a way to

create
a
formula which will only fill my range with the weekdays without

having
to
come and fix this everytime?

Thanks!

Luke








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
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM
Date issue between Windows and Macintosh version dlg1967 Excel Discussion (Misc queries) 4 January 19th 05 03:51 PM
Date formula Robyn Bellanger Excel Discussion (Misc queries) 2 December 16th 04 12:41 AM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM
How do I convert a Julian date into a regular date? Jessica Excel Discussion (Misc queries) 4 December 2nd 04 02:54 AM


All times are GMT +1. The time now is 01:51 PM.

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

About Us

"It's about Microsoft Excel"