![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Posts: 91
|
I have a number and i want to count the number of digits which are present in the number.
ie 123456 iwant to count how many digits their is ie in this case their is 6. |
|
|
|
|
|
#2 | |
|
Board Regular
Join Date: Feb 2002
Posts: 7,743
|
Quote:
|
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
|
if it's always a number with no decimals, try :
=IF(ISNUMBER(a1),LEN(a1)) (where a1 houses my example number) _________________ Hope this helps, Chris [ This Message was edited by: Chris Davison on 2002-04-16 14:06 ] |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
=LEN(123456)
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|