Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default SUMIFS-time criteria/month

Hi all!

I have a sheet where i have
Column A: orders
Column B: date of the order
Column C:Type of product
Column D:Amount


I want to SUM the amount (D) of some of the type of products (xD) per month
(B).

My collumn B has dates in the following format : DD-MM-YYYY

Could anyone help me how to write the function? how should i write it in
SUMIFS function in order to calculate only the orders i got for the product
type X per months?

Any idea? Any other function maybe??

Thanks in advance







  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default SUMIFS-time criteria/month

=SUMPRODUCT((MONTH($A$1:$A$100)=10)*($C$1:$C$100=" xD"),$D$1:$D$100)

or

=SUM(IF((MONTH($A$1:$A$100)=10)*($C$1:$C$100="xD") ,$D$1:$D$100))
(array-entered i.e. CTRL+SHIFT+ENTER)

will give you the amount of xD product for the month of October


pls click YES if it helped


On 3 Lis, 14:26, Petran wrote:
Hi all!

I have a sheet where i have
Column A: orders
Column B: date of the order
Column C:Type of product
Column D:Amount

I want to SUM the amount (D) of some of the type of products (xD) per month
(B).

My collumn B has dates *in the following format : DD-MM-YYYY

Could anyone help me how to write the function? how should i write it in
SUMIFS function in order to calculate only the orders i got for the product
type X *per months?

Any idea? Any other function maybe??

Thanks in advance


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default SUMIFS-time criteria/month

You could try:

=SUMPRODUCT(--(MONTH(B2:B100)=1),--(C2:C100="xD"),(D2:D100))

Feel free to replace the hard callouts (1, "xD") with cell references. Just
make sure the array sizes are the same size throughout the function.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Petran" wrote:

Hi all!

I have a sheet where i have
Column A: orders
Column B: date of the order
Column C:Type of product
Column D:Amount


I want to SUM the amount (D) of some of the type of products (xD) per month
(B).

My collumn B has dates in the following format : DD-MM-YYYY

Could anyone help me how to write the function? how should i write it in
SUMIFS function in order to calculate only the orders i got for the product
type X per months?

Any idea? Any other function maybe??

Thanks in advance







  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default SUMIFS-time criteria/month

'Using SUMIFS()
=SUMIFS(D2:D100,B2:B100,"="&DATE(2009,1,1),B2:B10 0,
"<"&DATE(2009,2,1),C2:C100,"xD")

'Using SUMPRODUCT()
=SUMPRODUCT((TEXT(B2:B100,"mmyyyy")="012009")*(C2: C100="xD"),D2:D100)

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


"Petran" wrote:

Hi all!

I have a sheet where i have
Column A: orders
Column B: date of the order
Column C:Type of product
Column D:Amount


I want to SUM the amount (D) of some of the type of products (xD) per month
(B).

My collumn B has dates in the following format : DD-MM-YYYY

Could anyone help me how to write the function? how should i write it in
SUMIFS function in order to calculate only the orders i got for the product
type X per months?

Any idea? Any other function maybe??

Thanks in advance







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default SUMIFS-time criteria/month


Thank you very much !! I didn.t know how to wirte and which symbols to use
for the date limit. now i now ! thanks again!

"Jacob Skaria" wrote:

'Using SUMIFS()
=SUMIFS(D2:D100,B2:B100,"="&DATE(2009,1,1),B2:B10 0,
"<"&DATE(2009,2,1),C2:C100,"xD")

'Using SUMPRODUCT()
=SUMPRODUCT((TEXT(B2:B100,"mmyyyy")="012009")*(C2: C100="xD"),D2:D100)

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


"Petran" wrote:

Hi all!

I have a sheet where i have
Column A: orders
Column B: date of the order
Column C:Type of product
Column D:Amount


I want to SUM the amount (D) of some of the type of products (xD) per month
(B).

My collumn B has dates in the following format : DD-MM-YYYY

Could anyone help me how to write the function? how should i write it in
SUMIFS function in order to calculate only the orders i got for the product
type X per months?

Any idea? Any other function maybe??

Thanks in advance









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default SUMIFS-time criteria/month

Thank you very much!

I d rather use the solution with the sumifs , beacuse i am more familiar with!



"Petran" wrote:

Hi all!

I have a sheet where i have
Column A: orders
Column B: date of the order
Column C:Type of product
Column D:Amount


I want to SUM the amount (D) of some of the type of products (xD) per month
(B).

My collumn B has dates in the following format : DD-MM-YYYY

Could anyone help me how to write the function? how should i write it in
SUMIFS function in order to calculate only the orders i got for the product
type X per months?

Any idea? Any other function maybe??

Thanks in advance







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
SUMIFS with an OR criteria Go Bucks!!![_2_] Excel Worksheet Functions 8 September 17th 09 09:30 PM
using sumifs with multiple criteria? Celia Excel Discussion (Misc queries) 3 April 8th 09 02:14 AM
sumifs criteria Ebisu-A Excel Worksheet Functions 3 August 25th 08 08:24 PM
SUMIFS with 3 criteria instead of just 2 Hopper Excel Worksheet Functions 1 August 20th 08 07:59 PM
using sumifs to sum based on month, and criteria Jonas Excel Worksheet Functions 13 April 29th 08 01:12 PM


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