Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to use SUMIF to return sums between two values located in cells | Excel Worksheet Functions | |||
Sumif of Sumif perhaps? | Excel Discussion (Misc queries) | |||
SUMIF & MONTH() ? | Excel Discussion (Misc queries) | |||
sumif date is in certain month | Excel Worksheet Functions | |||
Month Year Date Format | Excel Worksheet Functions |