# Require a formula to count the digits & Output as percentage

1. ## Require a formula to count the digits & Output as percentage

Hi,

I'm trying to get a count of common digit like (1234-2345-2789-1289-2548) = 2 100% 4 50% 8 50% 3 20%.

(02346789 02345789 02346789 03456789 02345789 )= 0 100% 3 100% 4 100% 7 100% 8 100% 9 100% 2 80% 6 60%

Hi, and welcome to the forum. Unfortunately your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem.

To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

(This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

3. ## Re: Require a formula to count the digits & Output as percentage

Thanx Dear for your kind information

4. ## Re: Require a formula to count the digits & Output as percentage

Something like this, maybe?

5. ## Re: Require a formula to count the digits & Output as percentage

Dear Glenn Thanks but not like yours...Glenn see below i mentioned what i exactly need
02346789 02345789 02346789 03456789 02345789 = 0 100% 3 100% 4 100% 7 100% 8 100% 9 100% 2 80% 6 60%

6. ## Re: Require a formula to count the digits & Output as percentage

Hi.

In the example you gave in your first post the numbers were separated by dashes (-), but in the other two examples they are separated by spaces.

Are there any other possible delimiters apart from these two which need to be considered?

Also, can a string have a mixture of two or more different delimiters? For example, is this a possibility:

02346789-02345789 02346789-03456789 02345789

or is the delimiter always the same in a given string?

Regards

7. ## Re: Require a formula to count the digits & Output as percentage

I do not think that you can have looked closely at the suggestion I made. I adjusted some of the source numbers to test the formula. With the source cells pre-formatted as text, it works perfectly - so far as I can see. However, if you had intended that the whole string should have been in ONE cell, not several, please let me know. It was not at all clear from your original post.

8. ## Re: Require a formula to count the digits & Output as percentage

Dear Glenn Kennedy You are so good ....... Exactly i was looking for that formula Thank you very very much dear but one thing it can be in one cell & how can i add 20 more on the same cell please advise

9. ## Re: Require a formula to count the digits & Output as percentage

Dear Glenn Here is example in one cell & output should be in same line
 02346789 02345789 02346789 03456789 02345789 0123478 0345789 0134678 12345789 146789 0123478 0134678 146789 246789 02468 15678 014678 01468 6348

10. ## Re: Require a formula to count the digits & Output as percentage

Try this out.

11. ## Re: Require a formula to count the digits & Output as percentage

Glenn Kennedy Dear you saved me Thanks a lot

13. ## Re: Require a formula to count the digits & Output as percentage

You're welcome. Which part of Bangladesh are you in? i've been to Dhaka many times and to the Khulna area once.

If that's the problem solved, please mark the thread as solved and (preferably) click the Add Reputation button at th efoot of the posts of thse who helped you reach a solution.

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1