Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hello,
can someone tell me a way to calculate the number of mondays (or any other weekday) between two specified dates? The formula should not use arrays, of possible, as I'm trying to add it to an existing formula adding stuff relating to months, already. Thanks, Nico |
#2
![]() |
|||
|
|||
![]() =SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&A2)),2)=1)) =INT((A2-WEEKDAY(A2)-A1+9)/7) start date in A1 end in A2 Regards, Peo Sjoblom "nico" wrote: Hello, can someone tell me a way to calculate the number of mondays (or any other weekday) between two specified dates? The formula should not use arrays, of possible, as I'm trying to add it to an existing formula adding stuff relating to months, already. Thanks, Nico |
#3
![]() |
|||
|
|||
![]()
On Thu, 9 Jun 2005 13:49:04 -0700, "nico"
wrote: Hello, can someone tell me a way to calculate the number of mondays (or any other weekday) between two specified dates? The formula should not use arrays, of possible, as I'm trying to add it to an existing formula adding stuff relating to months, already. Thanks, Nico =INT((A2-WEEKDAY(A2-1)-A1+8)/7) --ron |
#4
![]() |
|||
|
|||
![]()
On Thu, 09 Jun 2005 18:53:07 -0400, Ron Rosenfeld
wrote: On Thu, 9 Jun 2005 13:49:04 -0700, "nico" wrote: Hello, can someone tell me a way to calculate the number of mondays (or any other weekday) between two specified dates? The formula should not use arrays, of possible, as I'm trying to add it to an existing formula adding stuff relating to months, already. Thanks, Nico =INT((A2-WEEKDAY(A2-1)-A1+8)/7) courtesy of Daniel M. by the way --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Seed numbers for random number generation, uniform distribution | Excel Discussion (Misc queries) | |||
Calculating interest on number of days in the period | Excel Worksheet Functions | |||
How to format a number in Indian style in Excel? | Excel Discussion (Misc queries) | |||
multiply by actual number in cell | Excel Worksheet Functions | |||
GET.CELL | Excel Worksheet Functions |