sumproduct sumifs multiple criteria

calcnerd

New Member
Joined
Aug 3, 2011
Messages
24
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"))

any ideas? thanks in advance!
 

Some videos you may like

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
Joined
Nov 7, 2006
Messages
8,342
Why do you need the braces?
This should work

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

Aryatect

Active Member
Joined
Jun 17, 2019
Messages
308
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

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

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

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 

calcnerd

New Member
Joined
Aug 3, 2011
Messages
24
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.
 

Watch MrExcel Video

Forum statistics

Threads
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...
  • Please i need your help to create formula
    I need a formula in cell B8 to do this >>if b1=1 then multiply ( cell b8) by 10% ,if b1=2 multiply by 20%,if=3 multiply by 30%. Thank you in...
  • Got error while adding column and filter
    Got error while adding column and filter In column Z has some like "Success" and "Error". I want to add column in AA if the Z cell value is...
Top