1

I've been given a spreadsheet with a series of values in a column, made from summing individual numbers. e.g. =1+2+3

I'm looking for a way to count the number of numbers that have been summed (i.e. 3)?

But I can't seem to find any Excel formulas which will run on other formulas. Anything like LEN just runs on the result, not the formula.

Thanks.

1 Answer 1

1

If the formulas are like your example then you can use FORMULATEXT function like this

=LEN(FORMULATEXT(A2))-LEN(SUBSTITUTE(FORMULATEXT(A2),"+",""))+1

That counts the number of "+"s in your formula and adds 1 which should be the count of numbers added

FORMULATEXT function is available in Excel 2013 and later versions

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.