I have been stuck on a formula for a couple of days now. Can anyone help me please?
On one sheet I have a heap of data for industrial equipment. This includes a column of dates for inspections.
On the other sheet I am trying to build a ready reckoner for the end user to see at a glance what is happening at any chosen time.
My problem is I am trying to get a formula to show how many dates in the date column occur in any given month. So if I input January, I can see how many dates are for January; input February and see the number of dates for February and so on.
The formula I have in R8 that nearly works is;
=IF(R7>="0",SUMPRODUCT((MONTH(Equipment!K7:K25)=T7)*1),"")
I currently have ‘dummy data’ on the Equipment sheet. I have input dummy data in rows 7–25 as a test whilst I am still building the tool.
In cell R7 I have a dropdown list to select the desired month to look at.
I have a helper cell in T7 to change the searched month in the formula (January=1, February =2 etc.)
It works fine until I change the formula to look further that the current ‘data’.
I need the working version to look further down the column, at least (K7:K1000)
I.E., =IF(R7>="0",SUMPRODUCT((MONTH(Equipment!K7:K1000)=T7)*1),"")
However because there are blank cells in the date column, R8 shows: #VALUE!
How can I get this to look to K1000, ignoring the blank cells, and return a simple number of times each month occurs in the column?
This is driving me nuts and I would be very grateful for any advice as to how I can fix this.
Thanks.
On one sheet I have a heap of data for industrial equipment. This includes a column of dates for inspections.
On the other sheet I am trying to build a ready reckoner for the end user to see at a glance what is happening at any chosen time.
My problem is I am trying to get a formula to show how many dates in the date column occur in any given month. So if I input January, I can see how many dates are for January; input February and see the number of dates for February and so on.
The formula I have in R8 that nearly works is;
=IF(R7>="0",SUMPRODUCT((MONTH(Equipment!K7:K25)=T7)*1),"")
I currently have ‘dummy data’ on the Equipment sheet. I have input dummy data in rows 7–25 as a test whilst I am still building the tool.
In cell R7 I have a dropdown list to select the desired month to look at.
I have a helper cell in T7 to change the searched month in the formula (January=1, February =2 etc.)
It works fine until I change the formula to look further that the current ‘data’.
I need the working version to look further down the column, at least (K7:K1000)
I.E., =IF(R7>="0",SUMPRODUCT((MONTH(Equipment!K7:K1000)=T7)*1),"")
However because there are blank cells in the date column, R8 shows: #VALUE!
How can I get this to look to K1000, ignoring the blank cells, and return a simple number of times each month occurs in the column?
This is driving me nuts and I would be very grateful for any advice as to how I can fix this.
Thanks.