Results 1 to 11 of 11

Counting names within a cell

Threaded View

  1. #1
    Registered User
    Join Date
    10-18-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Counting names within a cell

    Hi,

    I have many rows of data formatted in the following way within each cell.

    43598: Joe Bloggs
    38768: John Smith
    97568:
    87231: John Smith


    I would like to count the number of times in each cell that a reference number appears but no name is present next to it (i.e. 1 in the above example). The result can appear in a seperate column next to the data.

    I would assume this is something that could be done with counting the length between carriage returns and/or related to the colons after the reference numbers, unfortunately my excel skills have not come up with a solution and I have not found anything similar enough by searching.

    If this is possible, I am not bothered whether I end up using a cell formula or VB code.

    thanks in advance.
    Last edited by tackit; 10-19-2010 at 04:51 PM. Reason: Solved

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