# sumproduct sumifs multiple criteria

#### calcnerd

##### New Member
I currently have a sumproduct sumif formula pulling wildcards and want to change it to sumifs where it only includes values <0. Here is my current formula:

=SUMPRODUCT(SUMIF(\$C:\$C,"*"&{"ACORNS"}&"*",\$D:\$D))

i tried changing it to this, but it returned 0, when there are definitely values for it:
=SUMPRODUCT(SUMIFS(\$D:\$D,\$C:\$C,"*"&{"ACORNS"}&"*",\$C:\$C,"<0"))

### Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

#### Special-K99

##### Well-known Member
Why do you need the braces?
This should work

=SUMPRODUCT(SUMIF(\$C:\$C,"*ACORNS*",\$D:\$D))

Last edited:

#### Aryatect

##### Active Member
Hi,

Does the values in C Column are all numbers ? You can use =ISNUMBER(C1) and copy it down and check that all the values should be TRUE.

I tried replicating your case it seemed to work for me:

BCD
1-1A-6
20A
3-2Ab
4-3B
5-2B
61A
72B
8-3Ac
93B

</tbody>
Sheet1

Worksheet Formulas
CellFormula
D1=SUMIFS(B1:B9,C1:C9,"A"&"*",B1:B9,"<0")

</tbody>

<tbody>
</tbody>

#### calcnerd

##### New Member
Why do you need the braces?
This should work

=SUMPRODUCT(SUMIF(\$C:\$C,"*ACORNS*",\$D:\$D))
hmm, I'm not sure...I've been using this formula forever. Maybe an older version of excel needed it?

#### calcnerd

##### New Member
Hi,

Does the values in C Column are all numbers ? You can use =ISNUMBER(C1) and copy it down and check that all the values should be TRUE.

I tried replicating your case it seemed to work for me:

BCD
1-1A-6
20A
3-2Ab
4-3B
5-2B
61A
72B
8-3Ac
93B

<tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
D1=SUMIFS(B1:B9,C1:C9,"A"&"*",B1:B9,"<0")

<tbody>
</tbody>

<tbody>
</tbody>
Thanks! With a couple modifications, this worked as well.

1,101,913
Messages
5,483,685
Members
407,399
Latest member
Rakeforms

### This Week's Hot Topics

• Finding issue in If elseif else with For each Loop
Finding issue in If elseif else with For each Loop I have tried this below code but i'm getting in Y column filled with W005. Colud you please...
• MsgBox Error
Hi Guys, I have the below error show up when i try and run my macro in File1 but works fine if i copy and paste the same code into file2. [ATTACH...
• CELL FORMAT - IF CONDITION
My Cell Format is [B]""0.00" Cr". [/B]But in the cell, it is showing 123.00 for editing. (123 is entry figure). (Data imported from other...
• Show numbers nearly the same
Is this possible. I have a number that can change very time eg 0.00001234 Then I have a lot of numbers 0.0000001, 0.0000002, 0.00000004...