Hi
The array entered formula
{=SUM(LEN((SUBSTITUTE(A1:C1,",",""))))}
will give the correct result, PROVIDING that all of your numbers are single
digit.
To enter or amend an array formula, use Control+Shift+Enter (CSE) not just
Enter.
Do not type the curly braces { } yourself. When you use CSE, Excel will
insert them around your formula.
--
Regards
Roger Govier
afdmello said:
No bob Column B is two numbers 4 and 5.
if I use the count formula it returns 3 as 4 and 5 are counted as 1
__________ Information from ESET Smart Security, version of virus
signature database 4526 (20091020) __________
Manolo
I entered your formula.
In the cell it is showing #value
but when I click on the fx button it is showing the result as 4 can you
direct me towards the error please
I suggest not to count empty cells as 1. Array-enter:
=COUNTA(A1:C1)+SUM(LEN(A1:C1)-LEN(SUBSTITUTE(A1:C1,",","")))
Of course, ",," would be counted as 3.
Regards,
Bernd
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.