I need to RIGHT(VALUE,2)<>"00" inside a SUMIFS statement

aronlmin

New Member
Joined
Sep 8, 2015
Messages
3
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]Cost Code[/TD]
[TD]Type[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]1000-00[/TD]
[TD]FIELD[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]1000-00[/TD]
[TD]SHOP[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]1000-02[/TD]
[TD]FIELD[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD]1000-03[/TD]
[TD]SHOP[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]

I need to do a sumifs statement for anything "Type" of "FIELD" and it must exclude any "Cost Code" ending in "00"

I have looked online and have not found any examples for using the LEFT, RIGHT, or MID methods within a SUMIFS statement

the correct answer should result in 3

In essence it im trying to figure out something like...
=SUMIFS(C2:C5,B2:B5,"FIELD",A2:A5,RIGHT(???,2)<>"00")


thanks
 
Last edited:

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,223,909
Messages
6,175,315
Members
452,634
Latest member
cpostell

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top