Fomula ? on SumIfs using date

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,125
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")
 
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

What do these return?

=COUNT(AB1:AB1999)

=COUNT(A1:A1999)

=COUNTIFS(A1:A1999,DATE(2017,7,9))

=COUNTIFS(A1:A1999,DATE(2017,9,7))
 
Upvote 0

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
So ISNUMBER is false, your dates in A are not really dates. Just text strings that look like dates.

Need to convert them somehow.
Try copying a blank cell, highlighting the column, right click - Paste Special - Values - Add - OK.
 
Upvote 0
ok thanks so they are text strings then. It seems like the data being pulled in is as text strings. So now I need to convert it to paste special. Yes I can record something like you stated above, but is there any easier way maybe to highlight columns and change it and get it out of text strings?
 
Upvote 0
ok I'm good now guys thanks for the feedback. Finding out they were a text string was the kicker.
 
Upvote 0
If it's a string, you could use =DATEVALUE() to convert to a date
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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