Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tufail
 
Posts: n/a
Default SUMIF with only Month

Hello,
I want make sum, detail is as under.
I want sum if A/Coulm month=JAN, B/Coulm=Car, C/Coulm Amount

A B C
01-JAN-2006 CAR 500
05-JAN-2006 CAT 100
01-FEB-2006 BOOK 400
=SUMIF (A1:A10 "JAN" & B1:B10 "CAR",C1:C10)
Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default SUMIF with only Month

=SUMPRODUCT((MONTH(A1:A10)=1)*(B1:B10="CAR"),C1:C1 0)

HTH
--
AP

"Tufail" a écrit dans le message de news:
...
Hello,
I want make sum, detail is as under.
I want sum if A/Coulm month=JAN, B/Coulm=Car, C/Coulm Amount

A B C
01-JAN-2006 CAR 500
05-JAN-2006 CAT 100
01-FEB-2006 BOOK 400
=SUMIF (A1:A10 "JAN" & B1:B10 "CAR",C1:C10)
Thanks in advance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bruno Campanini
 
Posts: n/a
Default SUMIF with only Month

"Tufail" wrote in message
...
Hello,
I want make sum, detail is as under.
I want sum if A/Coulm month=JAN, B/Coulm=Car, C/Coulm Amount

A B C
01-JAN-2006 CAR 500
05-JAN-2006 CAT 100
01-FEB-2006 BOOK 400
=SUMIF (A1:A10 "JAN" & B1:B10 "CAR",C1:C10)
Thanks in advance.


=SUMPRODUCT((A1:A10="JAN")*(B1:B10="CAR"),C1:C10)

Bruno


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default SUMIF with only Month

Try this:

With
Col_A containing dates
Col_B containing categories
Col_C containing numbers

This formula returns total CAR expenses for JAN:
G1: =SUMPRODUCT((TEXT(A1:A100,"mmm")="JAN")*(B1:B100=" CAR")*C1:C100)

OR...this formula gives you some flexibility in looking up expenses:
E1: JAN
F1: CAR
G1: =SUMPRODUCT((TEXT(A1:A100,"mmm")=E1)*(B1:B100=F1)* C1:C100)

Adjust range references to suit your situation.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Tufail" wrote:

Hello,
I want make sum, detail is as under.
I want sum if A/Coulm month=JAN, B/Coulm=Car, C/Coulm Amount

A B C
01-JAN-2006 CAR 500
05-JAN-2006 CAT 100
01-FEB-2006 BOOK 400
=SUMIF (A1:A10 "JAN" & B1:B10 "CAR",C1:C10)
Thanks in advance.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tufail
 
Posts: n/a
Default SUMIF with only Month

thank you very much.

"Bruno Campanini" wrote:

"Tufail" wrote in message
...
Hello,
I want make sum, detail is as under.
I want sum if A/Coulm month=JAN, B/Coulm=Car, C/Coulm Amount

A B C
01-JAN-2006 CAR 500
05-JAN-2006 CAT 100
01-FEB-2006 BOOK 400
=SUMIF (A1:A10 "JAN" & B1:B10 "CAR",C1:C10)
Thanks in advance.


=SUMPRODUCT((A1:A10="JAN")*(B1:B10="CAR"),C1:C10)

Bruno





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tufail
 
Posts: n/a
Default SUMIF with only Month

yes it's working, thank you very much.

"Ron Coderre" wrote:

Try this:

With
Col_A containing dates
Col_B containing categories
Col_C containing numbers

This formula returns total CAR expenses for JAN:
G1: =SUMPRODUCT((TEXT(A1:A100,"mmm")="JAN")*(B1:B100=" CAR")*C1:C100)

OR...this formula gives you some flexibility in looking up expenses:
E1: JAN
F1: CAR
G1: =SUMPRODUCT((TEXT(A1:A100,"mmm")=E1)*(B1:B100=F1)* C1:C100)

Adjust range references to suit your situation.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Tufail" wrote:

Hello,
I want make sum, detail is as under.
I want sum if A/Coulm month=JAN, B/Coulm=Car, C/Coulm Amount

A B C
01-JAN-2006 CAR 500
05-JAN-2006 CAT 100
01-FEB-2006 BOOK 400
=SUMIF (A1:A10 "JAN" & B1:B10 "CAR",C1:C10)
Thanks in advance.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tufail
 
Posts: n/a
Default SUMIF with only Month

thank you very much.

"Ardus Petus" wrote:

=SUMPRODUCT((MONTH(A1:A10)=1)*(B1:B10="CAR"),C1:C1 0)

HTH
--
AP

"Tufail" a écrit dans le message de news:
...
Hello,
I want make sum, detail is as under.
I want sum if A/Coulm month=JAN, B/Coulm=Car, C/Coulm Amount

A B C
01-JAN-2006 CAR 500
05-JAN-2006 CAT 100
01-FEB-2006 BOOK 400
=SUMIF (A1:A10 "JAN" & B1:B10 "CAR",C1:C10)
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
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
Sumif of Sumif perhaps? Fred Excel Discussion (Misc queries) 2 March 29th 06 05:39 PM
SUMIF & MONTH() ? thornomad Excel Discussion (Misc queries) 4 October 5th 05 11:54 AM
sumif date is in certain month AKM Excel Worksheet Functions 1 May 11th 05 06:22 PM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM


All times are GMT +1. The time now is 01:53 AM.

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"