When i use the MONTH(A3) Function and A3 is blank, excel takes it as a 0! ie. MONTH(0) and returns January as the month because the date in serial is 00-Jan-1900. How do i get around this! Here is my Formula:
I am trying to count the number of months that are used, i have done this with this formula below: It works perfect for all months except for Jan! because it think that blanks cells are a serial date 0.
{=SUM(IF(MONTH(Data!A2:A7)=1,1,0))}
__________________
| A |
1 | Date |
2 | 01-01-05 |
3 | 04-04-05 |
4 | 04-04-05 |
5 | |
6 | 01-01-05 |
7 | |
----------------------
The above formula and data returns Jan Count = 4, but as you can see there is only 2 January!
![]()
PLEASE HELP! Lol
I have tried to use the ISBLANK function but i could not work out how to incorporate it into my problem.
I did Ctrl - Shift - Enter to do an array also as you can see by bracets..
I also Attach a pic of my problem~ Hope it helps!
Matt.
Bookmarks