+ Reply to Thread
Results 1 to 4 of 4

Count instances in column

  1. #1
    Registered User
    Join Date
    08-29-2007
    Location
    Dover, Kent, UK
    MS-Off Ver
    2003
    Posts
    13

    Count instances in column

    I am attempting to use the code posted at http://www.excelforum.com/excel-gene...-a-column.html
    When I use it instead of getting a sum I get "=COUNTIF(C[-1],RC[-1])
    " shown in column C.
    my column B looks like:
    32000-025
    90001-104
    32000-029
    32000-025
    32000-043
    32000-078
    32000-028
    32000-023
    NOT FITTED
    NOT FITTED
    NOT FITTED
    NOT FITTED
    NOT FITTED
    32000-029
    32000-029
    32000-029
    32000-025
    32000-029
    32000-025
    and I want to count the instances of each unique entry.

    Pete

  2. #2
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post Re: Count instances in column

    Please Login or Register  to view this content.
    copy above formula to column "C" & drag down.

  3. #3
    Registered User
    Join Date
    08-29-2007
    Location
    Dover, Kent, UK
    MS-Off Ver
    2003
    Posts
    13

    Re: Count instances in column

    John,
    That does not work, I get

    32000-025 0
    90001-104 1
    32000-029 1
    32000-025 15
    32000-043 2
    32000-078 35
    32000-028 15
    32000-023 5
    NOT FITTED 4
    NOT FITTED 4
    NOT FITTED 2
    NOT FITTED 71
    NOT FITTED 71
    32000-029 71
    32000-029 71
    32000-029 71
    32000-025 35
    32000-029 35
    32000-025 35

    that does not make sense.

  4. #4
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: Count instances in column

    which cell is the first data cell in column "B",according to that cell name u have to change my formula.for example i have put "B1" but your actual cell may be another one...

    Please Login or Register  to view this content.

+ 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