Hi,
I would like to count the number of times a specific date appears in a range and only return a value if the result is not 0.
Example data:
A1 B1 C1 D1
01/01/2013 05/01/2013 01/01/2013 02/01/2013
So based on the above data, the formula would look at cell c1 and count how many times the date specified occurs between A1 and B1. Which would return a value of 1.
I have tried the following: =IF(COUNTIFS($A$1:$B$1, ">="&C$1)=0,"",COUNTIFS($A$1:$B$1, ">="&C$1)) but the problem is it counts the date twice returning a value of 2. Removing the > symbol fixes it but then if asked to look at cell D1 it doesn't return a value.
Could someone please help?
Thanks in advance!![]()
Bookmarks