• Count unique codes in a column (Excel 97)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Count unique codes in a column (Excel 97)

    Author
    Topic
    #364407

    I’ve got a column of codes for products. For instance, L879 would be a code. Sometimes the same code will get used twice in a column but I only want to count it once. I need the count of unique items in my list to know how many products I’m dealing with.

    Viewing 0 reply threads
    Author
    Replies
    • #559326

      Ctrl/Shift/Enter:
      =SUM(1/COUNTIF(range,range))
      where range is the range of cells you want to count unique items.

      • #559331

        Says there are too few arguments to complete. Wants a criteria for the COUNTIF function. Am I reading your formula wrong?

        • #559333

          Maybe — did you enter it with the range TWICE? Like
          =SUM(1/COUNTIF(A1:A100,A1:A100))
          and ctrl/shift/enter?

    Viewing 0 reply threads
    Reply To: Count unique codes in a column (Excel 97)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: