Countifs now working with date format

agamino

New Member
Joined
May 6, 2015
Messages
29
I have the current date format and cannot get a count between two dates. Here is my formula:

=COUNTIFS(N2:N11253,">=01-Apr-15 00:00:00",N2:N11253,"<=30-Apr-15 00:00:00")

any help is appreciated.
 
=ISNUMBER(N2:N11253)=FALSE
That's not exactly what I was asking for...

Need to do
=ISNUMBER(N2) and fill down, so you get ISNUMBER(N3) ISNUMBER(N4) etc...

Anyway, if that one returned false it at least means the one in N2 is NOT a real date.
It's reasonable to assume then that they're all not real dates.

Try copying a blank cell
Highlighting N2:N11253
Right Click - Paste Special - Values - Add - OK
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
OK, maybe I am not doing this right. When I copy a blank cell and highlight one of the cells that should be counted, I end up with a blank cell. I then manually type in the date format and it read the cell. Problem is with 11252 cells this could be a chore to redo all cells.
 
Upvote 0
You're missing a step in the process..

Copy a Blank Cell
Highlight the ENTIRE range of your dates N2:N11253
Right click
Click on Paste Special (don't just use the little icons that slide out)
Select Values
Select ADD <- I think this is the step you missed.
Cllick OK
 
Upvote 0
Is it "Values" or "Formatting & Numbers?" Tried "Values" and since the cell has a "blank" value all cells go blank.
 
Upvote 0
Copying a blank cell and pasting through "Paste Special", Selecting VALUES and ADD produce 41837.7083333333, is this correct?
 
Upvote 0
Yes..

Now, you can go to format cells and apply your desired date/time format.
 
Upvote 0

Forum statistics

Threads
1,215,379
Messages
6,124,609
Members
449,174
Latest member
ExcelfromGermany

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