Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count number of "." characters in a string - XL2K3 1

Status
Not open for further replies.

MeGustaXL

Technical User
Aug 6, 2003
1,055
GB
Dead simple, but can't remember how to do it! [blush]
How do I get Excel to return the number of full stops in a string?
Some examples:

1.1.1 = 2

1.1.1.1.1.2.4 = 6

I've tried
Code:
=COUNTIF(MID(A2,1,LEN(A2)),".")
but that returns an error.

Any better ideas?

Chris

Someday I'll know what I'm donig...damn!

 
Ha Ha! yes, just like that - any ideas how to do it? [wink]

Thanks very much =>*

Chris

Someday I'll know what I'm donig...damn!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top