I have been using the following to sum the number of valuesin a list without counting the same value twice and ignoring any cells wherethere is no data.
=SUMPRODUCT(($V$17:$V$40<>"")/COUNTIF($V$17:$V$40,$V$17:$V$40&""))
This works fine, but in some cells I could have errors ie#VALUE! and this creates an error.
How can the function be modified to ignore any errors incells and also not be restricted to a range of cells ( ie V17:V40 in the above) but cover a whole column ?
Thanks
=SUMPRODUCT(($V$17:$V$40<>"")/COUNTIF($V$17:$V$40,$V$17:$V$40&""))
This works fine, but in some cells I could have errors ie#VALUE! and this creates an error.
How can the function be modified to ignore any errors incells and also not be restricted to a range of cells ( ie V17:V40 in the above) but cover a whole column ?
Thanks