S soltek Aug 18, 2004 #1 Could anyone help me with a formula that would determine our monthl setup? Every month closes on the first friday of the next month
Could anyone help me with a formula that would determine our monthl setup? Every month closes on the first friday of the next month
J JE McGimpsey Aug 18, 2004 #2 Take a look at Nth Day Of Week For A Month And Year http://cpearson.com/excel/DateTimeWS.htm
R Ron Rosenfeld Aug 19, 2004 #3 Could anyone help me with a formula that would determine our monthly setup? Every month closes on the first friday of the next month. Click to expand... With a date in A1, this formula should give the first Friday of the following month: =DATE(YEAR(A1),MONTH(A1)+1,1)+7- WEEKDAY(DATE(YEAR(A1),MONTH(A1)+1,2)) --ron
Could anyone help me with a formula that would determine our monthly setup? Every month closes on the first friday of the next month. Click to expand... With a date in A1, this formula should give the first Friday of the following month: =DATE(YEAR(A1),MONTH(A1)+1,1)+7- WEEKDAY(DATE(YEAR(A1),MONTH(A1)+1,2)) --ron
S soltek Aug 19, 2004 #4 That works terrific thank you very much. If anyone minds would you know how to formulate the number of weeks between two dates?
That works terrific thank you very much. If anyone minds would you know how to formulate the number of weeks between two dates?
R Ron Rosenfeld Aug 19, 2004 #5 That works terrific thank you very much. Click to expand... You're welcome. Thank you for the feedback. If anyone minds would you know how to formulate the number of weeks between two dates? Click to expand... =(EndDate - StartDate)/7 --ron
That works terrific thank you very much. Click to expand... You're welcome. Thank you for the feedback. If anyone minds would you know how to formulate the number of weeks between two dates? Click to expand... =(EndDate - StartDate)/7 --ron
S soltek Aug 19, 2004 #6 I found this formula that gives me the number of weeks between tw dates. =TRUNC((B25-A25)/7)&" Weeks "&MOD(B25-A25,7)&" Days" Can this be adjusted to round up or down to the nearest number o weeks? i.e. 4 weeks and 4 days = 5 weeks...?? And to go deeper, how could I use this to form totals for each of thes weeks?? thanks in advance
I found this formula that gives me the number of weeks between tw dates. =TRUNC((B25-A25)/7)&" Weeks "&MOD(B25-A25,7)&" Days" Can this be adjusted to round up or down to the nearest number o weeks? i.e. 4 weeks and 4 days = 5 weeks...?? And to go deeper, how could I use this to form totals for each of thes weeks?? thanks in advance
R Ron Rosenfeld Aug 19, 2004 #8 I found this formula that gives me the number of weeks between two dates. =TRUNC((B25-A25)/7)&" Weeks "&MOD(B25-A25,7)&" Days" Can this be adjusted to round up or down to the nearest number of weeks? i.e. 4 weeks and 4 days = 5 weeks...?? Click to expand... Use the ROUND formula that McGimpsey posted And to go deeper, how could I use this to form totals for each of these weeks?? thanks in advanced Click to expand... You could use SUMIF formulas; =SUMIF(25:25,">="& StartDate,26:26) - SUMIF(25:25,">="& EndDate,26:26) --ron
I found this formula that gives me the number of weeks between two dates. =TRUNC((B25-A25)/7)&" Weeks "&MOD(B25-A25,7)&" Days" Can this be adjusted to round up or down to the nearest number of weeks? i.e. 4 weeks and 4 days = 5 weeks...?? Click to expand... Use the ROUND formula that McGimpsey posted And to go deeper, how could I use this to form totals for each of these weeks?? thanks in advanced Click to expand... You could use SUMIF formulas; =SUMIF(25:25,">="& StartDate,26:26) - SUMIF(25:25,">="& EndDate,26:26) --ron