Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default total using months

i have a work sheet that i am trying to have it count the total number in
months. I have several different months in the same colom. and need to have
it count the total for that month. if i sell 200 in may and 300 in april
and 20 in june .

example.

a1 17 may 07
a2 17 mar 07
a3 17 apr 07
a4 20 may 07
a5 2 jun 07


total sold in Mar _____
total sold in Apr ______
total sold in May ______
total sold in Jun _________

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default total using months

Try this:

Count Apr
=Sumproduct((month(B2:B10)=4)+0)

Count May
=Sumproduct((month(B2:B10)=5)+0)

Count Jun
=Sumproduct((month(B2:B10)=6)+0)


outhouses เขียน:
i have a work sheet that i am trying to have it count the total number in
months. I have several different months in the same colom. and need to have
it count the total for that month. if i sell 200 in may and 300 in april
and 20 in june .

example.

a1 17 may 07
a2 17 mar 07
a3 17 apr 07
a4 20 may 07
a5 2 jun 07


total sold in Mar _____
total sold in Apr ______
total sold in May ______
total sold in Jun _________


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 353
Default total using months

If the count for each is in column B:
=SUMPRODUCT((MONTH($A$1:$A$5)=3)*($B$1:$B$5))
will total the count for March.

Copy and paste down and change the month number as necessary for additional
months. For example:
=SUMPRODUCT((MONTH($A$1:$A$5)=4)*($B$1:$B$5))
for April

=SUMPRODUCT((MONTH($A$1:$A$5)=5)*($B$1:$B$5))
for May




"outhouses" wrote:

i have a work sheet that i am trying to have it count the total number in
months. I have several different months in the same colom. and need to have
it count the total for that month. if i sell 200 in may and 300 in april
and 20 in june .

example.

a1 17 may 07
a2 17 mar 07
a3 17 apr 07
a4 20 may 07
a5 2 jun 07


total sold in Mar _____
total sold in Apr ______
total sold in May ______
total sold in Jun _________


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
Total number of months. Gary Excel Worksheet Functions 4 December 21st 06 08:13 PM
Running total of last 6 months in rows 3tree Excel Discussion (Misc queries) 0 September 25th 06 10:31 AM
YTD total (6 months w/o each record having 6 entries) darkwood Excel Discussion (Misc queries) 2 August 7th 06 06:25 PM
Trying to total payments for months, need help with my function unofarmbob Excel Worksheet Functions 3 June 12th 06 01:39 PM
How do I calculate total of months that have passed? jaydubs Excel Discussion (Misc queries) 1 February 8th 05 11:27 AM


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