Wierd Countifs issue

s_woodbury

New Member
Joined
Feb 26, 2014
Messages
27
So I'm having a weird countifs issue. I'm counting based on three variables but I'm getting a "0" result which isn't correct.

I narrowed the error down to one criteria because if I take it I get results.

Sheet Lead Data Upload contains data
Column K is populated with dates.
They are formatted as "date" type "*3/14/2012".
I want to count only if they are greater than Nov 30, 2015.

Formula:
=COUNTIFS('Lead Data Upload'!K:K,">11/30/2015",'Lead Data Upload'!E:E,P2,'Lead Data Upload'!D:D,B4)

I have tried to put "11/30/2015" in a cell and reference it that way. using ">"&$A$1 that didn't work either.
I changed the date format in K:K to 03/14/2012 - nada.

Any ideas?
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Are your values in column K entered as Dates or Text?
You can confirm with a simple check, like this (for a cell in K with a date in it):
=ISNUMBER(K4)
If it returns FALSE, your entry is Text, and not a valid Date.

Bear in mind that the issue could also be with your other two conditions, and not necessarily the date part.
Try starting out with one condition, and adding one at a time once you have each part working correctly.
 
Upvote 0
Thanks Joe, I did format the column to Date but when I use Isnumber() it returns false. I copy and pasted the column with values only, reformatted the column as dates and still get ISnumber()=false.......hmmmmm?
 
Upvote 0
Try copying a blank cell
Highlight the problematic column of dates
Right Click - Paste Special - Values - Add - OK
 
Upvote 0
Thanks Joe, I did format the column to Date but when I use Isnumber() it returns false. I copy and pasted the column with values only, reformatted the column as dates and still get ISnumber()=false.......hmmmmm?
You can try Jonmo1's suggestion or try using Text to Columns on that column, choosing the appropriate date option (MDY).
 
Upvote 0

Forum statistics

Threads
1,215,479
Messages
6,125,041
Members
449,206
Latest member
Healthydogs

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