Using Dates as Ranges in SUMIFS

reducedjuice

Board Regular
Joined
Oct 29, 2008
Messages
99
I'm wokring on a SUMIFS formula (obviously in Excel 2007) that seems to be formatted correctly, but is returning resuts of "0" for all when there shoudl be other values, so I'm in troubleshooting mode. If it helps, the original thread explaining my scenario is here.

General question on SUMIFS:

I have mutiple CriteriaRanges of dates. These ranges are referencing different columns of dates, and when I look at the Function Arguments by clicking Fx, I see that the formula is reading some of the dates in their DD-MMM-YY format, while others are reading it in the text format (ie. 39279). The question then is, does it read these 2 dates the same even though they are in different formats? Or, do I need to ensure that all date ranges are in the same format?

Thanks!
 

RalphA

Well-known Member
Joined
May 14, 2003
Messages
3,829
Yes, each date must be in proper Date format. It seems to me that the ones that appear as mm-dd-yyyy are acutally in text format.
 
Last edited:

reducedjuice

Board Regular
Joined
Oct 29, 2008
Messages
99
Yes, each date must be in proper Date format. It seems to me that the ones that appear as mm-dd-yyyy are acutally in text format.
Thanks, that was indeed the problem. The data that I had imported, while appearing as a date, was actually in text format. All better now!
 

RalphA

Well-known Member
Joined
May 14, 2003
Messages
3,829
I went to your original site, and saw your anser to domenic, indicating that all was well! I recommend that ou return to the otiginal thread, and post there, as it always badly received when an origiinal poster opens a second thread on the same problem or subject. Your problem seems contained on you spreadsheet, so, for me to even try to help you farther, I would have to have a copy of the problem sheet, so I could investigate each one of the values, to see which one(s) are causing your problem, and why. But, once you post on the original thread, I suppose domenic will take up your problem again, assuming you add enough new data to allow him to come up with a more proper solution.
 

reducedjuice

Board Regular
Joined
Oct 29, 2008
Messages
99
Thanks Ralph. Yes, I erroneously posted the same question twice, so apologies for wasting your time there! I appreciate your feedback.

Cheers.
 

RalphA

Well-known Member
Joined
May 14, 2003
Messages
3,829
Sorry, I missed reading your "All is well, now" reply. I am happy to know that your problem was resolved that simply.
 

Forum statistics

Threads
1,081,530
Messages
5,359,347
Members
400,524
Latest member
Excelbat

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top