

You can do that by using the below formula = IF ( A2 = "", "", COUNTIF ( SPLIT ( A2, " " ), "the" ) ) Since the SPLIT function has made it so easy to quickly split a sentence into words, we can further enhance it to give us the count of specific words in a sentence.įor example, suppose you have the following data set and you want to find the occurrence of the word THE in each cell. Get the Word Count of With/Without Specific Words you can use a range of cells that can span rows and columns (but it needs to be contiguous). Note that you don’t need to stick to just one column to use this formula. It’s almost the same formula where I have added the SUM formula and changed the range is the SPLIT part to include a range instead of a single cell.Īnd since I am playing with a range of cells, you need to use ARRAYFORMULA to make sure it gives the right result. = ARRAYFORMULA ( SUM ( COUNTA ( SPLIT ( A2:A4, " " ) ) ) ) You can also extend the above formula to give you the word count of all the text in an entire column. Note that this formula works even if you have any leading, trailing, of double spaces in between the words. If you don’t use the IF function, the formula will return 1 even when the cell is empty. The COUNTA function then simply counts the total number of these delimited values.Īnd the reason I have used the IF formula is to make sure I get a blank when there is no text in the cell. In this formula, my delimiter is a space character, so the SPLIT function would give me an array of text string delimited by the space character. The above formula uses the SPLIT function, which separates the text string based on the delimiter.

The following formula will give you the word count: = IF ( A2 = "", "", COUNTA ( SPLIT ( A2, " " ) ) ) Suppose you have a dataset as shown below and you want to get the word count in each. Count the Number of Lines in a Text in a Cell.Get the Word Count When Words are of a Specific Length.Get the Word Count of With/Without Specific Words.Thanks to all the above posters who opened the way to find my fix. Made a normal backup before making any other changes. Then in the bottom left of my screen, my page count started going back up to 829 pages. HERE lurks the culprit: Under Indents and Spacing tab, General section, unchecked "Collapsed by default". In the Home Menu, Styles section, right clicked the box "Heading 1", selected Modify, clicked Format button, clicked Paragraph. Placed cursor in the first Heading 1 paragraph.

docx that seemed to be missing pages, yet seemed to have the correct word count. doc when a small window opened to state the Outline "Collapsed by default" feature would not be saved. I used the navigation panel to see Find: Graphics and sure enough, there were all 91 images listed, but still only two pages listed (with only a single page visible).Īn OUTLINE FIX: (For my novel of 829 pages with notes, opening it to see it suddenly having only 12 pages! What the freak-?!)įollowing an online search and the above suggested fixes: I was about to save the. Is there a way to see if the objects (images) are still present on the document? It opens and closes slowly (as if the file still contains 40 images). I get my tables and words to appear! That's a good sign, but my images are not present. Has anyone encountered a similar issue? How can I restore my document? The document had about 90 images, only two are visible. The word count seems to have everything, it shows 983 words. The page counter says of 2, while only one page is visible. I opened my word document, which contained about 7 - 8 pages, but now it only shows one page.
