Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SumIF column A = x and Column B = x OR x
Does anyone know how I can use SumIf to calculate the following?
Column A Contract Hrs Cost 212 31C1 10 12 209 31C1 12 40 303 31C1 12 12 212 31C8 10 12 209 31C8 10 40 212 31A2 10 40 209 31A2 5 80 I need to be able to SUMIF Column A = (e.g.) 212 and Contract = 31C1 or 31A2, I need it to tell me the total hours Any ideas? Thanks Amanda |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SumIF column A = x and Column B = x OR x
=SUMPRODUCT(--(A2:A100="212")*(B2:B100)={"31C1","31A2"})*(C2:C10 0))
"A Heeps" wrote: Does anyone know how I can use SumIf to calculate the following? Column A Contract Hrs Cost 212 31C1 10 12 209 31C1 12 40 303 31C1 12 12 212 31C8 10 12 209 31C8 10 40 212 31A2 10 40 209 31A2 5 80 I need to be able to SUMIF Column A = (e.g.) 212 and Contract = 31C1 or 31A2, I need it to tell me the total hours Any ideas? Thanks Amanda |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SumIF column A = x and Column B = x OR x
=SUMPRODUCT((A2:A100="212")*(B2:B100={"31C1","31A2 "})*(C2:C100))
"Toppers" wrote: =SUMPRODUCT(--(A2:A100="212")*(B2:B100)={"31C1","31A2"})*(C2:C10 0)) "A Heeps" wrote: Does anyone know how I can use SumIf to calculate the following? Column A Contract Hrs Cost 212 31C1 10 12 209 31C1 12 40 303 31C1 12 12 212 31C8 10 12 209 31C8 10 40 212 31A2 10 40 209 31A2 5 80 I need to be able to SUMIF Column A = (e.g.) 212 and Contract = 31C1 or 31A2, I need it to tell me the total hours Any ideas? Thanks Amanda |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look | Excel Discussion (Misc queries) | |||
multi column of sumif | Excel Worksheet Functions | |||
Sumif based on column A and title of another column | Excel Discussion (Misc queries) | |||
Trying to have sumif, sum by the row instead of the column | Excel Discussion (Misc queries) | |||
help with sumif to calculate column | Excel Discussion (Misc queries) |