I'm struggling with what I think should be a simple function. Hoping someone can help.
I want to use a Sumif focusing on the name. i.e. =SUMIF(B2:B29,"Brett",H2:H29). This equals 57.2
But I only want to smallest 3 numbers. i.e. =SUM(SMALL(H2:H29,{1,2,3})). This equals 1.64
So I thought I would be able to do this. =SUMIF(B2:B29,"Brett",SMALL(H2:H29,{1,2,3}))
But I get an error. I've tried using Sumifs as well. Same result. Shouldn't I be able to embed the small command in the sum range? I'm using Excel 2013.
B H
[TABLE="width: 128"]
<tbody>[TR]
[TD]Player[/TD]
[TD="width: 64"]Handicap[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]12.35961[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]8.802885[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]4.356984[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]3.467803[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]7.024525[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]8.802885[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]4.356984[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]3.467803[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]8.802885[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]8.802885[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]4.356984[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]3.467803[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]5.246164[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]7.858394[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]3.587528[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]2.733354[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]9.56674[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]7.858394[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]3.587528[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]2.733354[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]7.173677[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]6.233552[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]2.185791[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]1.376239[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]7.043104[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]6.233552[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]2.185791[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]1.376239
[/TD]
[/TR]
</tbody>[/TABLE]
I want to use a Sumif focusing on the name. i.e. =SUMIF(B2:B29,"Brett",H2:H29). This equals 57.2
But I only want to smallest 3 numbers. i.e. =SUM(SMALL(H2:H29,{1,2,3})). This equals 1.64
So I thought I would be able to do this. =SUMIF(B2:B29,"Brett",SMALL(H2:H29,{1,2,3}))
But I get an error. I've tried using Sumifs as well. Same result. Shouldn't I be able to embed the small command in the sum range? I'm using Excel 2013.
B H
[TABLE="width: 128"]
<tbody>[TR]
[TD]Player[/TD]
[TD="width: 64"]Handicap[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]12.35961[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]8.802885[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]4.356984[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]3.467803[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]7.024525[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]8.802885[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]4.356984[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]3.467803[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]8.802885[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]8.802885[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]4.356984[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]3.467803[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]5.246164[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]7.858394[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]3.587528[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]2.733354[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]9.56674[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]7.858394[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]3.587528[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]2.733354[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]7.173677[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]6.233552[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]2.185791[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]1.376239[/TD]
[/TR]
[TR]
[TD="class: xl65"]Brett[/TD]
[TD="align: right"]7.043104[/TD]
[/TR]
[TR]
[TD="class: xl65"]Sam[/TD]
[TD="align: right"]6.233552[/TD]
[/TR]
[TR]
[TD="class: xl65"]Srihdar[/TD]
[TD="align: right"]2.185791[/TD]
[/TR]
[TR]
[TD="class: xl65"]Vivek[/TD]
[TD="align: right"]1.376239
[/TD]
[/TR]
</tbody>[/TABLE]