+ Reply to Thread
Results 1 to 2 of 2

counting

  1. #1
    Registered User
    Join Date
    01-17-2006
    Posts
    5

    counting

    I need help in getting excel to count the number of different number values in a specified range of cells across a row. example:
    1 1 2 should return 2
    0 1 2 should return 3
    2 2 2 should return 0

    Can anyone help? thanks.

  2. #2
    Ken Johnson
    Guest

    Re: counting

    Hi,
    try =SUMPRODUCT(1/COUNTIF(A1:C1,A1:C1)) if your values are in A1:C1
    then fill down.
    Ken Johnson
    PS I think you meant 2 2 2 should return 1, if not then this is not the
    solution you are after.


+ 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