Sumifs matching 2 criteria

byrdieep

New Member
Joined
Jul 18, 2014
Messages
17
I have data:
D = Amount (currency)
E = Check number OR "CASH" (text)
F = Date (at this point two options are 12/10/2015 OR 1/14/2016 (special m/d/yyyy)
The data is in rows 2 - 203 (row 1 is headings)

I want to sum the total of the "cash" received on 1/14/2016.

I typed this, but the answer is coming out as 0.00, but there are at least 7 cells matching BOTH those criteria.

=SUMIFS(D2:D203,e2:e203,”CASH”,f2:f203,”2/14/2016”)

What is wrong with that? I'm using office 2010 on a windows 8 interface.

All the text "CASH" is in UPPERCASE... would it make a difference if it were mixed case?

Thanks so much!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi,

Is this a typo?, you stated "I want to sum the total of the "cash" received on 1/14/2016.",
but your formula: "=SUMIFS(D2:D203,e2:e203,”CASH”,f2:f203,”2/14/2016”)" refers to a different date?
 
Upvote 0
Remove the quotes from the date, 1/14/2016

Removing the quotes didn't work for me, but the OPs original formula works if the date is correct...

Column D formatted as Currency, E as Text, F as Date


Excel 2010
DEFGHI
1AmountCK #/CashDate
2$10.00123412/10/20151100
3$20.00CASH1/14/2016
4$30.0023451/14/2016
5$40.00345612/10/2015
6$50.00cash12/10/2015
7$60.00Cash12/10/2015
8$70.0045671/14/2016
9$80.0056781/14/2016
10$90.00CasH1/14/2016
Sheet1
Cell Formulas
RangeFormula
H2=SUMIFS(D2:D10,E2:E10,"CASH",F2:F10,"1/14/2016")
I2=SUMIFS(D2:D10,E2:E10,"CASH",F2:F10,1/14/2016)
 
Upvote 0
copying and pasting and adjusting the H2 line worked... I can't tell how that is different than what I had (other than my date discrepancy - BUT I had the formula in 2 cells, on with the January date, and it wasn't working either). Oh well.... At least its working NOW. Thanks so much to everyone.

 
Upvote 0
if you remove the quotes, excel will treat that as a calc...2 div 14 div 2016 = 0.0000708616780045351
2/14/2016
 
Upvote 0
copying and pasting and adjusting the H2 line worked... I can't tell how that is different than what I had (other than my date discrepancy - BUT I had the formula in 2 cells, on with the January date, and it wasn't working either). Oh well.... At least its working NOW. Thanks so much to everyone.


You're welcome, I think I know why your formula didn't work and copying and pasting mine did.
Notice your quote marks in your original formula in Post #1 =SUMIFS(D2:D203,e2:e203,CASH,f2:f203,2/14/2016)
are not the same as
Code:
=SUMIFS(D2:D10,E2:E10,"CASH",F2:F10,"1/14/2016")

Since the quote marks in your formula are not the "standard" quote marks used by Excel, Excel does not recognize them.
Don't know how you got those, maybe copying from another source, but I've read somewhere this will cause problems.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,238
Messages
6,170,939
Members
452,368
Latest member
jayp2104

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