Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
KENNY
 
Posts: n/a
Default Count Days excluding Sundays

Hi All,

I would like to put a date in one cell, while in the
other, show the date that is 30 days earlier -- but not
counting Sundays. In other words, I have to have
something at this destination on date B, then I must mail
it on Date A...

Help?!
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
if you put your data in A1 try:
=A1-SMALL(IF((WEEKDAY(A1-(ROW(INDIRECT("1:"&30*10))),2)<7),ROW(INDIRECT
("1:"&30*10))),30)



--
Regards
Frank Kabel
Frankfurt, Germany

"KENNY" schrieb im Newsbeitrag
...
Hi All,

I would like to put a date in one cell, while in the
other, show the date that is 30 days earlier -- but not
counting Sundays. In other words, I have to have
something at this destination on date B, then I must mail
it on Date A...

Help?!


  #3   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
forgot to mention that you have to enter this as array formula with
CTRL+SHIFT+ENTER and that it does not take care of holidays

--
Regards
Frank Kabel
Frankfurt, Germany

"Frank Kabel" schrieb im Newsbeitrag
...
Hi
if you put your data in A1 try:

=A1-SMALL(IF((WEEKDAY(A1-(ROW(INDIRECT("1:"&30*10))),2)<7),ROW(INDIRECT
("1:"&30*10))),30)



--
Regards
Frank Kabel
Frankfurt, Germany

"KENNY" schrieb im Newsbeitrag
...
Hi All,

I would like to put a date in one cell, while in the
other, show the date that is 30 days earlier -- but not
counting Sundays. In other words, I have to have
something at this destination on date B, then I must mail
it on Date A...

Help?!



  #4   Report Post  
KENNY
 
Posts: n/a
Default

BRILLIANT! Thanks.
-----Original Message-----
Hi
forgot to mention that you have to enter this as array

formula with
CTRL+SHIFT+ENTER and that it does not take care of

holidays

--
Regards
Frank Kabel
Frankfurt, Germany

"Frank Kabel" schrieb im

Newsbeitrag
...
Hi
if you put your data in A1 try:

=A1-SMALL(IF((WEEKDAY(A1-(ROW(INDIRECT("1:"&30*10))),2)

<7),ROW(INDIRECT
("1:"&30*10))),30)



--
Regards
Frank Kabel
Frankfurt, Germany

"KENNY" schrieb

im Newsbeitrag
...
Hi All,

I would like to put a date in one cell, while in the
other, show the date that is 30 days earlier -- but

not
counting Sundays. In other words, I have to have
something at this destination on date B, then I must

mail
it on Date A...

Help?!



.

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
Calculating Production/Man Days in Excel mpetersen Excel Discussion (Misc queries) 3 December 16th 04 02:41 PM
Count If Formula Mimi Excel Worksheet Functions 0 November 5th 04 11:55 AM
How can I use count function in excel where I have several criter. Princess V Excel Worksheet Functions 14 November 3rd 04 10:18 PM
how do I make a function to count days? khamsta Excel Worksheet Functions 2 November 1st 04 10:53 PM
count based on two fields - need quickly JO Excel Worksheet Functions 1 November 1st 04 09:44 PM


All times are GMT +1. The time now is 05:01 AM.

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"