Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: microsoft word number count

24 Mar 2011   #1
tapuz

windows 8.1 pro
 
 
microsoft word number count

i have a word document with many numbers in it, i would like to know is there a way to get the amount of numbers separately, similar to the word count option.


My System SpecsSystem Spec
.
24 Mar 2011   #2
Dwarf

Windows 8.1 Pro RTM x64
 
 

I'm not sure about this. It could possibly be done with a macro, but I haven't got any experience of creating these.
My System SpecsSystem Spec
24 Mar 2011   #3
clunkfish

Windows 7 Enterprise x64
 
 

Quote   Quote: Originally Posted by tapuz View Post
i have a word document with many numbers in it, i would like to know is there a way to get the amount of numbers separately, similar to the word count option.
One way to do this would be via Find. If you set Word to find ^# then it will find every digit in the document and tell you how many there are.

However, if you want to count how many numbers (so that, for example, 456 counts as one number, not three), then it would be more difficult. You'd need to know the length of the longest number in your document. As an example, if the longest number has four digits in it, you start by counting how many three digit strings there are, then the two digit strings, then the one digit strings:
  1. Find ^#^#^# and note down the result - call it a.
  2. Find ^#^# and note down the result - call it b.
  3. Find ^# and note down the result - call it c.
  4. The total number of separate numbers is given by (c-b-a).
Hope this helps

If you're dealing with numbers with decimal points in them, it gets more complicated...
My System SpecsSystem Spec
.

24 Mar 2011   #4
tapuz

windows 8.1 pro
 
 

dwarf, when i got your email about a macro, i thought how would i do it (i have many macros that i wrote), and i thought of find, before i got a chance to do it, "clunkfish" already did the whole thing.

thank you very much, have been looking for this for a very long time, and for some reason did not cross my mind the macro option.
My System SpecsSystem Spec
Reply

 microsoft word number count




Thread Tools




Similar help and support threads
Thread Forum
Number of characters in Word text.
Word shows the number of words in the text on the state bar at the bottom. Can it be adjusted to show the number of characters? Thank you very much in advance.
Microsoft Office
Word 2010:Page Number option greyed out
If I open a new document in Word 2010 and select the Insert tab, the Page Number option in the Header and Footer group is greyed out. Ken
Microsoft Office
Word 07 TOC error: number cannot be represented in specified format
Hi I've done dozens of ToC's in Word without problem, but one file is giving me trouble. Using the field {TOC \o "1-4" \h \z \u}, in Page View instead of page numbers I get: Error! Number cannot be represented in specified format. I have another field-based ToC in the document with the...
Microsoft Office
Page Number Problem - Word 2007
If I insert page number 2 in a letter in Word 2007 it automatically puts this in a header and gives the first page number 1. (Word/Insert/Page number etc.) If I remove page number 1 from the first page it also removes page number 2 from the second page. So how can I start numbering the pages in a...
Microsoft Office
Seven's not always Microsoft's lucky number:
Source - Seven's not always Microsoft's lucky number: Dynamics NAV 7 ERP delayed | All about Microsoft | ZDNet.com
News
At Microsoft, is age more than just a number?
Source - At Microsoft, is age more than just a number? | All about Microsoft | ZDNet.com
News


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:05.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App