Hello
Thing i would like to do in excel is this ..
I have a table with various numbers column and in another column are parameters describing these numbers. I want to sum all numbers which meet the required criteria .. something like this [TABLE="width: 150"]
<tbody>[TR]
[TD]numbers
[/TD]
[TD]parameter
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]35
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]33
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]30
[/TD]
[TD]C
[/TD]
[/TR]
</tbody>[/TABLE]
sum all numbers where parameters are A or C .. in another cell i want to sum all numbers where parameters are A, B, D.
I am not sure, if i am using wrong function or what .. SUMIF and SUMIFS works until I use one criteria like this
a) =SUMIFS(H1:H14; I1:I14; "A")
but when i add another criteria it shows zero
b) =SUMIFS(H1:H14; I1:I14; "A"; I1:I14; "B")
My questions are:
What and how to use to get results a want ?
Is there a way how to add multiple criteria in one criteria range ? When you look on (b) .. its waste of time and space to define criteria range for every new criteria when the range is not changing.
thank you for help and explaining !
Thing i would like to do in excel is this ..
I have a table with various numbers column and in another column are parameters describing these numbers. I want to sum all numbers which meet the required criteria .. something like this [TABLE="width: 150"]
<tbody>[TR]
[TD]numbers
[/TD]
[TD]parameter
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]35
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]33
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]30
[/TD]
[TD]C
[/TD]
[/TR]
</tbody>[/TABLE]
sum all numbers where parameters are A or C .. in another cell i want to sum all numbers where parameters are A, B, D.
I am not sure, if i am using wrong function or what .. SUMIF and SUMIFS works until I use one criteria like this
a) =SUMIFS(H1:H14; I1:I14; "A")
but when i add another criteria it shows zero
b) =SUMIFS(H1:H14; I1:I14; "A"; I1:I14; "B")
My questions are:
What and how to use to get results a want ?
Is there a way how to add multiple criteria in one criteria range ? When you look on (b) .. its waste of time and space to define criteria range for every new criteria when the range is not changing.
thank you for help and explaining !