View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus Ardus Petus is offline
external usenet poster
 
Posts: 718
Default calculating a date using the day of the week as a starting point?

Hi Simon,

For Monday:
=$A1+MOD(9-WEEKDAY($A1),7)
For Tuesday:
=$A1+MOD(10-WEEKDAY($A1),7)
etc...

HTH
--
AP

"Simon" a écrit dans le message de news:
...
I need to calculate the start date of a service based on the day of the
week,
i.e. Monday, Tuesday, etc.

For example:
All of our clients are paid weekly. Their paydays vary between Monday and
Thursday. Lets say client "A" starts a service on a Wednesday (12 July
2006), but he/she is paid on a Monday, we would take the start date of
their
service as the following Monday (17 July 2006). In other words, we can
only
pay clients weekly, starting from their very next payday.

I need to enter a formula to work out the 17th July in the example above.