Countifs not returning correct count

ScottyDo

New Member
Joined
Aug 23, 2012
Messages
20
Hi, I'm using:


Norwegian Win 8.1
English MS Office Professional 2016 with Norwegian keyboard


I'm trying to do a count of an item (in column H), that has a 'end-of-contract date' of 14.02.2017 (in column L), that has a 'warranty end date' of 15.02.2016 or earlier (in column J).


Not all items have a warranty end date and thus are blank in column J.


I've used this formula to find these items with blanks and it works just fine.
=COUNTIFS(Dump!H:H;"SC controller";Dump!L:L;"14.02.2017";Dump!J:J;"")


I've manually gone in and checked the returned count and it is correct.


But when I want to find an item with a warranty date less than 16.02.2016, it returns "0", when I know I have approx 2500 items with a warranty end date less than 16.02.2016.


=COUNTIFS(Dump!H:H;"SC controller";Dump!L:L;"14.02.2017";Dump!J:J;"<16.02.2016")


"Dump" is the sheet name where the data lies.


Any ideas why this doesn't work? Mind you the date format we use here is European: dd.mm.yyyy


Cheers and thx for any guidance,
Scott
 
Hi guys,

This is what I did to get it to work. In column P I wrote "=value(J2)" and did that down the whole column.
The result was a number and blanks came up as =.

I used this formula and it did the job....FINALLY. =COUNTIFS(Dump!H:H;A16;Dump!L:L;D9;Dump!P:P;">0";Dump!P:P;"<=15.02.2016")

I want to thank you guys for responding and helping as your input DID get me to think how to get this formula to recognize a number.

Cheers,
Scott
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,215,843
Messages
6,127,240
Members
449,372
Latest member
charlottedv

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