Fomula ? on SumIfs using date

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,079
Office Version
  1. 365
Platform
  1. Windows
Hi trying to use this by date "07/09/17"), but not working returns 0. Probably need a miner adjustment here. Any help thanks

=SUMIFS($AB1:AB1999,$A1:$A1999,"07/09/17")
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
If the dates in Col A are in date format, try

=SUMIFS($AB1:AB1999,$A1:$A1999,DATEVALUE("07/09/17"))

Dates are stored as integers, the number of days since 1/1/1900. So any formula referencing a date needs to use the integer date value

You could also try

=SUMIFS($AB1:AB1999,$A1:$A1999,DATE(2017,9/7))

HTH
 
Upvote 0
Hi it still returns zero and in column A the format is date
 
Upvote 0
Have you tried the =SUMIFS($AB1:AB1999,$A1:$A1999,DATE(2017,9,7)) version?

Also, it's not obvious where you are but is your Windows date format dd/mm/yyyy or mm/dd/yyyy? that makes a difference.

If you've pasted column A from Access it will have used the MM/DD/YYYY format even if you've got DD/MM/YYYY as a windows setting.
 
Upvote 0
yeah it said you enter to many arguments. I also just changed the format but nothing. Ill try to keep getting it to work
 
Upvote 0
IDK what's wrong then, I tried both and they worked fine for me.
 
Upvote 0
Hi trying to use this by date "07/09/17"), but not working returns 0. Probably need a miner adjustment here. Any help thanks

=SUMIFS($AB1:AB1999,$A1:$A1999,"07/09/17")

Does this...

=SUMIFS($AB1:AB1999,$A1:$A1999,DATE(2017,7,9))

or this succeed?

=SUMIFS($AB1:AB1999,$A1:$A1999,DATE(2017,9,7))
 
Last edited:
Upvote 0
returns 0. I must have something in column A the format that's not making this work. I change to short dat long custom etccccc
 
Upvote 0
Are your dates in A real dates ?
Test with =ISNUMBER(A1) and filled down
Are they True or False ?

If True, do your dates also contain time ?
Test with
=INT(A1)=A1 and filled down
Are they True or False ?
 
Upvote 0

Forum statistics

Threads
1,215,237
Messages
6,123,805
Members
449,127
Latest member
Cyko

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