Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2007

Tip: Looking for answers? Try searching our database.

Counting Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TrentA - 19 Oct 2007 01:04 GMT
I have the following formula in a cell

=LEN(SUBSTITUTE(A1,",",""))

This is for counting data such as:

1,2,3,4

If I just want to count the numbers (and not the commas) it works
fine.  But I would like to drag this down and count an entire column
but in some of the cells I have data such as:

1,2*,3,4,5**,6,7*,8

Again I just want to count the numbers, not the commas or the
asteriks.

Thanks
JE McGimpsey - 19 Oct 2007 01:11 GMT
one way:

   =LEN(SUBSTITUTE(SUBSTITUTE(A1,",",""),"*",""))

> I have the following formula in a cell
>
[quoted text clipped - 14 lines]
>
> Thanks
TrentA - 19 Oct 2007 02:16 GMT
Thank you

>one way:
>
[quoted text clipped - 18 lines]
>>
>> Thanks
RagDyer - 19 Oct 2007 01:34 GMT
What return would you expect from:

10,20**,30*,40
?
Signature

Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

>I have the following formula in a cell
>
[quoted text clipped - 14 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.