Menu
Home
Forums
New posts
Search forums
Articles
Latest reviews
Search resources
Members
Current visitors
Newsgroups
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Newsgroups
Microsoft Excel
Microsoft Excel Worksheet Functions
Count digits before decimals and after decimals
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Ron Rosenfeld" data-source="post: 13989889"><p>If you are interested only in significant digits, then</p><p></p><p>before Decimal: =FIND(".",A1)-1</p><p>after Decimal: =LEN(A1)-FIND(".",A1)</p><p></p><p>But if you are interested in also counting trailing or leading zeros, you will</p><p>either need to enter the numbers as text, or use VBA to determine the format.</p><p>--ron</p></blockquote><p></p>
[QUOTE="Ron Rosenfeld, post: 13989889"] If you are interested only in significant digits, then before Decimal: =FIND(".",A1)-1 after Decimal: =LEN(A1)-FIND(".",A1) But if you are interested in also counting trailing or leading zeros, you will either need to enter the numbers as text, or use VBA to determine the format. --ron [/QUOTE]
Verification
Post reply
Home
Forums
Newsgroups
Microsoft Excel
Microsoft Excel Worksheet Functions
Count digits before decimals and after decimals
Top