+ Reply to Thread
Results 1 to 13 of 13

Require a formula to count the digits & Output as percentage

  1. #1
    Registered User
    Join Date
    10-28-2014
    Location
    Bangladesh
    MS-Off Ver
    2007
    Posts
    8

    Unhappy 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%


    Please help
    Last edited by shafin1; 10-28-2014 at 03:03 PM.

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    26,704

    Re: Please help

    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.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    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)
    Richard Buttrey

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    10-28-2014
    Location
    Bangladesh
    MS-Off Ver
    2007
    Posts
    8

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

    Thanx Dear for your kind information

  4. #4
    Forum Guru Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    24,317

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

    Something like this, maybe?
    Attached Files Attached Files
    Glenn



  5. #5
    Registered User
    Join Date
    10-28-2014
    Location
    Bangladesh
    MS-Off Ver
    2007
    Posts
    8

    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. #6
    Forum Guru XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,264

    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
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  7. #7
    Forum Guru Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    24,317

    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.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-28-2014
    Location
    Bangladesh
    MS-Off Ver
    2007
    Posts
    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
    13996352-the-bangladesh-flag.jpg

  9. #9
    Registered User
    Join Date
    10-28-2014
    Location
    Bangladesh
    MS-Off Ver
    2007
    Posts
    8

    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
    Last edited by shafin1; 10-29-2014 at 08:10 AM. Reason: Forgot insert table

  10. #10
    Forum Guru Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    24,317

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

    Try this out.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    10-28-2014
    Location
    Bangladesh
    MS-Off Ver
    2007
    Posts
    8

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

    Glenn Kennedy Dear you saved me Thanks a lot

  12. #12
    Registered User
    Join Date
    10-28-2014
    Location
    Bangladesh
    MS-Off Ver
    2007
    Posts
    8

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


  13. #13
    Forum Guru Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    24,317

    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Bookmarks

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