Steve Bogdanoff
New Member
- Joined
- May 11, 2010
- Messages
- 12
I am using a formula that counts the number of non-null cells in a filtered data set on range A1:A25. Here is the formula:
=SUMPRODUCT(SUBTOTAL(103,OFFSET(Sheet1!A1:Sheet1!A25,ROW(Sheet1!A1:Sheet1!A25)-MIN(ROW(Sheet1!A1:Sheet1!A25)),0,1,1)),--(Sheet1!A1:Sheet1!A25<>""))
The last argument is what looks for non-null cells.
Question: does anyone know how to change the non-null criteria into one that uses an Excel wildcard character, e.g., looking for all cells that begin with the character "r" .
I tried replacing the (Sheet1!A1:Sheet1!25<>"") argument with ...
(Sheet1!A1:Sheet1A2="r*") but that did not produce the correct result.
Any helpful ideas would be appreciated!
thanks,
Steve Bogdanoff
=SUMPRODUCT(SUBTOTAL(103,OFFSET(Sheet1!A1:Sheet1!A25,ROW(Sheet1!A1:Sheet1!A25)-MIN(ROW(Sheet1!A1:Sheet1!A25)),0,1,1)),--(Sheet1!A1:Sheet1!A25<>""))
The last argument is what looks for non-null cells.
Question: does anyone know how to change the non-null criteria into one that uses an Excel wildcard character, e.g., looking for all cells that begin with the character "r" .
I tried replacing the (Sheet1!A1:Sheet1!25<>"") argument with ...
(Sheet1!A1:Sheet1A2="r*") but that did not produce the correct result.
Any helpful ideas would be appreciated!
thanks,
Steve Bogdanoff