# Cant get SUMIFS to work for multiple criteria?

#### tahir9

##### New Member
Essentially my function looks like this on another worksheet. SUMIFS(INDEX(TEXAS!\$A\$5:\$ER\$5000,,MATCH(B\$2,TEXAS!\$A\$4:\$ER\$4,0)),TEXAS!\$L\$5:\$L\$5000,"<>3",TEXAS!\$AP\$5:\$AP\$5000,"<>Does Not Use Casher"). B2 is the column header for the column I want the sum of. L is a column in another sheet that I want to evaluate and make sure its not three, and AP is the other column I want to evaluate where I want it to skip all the does not use casher. I also have other things I want to add on but currently I just want it to work with these criteria...

### Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
What is the problem that you are experiencing? For starters I see a double comma before the match function.

Hello tahir9, welcome to MrExcel

That formula looks good to me - what problem do you have, are you getting an error or the wrong result

Fixed it was essentially my rows going too far down and I was getting the sum added to what the formula was giving me. Thanks for the feedback!

[h=1]can i make sheet name as criteria in SUMIFS plz reply now[/h]

can i make sheet name as criteria in SUMIFS plz reply now

Now? Please try to be a bit patient...

A2 houses a sheet name like TEXAS.

Rich (BB code):
``````=SUMIFS(
INDEX(INDIRECT("'"&\$A2&"'!A5:ER5000"),0,
MATCH(B\$2,INDIRECT("'"&\$A2&"'!A4:ER4"),0)),
INDIRECT("'"&A2&"'!L5:L5000"),"<>3",
INDIRECT("'"&A2&"'!AP5:AP5000"),"<>Does Not Use Casher")
``````

Replies
2
Views
263
Replies
1
Views
125
Replies
9
Views
211
Replies
6
Views
823
Replies
3
Views
457

1,220,987
Messages
6,157,236
Members
451,407
Latest member
vdaesety

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back