Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculate a sum based on the 1st 15 business days of a month 1

Status
Not open for further replies.

ecandie

Technical User
Dec 30, 2004
8
US
I need to create a formula that will summarize the sales information for only the 1st 15 business days of the month.

Thanks in advance...
 
Do a running total, which accumulated values for days up to the 15th business day, using the evaluation formula.

Finding which day is the business day is more tricky. You'd need to calculate this for the whole report, for that month. You could exclude weekends using DatePart("w", {your.date}), which returns 7 for a Saturday and 1 for a Sunday. But if you want to include public holidays, you'd need a table of working days.




[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
PS. There's already a write-up about business days, faq767-4465.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top