Transfer of data

G

Guest

I have a database of information in excel and need a formula for compiling
totals and transferring it to the main worksheet page. Basically it is a
payment tracker - I put in todays date, account number, payment amount, etc
and hit submit - it then sends this info onto the next worksheet page (the
database). On the main page I have weekly, and monthly totals. I need it to
update the weekly monthly totals based on the actual week and month - not
last 7 days or last 30 days. How can i do this? Ultimately what it needs to
do is go to the second page and grab all the info for the current week
starting Monday and total up the payments and then bring it back to the main
page, and the same for the current month.

Thank you in advance!
 
B

Biff

Hi!

To sum values that fall into the current week: (current week is Monday thru
Sunday)

=SUMIF(Dbase!A1:A10000,">="&TODAY()-WEEKDAY(TODAY(),3),Dbase!B1:B10000)-SUMIF(Dbase!A1:A10000,">"&(TODAY()-WEEKDAY(TODAY(),3))+6,Dbase!B1:B10000)

To sum values that fall into the current month:

=SUMPRODUCT(--(MONTH(Dbase!A1:A10000)=MONTH(TODAY())),Dbase!B1:B10000)

Biff
 
G

Guest

Thankyou, do you know how I would also do the same thing but instead of
adding up the totals it would count how many payments were made for the week
and also another one for how many for the month... thank you... i appreciate
your help.
 

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

Top