#1   Report Post  
Posted to microsoft.public.excel.misc
Cody
 
Posts: n/a
Default Transfer of data

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!
--
na
  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Transfer of data

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:B 10000)

Biff

"Cody" wrote in message
...
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!
--
na



  #3   Report Post  
Posted to microsoft.public.excel.misc
Cody
 
Posts: n/a
Default Transfer of data

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.
--
na


"Biff" wrote:

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:B 10000)

Biff

"Cody" wrote in message
...
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!
--
na




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing blank rows in a worksheet Louise Excel Worksheet Functions 6 May 26th 05 02:21 PM
Help - now really stuck! File transfer problem ohboy! Excel Discussion (Misc queries) 10 May 2nd 05 09:07 PM
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM
How do I automatically transfer data to a 2nd worksheet page? BarrelRacer Excel Worksheet Functions 1 March 15th 05 09:52 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


All times are GMT +1. The time now is 06:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"