Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 69
Default summing daily data by month

I have this simplified data structure on worksheet1:
A B C
date red blue
01/01/2006 300 100
01/02/2006 200 200
..
01/31/2006 300 300
02/01/2006 100 100
..
02/28/2006 400 200

On worksheet2
A B C D
Item 01/06 02/06 03/06

red ???? ??? ??
blue ???? ??? ??

I am looking to sum all of red by month/year and all of blue by month/year.

Thanks!!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default summing daily data by month

Try this:

Enter this formula in Sheet2 B2:

=SUMPRODUCT(--(TEXT(Sheet1!$A$2:$A$20,"mmmyyyy")=TEXT(B$1,"mmmyy yy")),INDEX(Sheet1!$B$2:$C$20,,MATCH($A2,Sheet1!$B $1:$C$1,0)))

Copy across then down as needed

Biff

"Mona" wrote in message
...
I have this simplified data structure on worksheet1:
A B C
date red blue
01/01/2006 300 100
01/02/2006 200 200
..
01/31/2006 300 300
02/01/2006 100 100
..
02/28/2006 400 200

On worksheet2
A B C D
Item 01/06 02/06 03/06

red ???? ??? ??
blue ???? ??? ??

I am looking to sum all of red by month/year and all of blue by
month/year.

Thanks!!



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
Summing up of data for this month BigMac Excel Discussion (Misc queries) 1 October 31st 06 09:05 PM
SUM Daily to Month Jay Excel Discussion (Misc queries) 4 September 15th 06 11:41 AM
How do I extract the month end value from a daily time series? MTro Excel Discussion (Misc queries) 2 December 24th 05 11:09 AM
summing up daily data in a monthly compilation mark_vi_ Excel Worksheet Functions 2 June 22nd 05 01:07 AM
updating data daily for a wk/month total redb Excel Discussion (Misc queries) 0 April 5th 05 11:53 AM


All times are GMT +1. The time now is 09:08 PM.

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

About Us

"It's about Microsoft Excel"