+ Reply to Thread
Results 1 to 5 of 5

Formula to count the occurance of values seperated by a comma

  1. #1
    Registered User
    Join Date
    09-03-2012
    Location
    Christchurch New Zealand
    MS-Off Ver
    Excel 2013
    Posts
    45

    Formula to count the occurance of values seperated by a comma

    Can any one help with a formula to count how many time data seperated by a comma shows up
    E.g Cell F3 has 1,2,3,6 Cell F4 has 2,3,7 i need a formula that can count how many 1s 2s 3s ect
    I have Tried CountIF but it has not worked
    Any Suggestions?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Formula to count the occurance of values seperated by a comma

    How large are the numbers, do you go in to double or treble figures?

    I assume there will only be one instance (maximum) of each number per cell?
    Audere est facere

  3. #3
    Registered User
    Join Date
    09-03-2012
    Location
    Christchurch New Zealand
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Formula to count the occurance of values seperated by a comma

    the numbers are 1-19 no treble figues
    The numbers will have one instance per cell.
    I need to sum up a collum and know how many 1s have been typed ect

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Formula to count the occurance of values seperated by a comma

    using your example:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Where G1 contains the number you are looking to count
    (change the ranges where needed)

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  5. #5
    Registered User
    Join Date
    09-03-2012
    Location
    Christchurch New Zealand
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Formula to count the occurance of values seperated by a comma

    Thanks very much worked like a charm

+ 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