Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default set payment date 28 days after following friday

sale on a monday aug 2 need to calulate 28 days after following friday for
payment date. if this falls on sat or sun needs to move to monday
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default set payment date 28 days after following friday

=(A1+(WEEKDAY(A1,2)5)+(WEEKDAY(A1,2)6))+6-WEEKDAY(A1+(WEEKDAY(A1,2)5)+(WE
EKDAY(A1,2)6))+28

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"rhydim" wrote in message
...
sale on a monday aug 2 need to calulate 28 days after following friday for
payment date. if this falls on sat or sun needs to move to monday



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default set payment date 28 days after following friday

Bob,

Perhaps it is my reading of the question but surely 28 days after the
following Friday can never be a Saturday or Sunday.

=A1-WEEKDAY(A1-6,1)+35

Seems to return the same date as your formula.

--
HTH

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Bob Phillips" wrote in message
...
=(A1+(WEEKDAY(A1,2)5)+(WEEKDAY(A1,2)6))+6-WEEKDAY(A1+(WEEKDAY(A1,2)5)+(WE
EKDAY(A1,2)6))+28

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"rhydim" wrote in message
...
sale on a monday aug 2 need to calulate 28 days after following friday
for
payment date. if this falls on sat or sun needs to move to monday





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default set payment date 28 days after following friday

Sandy,

I read that as if today is a saturday or sunday, start on the next monday,
then goto Friday, then add 28. I think though that by reading it in that
convoluted manner, I concocted a convoluted formula. Your method of getting
the lat Friday and adding 35 seems much more direct.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Sandy Mann" wrote in message
...
Bob,

Perhaps it is my reading of the question but surely 28 days after the
following Friday can never be a Saturday or Sunday.

=A1-WEEKDAY(A1-6,1)+35

Seems to return the same date as your formula.

--
HTH

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Bob Phillips" wrote in message
...

=(A1+(WEEKDAY(A1,2)5)+(WEEKDAY(A1,2)6))+6-WEEKDAY(A1+(WEEKDAY(A1,2)5)+(WE
EKDAY(A1,2)6))+28

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"rhydim" wrote in message
...
sale on a monday aug 2 need to calulate 28 days after following friday
for
payment date. if this falls on sat or sun needs to move to monday







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
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Number of days between 2 dates, if end date is blank assume todays JulesM New Users to Excel 1 March 1st 06 12:41 PM
Date Formula Needed-Business Days MauiTim Excel Discussion (Misc queries) 2 November 25th 05 08:31 PM
Adding XY days to date in cells satucha Excel Discussion (Misc queries) 1 November 25th 05 08:02 AM
Date Calculations Bruce Excel Worksheet Functions 11 May 19th 05 01:09 AM


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