G
Gary Thomson
I have the days of the month in row 2, starting in column
A, i.e. March-1, March-2, March-3, etc. These will change
according to which month it is, and so the last day of the
month will fall in a different column dependant on the
month it is (i.e. AE for March, AD for April, etc).
In rows 3 through 500, I have data which relates to each
of these days, and I want to count the number of times
that, say, "x" appears ("x" can be part of a text string,
so I am using the SUMPRODUCT and FIND functions).
At the moment, I have the following formula:
=SUMPRODUCT((ISERROR(FIND(A505,$AE$3:$AE$500))=FALSE)*1),
entered as an array formula (where I have an "x" in cell
A505).
This works fine, but when I change the month to April, it
is picking up the data from the wrong cells.
How can I get this to work automatically?
Do I have to name the range first or something?
A, i.e. March-1, March-2, March-3, etc. These will change
according to which month it is, and so the last day of the
month will fall in a different column dependant on the
month it is (i.e. AE for March, AD for April, etc).
In rows 3 through 500, I have data which relates to each
of these days, and I want to count the number of times
that, say, "x" appears ("x" can be part of a text string,
so I am using the SUMPRODUCT and FIND functions).
At the moment, I have the following formula:
=SUMPRODUCT((ISERROR(FIND(A505,$AE$3:$AE$500))=FALSE)*1),
entered as an array formula (where I have an "x" in cell
A505).
This works fine, but when I change the month to April, it
is picking up the data from the wrong cells.
How can I get this to work automatically?
Do I have to name the range first or something?