Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
i have 3 columns of data. basically i want to query column A and B, for a
particular range, and if it meets that range/criteria, sum the totals in column C. for example, if A=HW and B=ST, then sum every $ in column C with that criteria. for column A, there are 4 different choices (hw, ss, ms, sa) and for column B, there are 7 choices...so basically i want each unique choice to sum the results. tia |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I think you mean
=SUMPRODUCT(--(A2:A200="hw"),--(B2:B200="choice 1"),C2:C200) =SUMPRODUCT(--(A2:A200="ss"),--(B2:B200="choice 1"),C2:C200) -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Ann" wrote in message ... i have 3 columns of data. basically i want to query column A and B, for a particular range, and if it meets that range/criteria, sum the totals in column C. for example, if A=HW and B=ST, then sum every $ in column C with that criteria. for column A, there are 4 different choices (hw, ss, ms, sa) and for column B, there are 7 choices...so basically i want each unique choice to sum the results. tia |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
any way to put this in 1 formula? what you have below, i'd have to create 28
formulas...or make it to where i have 4 formulas (i'd define A)? a=4 choices b=7 choices "Bob Phillips" wrote: I think you mean =SUMPRODUCT(--(A2:A200="hw"),--(B2:B200="choice 1"),C2:C200) =SUMPRODUCT(--(A2:A200="ss"),--(B2:B200="choice 1"),C2:C200) -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Ann" wrote in message ... i have 3 columns of data. basically i want to query column A and B, for a particular range, and if it meets that range/criteria, sum the totals in column C. for example, if A=HW and B=ST, then sum every $ in column C with that criteria. for column A, there are 4 different choices (hw, ss, ms, sa) and for column B, there are 7 choices...so basically i want each unique choice to sum the results. tia |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
ok, nevermind on the below...was rethinking and that doesn't make sense.
bob - thanks for the answer, that's exactly what i need...but when i put it in, i get a 0.00. might it be because in both col A and col B - i have blanks. "Ann" wrote: any way to put this in 1 formula? what you have below, i'd have to create 28 formulas...or make it to where i have 4 formulas (i'd define A)? a=4 choices b=7 choices "Bob Phillips" wrote: I think you mean =SUMPRODUCT(--(A2:A200="hw"),--(B2:B200="choice 1"),C2:C200) =SUMPRODUCT(--(A2:A200="ss"),--(B2:B200="choice 1"),C2:C200) -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Ann" wrote in message ... i have 3 columns of data. basically i want to query column A and B, for a particular range, and if it meets that range/criteria, sum the totals in column C. for example, if A=HW and B=ST, then sum every $ in column C with that criteria. for column A, there are 4 different choices (hw, ss, ms, sa) and for column B, there are 7 choices...so basically i want each unique choice to sum the results. tia |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
nevermind again, i know where i made the mistake...thanks so much bob - that
did it! "Ann" wrote: ok, nevermind on the below...was rethinking and that doesn't make sense. bob - thanks for the answer, that's exactly what i need...but when i put it in, i get a 0.00. might it be because in both col A and col B - i have blanks. "Ann" wrote: any way to put this in 1 formula? what you have below, i'd have to create 28 formulas...or make it to where i have 4 formulas (i'd define A)? a=4 choices b=7 choices "Bob Phillips" wrote: I think you mean =SUMPRODUCT(--(A2:A200="hw"),--(B2:B200="choice 1"),C2:C200) =SUMPRODUCT(--(A2:A200="ss"),--(B2:B200="choice 1"),C2:C200) -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Ann" wrote in message ... i have 3 columns of data. basically i want to query column A and B, for a particular range, and if it meets that range/criteria, sum the totals in column C. for example, if A=HW and B=ST, then sum every $ in column C with that criteria. for column A, there are 4 different choices (hw, ss, ms, sa) and for column B, there are 7 choices...so basically i want each unique choice to sum the results. tia |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with a multi if then else formula. | New Users to Excel | |||
Complex Multi-condition, multi-workbook count | Excel Discussion (Misc queries) | |||
match in multi-column and multi-row array | Excel Discussion (Misc queries) | |||
how can I paste multi-line/multi-paragraph data into ONE cell? | Excel Discussion (Misc queries) |