Weekly, Monthly Sums

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Column A records a date in the format of mm/dd/yy and another column recods an amount for that particular date. I'd like to have columns that could would keep weekly, monthly, and yearly amounts. Note that not every day must have an entry. What would be the easiest way to implement this? Thanks for the help.
 
=sumif(A:A,">=01/01/04",B:B)-Sumif(A:A,">01/31/04",B:B)

so sum everything form the start date and later, then subtract everthing
after the end date.

--
Regards,
Tom Ogilvy

Grover said:
Column A records a date in the format of mm/dd/yy and another column
recods an amount for that particular date. I'd like to have columns that
could would keep weekly, monthly, and yearly amounts. Note that not every
day must have an entry. What would be the easiest way to implement this?
Thanks for the help.
 
-----Original Message-----
Column A records a date in the format of mm/dd/yy and
another column recods an amount for that particular date.
I'd like to have columns that could would keep weekly,
monthly, and yearly amounts. Note that not every day must
have an entry. What would be the easiest way to implement
this? Thanks for the help.
.
I would approach it this way. set up columns using the
month and year functions to id the month and year of each
date. set up another column to id the week of the date
(relative to some start date) via something like

=ROUNDDOWN((A5-$A$4)/7,0)

where $a$4 contains a reference date, and a5 contains the
date in question.

Since you now have columns with the week, month, and year
of each entry you can easily do a sumif to find the
various subtotals.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top