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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ssum for each month

Status
Not open for further replies.

jeffp60

Technical User
Dec 7, 2007
5
0
0
US
i need to total numbers from each day of the month,every month,by month,quarter and year. 1/1/07 - 5,1/2/07 - 2.....2/1/07 - 3,2/2/07 -6.....
totals for jan totals for feb
7 9

i have totals but cant seem to figure out by month....
 
Create a calculated field MoGroup = Combine(Year(yourdatefield),'-',NumToText(Month(yourdatefield),'00')

You can now use this field to group your records on a report to get a monthly total within each year.

If you want all months across a total panel based on a year, you could set up a series of calculated fields similar to this:

JanTot = Ssum(If(Month(yourdatefield) = 1,youramtfield,0))

FebTot = Ssum(If(Month(yourdatefield) = 2,youramtfield,0))

etc...

Sue Sloan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top