Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JB JB is offline
external usenet poster
 
Posts: 115
Default lookups and sums?

Need help converting daily data into weekly sums.
We have data from 25 offices - 7 rows of daily data from each of the 25
offices (1 row for each day of the week) totalling 175 rows of data. Each
row begins with the office name, followed by 132 columns of data. I need to
create a separate sheet with weekly data taken from the daily sheet. How do
I sum the daily data from each office in order to create a separate weekly
sheet? It should look the daily sheet except it's weekly data. It would be
25 rows, a row for each office, with the weekly data totaled in each column.
Have been experimenting with lookups to no avail. Am trying to stay in the
formulas available in excel.
Thank you for any help with this!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default lookups and sums?

With data arranged in Sheet1 as below

Col A Col B Col C
Name Date Amount
Office 1 11/11/2009 1
Office 1 11/12/2009 2
Office 1 11/13/2009 3

In Sheet2 with data arranged as below
Col A Col B Col C
Name Week starting total
Office 1 11/11/2009 21
Office 1 11/18/2009 15

In Sheet2 Col C2; the weekly total formula for the weekstarting 11/11/2009
for Office1 from sheet1 ColC
=SUMPRODUCT(((Sheet1!$A$2:$A$100=A2)*(Sheet1!$B$2: $B$100)=B2)*
(Sheet1!$B$2:$B$100<=(B2+6)),Sheet1!$C$2:$C$100)

Once you are able to work this out..change the formula to suit other
columns...

If this post helps click Yes
---------------
Jacob Skaria


"jb" wrote:

Need help converting daily data into weekly sums.
We have data from 25 offices - 7 rows of daily data from each of the 25
offices (1 row for each day of the week) totalling 175 rows of data. Each
row begins with the office name, followed by 132 columns of data. I need to
create a separate sheet with weekly data taken from the daily sheet. How do
I sum the daily data from each office in order to create a separate weekly
sheet? It should look the daily sheet except it's weekly data. It would be
25 rows, a row for each office, with the weekly data totaled in each column.
Have been experimenting with lookups to no avail. Am trying to stay in the
formulas available in excel.
Thank you for any help with this!

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
V & H Lookups Richardisa1[_4_] New Users to Excel 3 March 9th 08 09:56 AM
How to add previous sums in a column to current sums in a column? TD Excel Worksheet Functions 1 September 30th 06 02:55 PM
Help on lookups Colin Excel Discussion (Misc queries) 2 February 27th 06 07:14 PM
Lookups Steve Wright Excel Discussion (Misc queries) 2 June 9th 05 12:58 AM
LOOKUPS - Creating LOOKUPs where two different values must BOTH be satisfied. Mr Wiffy Excel Worksheet Functions 2 May 16th 05 04:29 AM


All times are GMT +1. The time now is 04:39 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"