Formula For Word Count In Excel. Substitute a1 this part of the formula removes all the spaces from the text. Simply follow these steps.
Simply follow these steps. To fix this you can add an if statement to check for blank cells. Popular course in this category.
In the formula a2 is the cell you will count number of words inside.
If a2 0 len trim a2 len substitute a2 1. Here are two formulas for you to count words in a single cell and in a range cells. The formula to count words from a cell to count words from a cell you need to combine len function with substitute function. Please enter this formula if len trim a2 0 0 len trim a2 len substitute a2 1 into the formula bar and then press the enter key.