Count total characters in a range

An excel formula to count total characters in a range

Related Functions

Sponsored Link

 Count total characters in a range

If you want to count the total characters in a range of cells, you can do with a formula that uses LEN, along with the SUMPRODUCT function. In the generic form of the formula above, rng represents a range of cells that contain text.

In the example, the active cell contains this formula:

 
=SUMPRODUCT(LEN(B3:B6))

Here's how the formula works:

SUMPRODUCT accepts the range B3:B6 as an array of four cells. For each cell in the array, LEN calculates the length of the text as a number. The result is an array that contains 4 numbers. SUMPRODUCT then sums the items in this array and returns the total.

Sponsored Link

0 votes. 0 / 5