Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I'm trying to sum information on another worksheet. 01-Jun in column a and 15 in column b 25-Jun in column a and 20 in column b 01-Aug in column a and 30 in column b to give me total for Jun in another worksheet with a total value of 35 (ie adding just the month of June Can anyone help? -- PamelaJ ------------------------------------------------------------------------ PamelaJ's Profile: http://www.excelforum.com/member.php...o&userid=36387 View this thread: http://www.excelforum.com/showthread...hreadid=561701 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() PamelaJ wrote: I'm trying to sum information on another worksheet. 01-Jun in column a and 15 in column b 25-Jun in column a and 20 in column b 01-Aug in column a and 30 in column b to give me total for Jun in another worksheet with a total value of 35 (ie adding just the month of June Can anyone help? -- PamelaJ ------------------------------------------------------------------------ PamelaJ's Profile: http://www.excelforum.com/member.php...o&userid=36387 View this thread: http://www.excelforum.com/showthread...hreadid=561701 Hi Pamela, Maybe you can use SUMPRODUCT() Something along the lines of: =SUMPRODUCT(--(MONTH(A1:A3)=6),B1:B3) Asuming here that the Dates are in A1:A3 and numbers in B1:B3. Jou can just modify the range to your needs. The 6 is for June and you can just alter that aswell to fit your needs. Regards, Bondi |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
An alternative would be to split the date so you have say: -
Row Column A Column B 1 2 June 2 24 June 3 13 April You could then use SUMIF. Using the example above you would use the following formula: - =SUMIF(1B:3B,"June",1A:3A) To explain the above: - The formula first of all searches 1B:3B The second part "June" is what it looks to find in the range 1B:3B The final bit 1A:3A is the list of values and it calculates the sum of the corresponding cells where it finds "June" or whatever criteria you set. I hope that this helps. -- David "PamelaJ" wrote: I'm trying to sum information on another worksheet. 01-Jun in column a and 15 in column b 25-Jun in column a and 20 in column b 01-Aug in column a and 30 in column b to give me total for Jun in another worksheet with a total value of 35 (ie adding just the month of June Can anyone help? -- PamelaJ ------------------------------------------------------------------------ PamelaJ's Profile: http://www.excelforum.com/member.php...o&userid=36387 View this thread: http://www.excelforum.com/showthread...hreadid=561701 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() =SUMPRODUCT(--(MONTH('Month 4 July 06-07'!C$8:C$124)=6),'Month 4 July 06-07'!D$8:D$124) This Gives me monthly summary totals June, July .....May for the 12 months. This is where I was finally going Column A =IF(MONTH('Month 4 July 06-07'!$C8)=B$2,'Month 4 July 06-07'!$A8,0) Column B =IF(MONTH('Month 4 July 06-07'!$C8)=+B$2,'Month 4 July 06-07'!$D8,0) C8 is date in formate 01/06/06 etc A8 is Code Number D8 is Value This gave me the Product Code and the quantity completed in month detail. I then copied down to C9, A9, D9 etc then sum total at bottom, month by month for 12 months in columns C,D etc.. etc.. Thanks Bondi, I will definitely be back to this site, sat up until 3am this morning trying to figure this one out. -- PamelaJ ------------------------------------------------------------------------ PamelaJ's Profile: http://www.excelforum.com/member.php...o&userid=36387 View this thread: http://www.excelforum.com/showthread...hreadid=561701 |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Thanks for the post David, it's a much simpler version, but unfortunately I'm using another persons file, exported from a system and there is too much data to amend. However, will utilize that when creating my own files. Thanks again for response. PamelaJ -- PamelaJ ------------------------------------------------------------------------ PamelaJ's Profile: http://www.excelforum.com/member.php...o&userid=36387 View this thread: http://www.excelforum.com/showthread...hreadid=561701 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting data columns with dates | Excel Discussion (Misc queries) | |||
Adding Column of mixed data omitting the dates | Excel Discussion (Misc queries) | |||
Sort pages? | Excel Discussion (Misc queries) | |||
Sum of Columns with Calendar Dates and Data | Excel Worksheet Functions | |||
How do I import fractions without data being converted to dates? | Excel Discussion (Misc queries) |