+ Reply to Thread
Results 1 to 4 of 4

Count Unique values and summarize totals

  1. #1
    Registered User
    Join Date
    10-28-2008
    Location
    Chicago
    MS-Off Ver
    MS365 - 2211
    Posts
    94

    Count Unique values and summarize totals

    I have a workbook I use as my "template" for some projects. I am simple in my excel usage. It is for cable lengths because I work for a place that we need this information. What I have is one column is cable name, one column is cable type, another is cable length. The lengths are fairly standard, say 25', 50' 75' so forth.

    I found a function that will count the unique instances at the bottom of we can call it column c, but it just says my total is 5, as 5 different lengths. I want to some how have a function that says 75' 5, 100' 6 and so forth. I want summarize my different instances. How difficult would this be to do?

    Matt

  2. #2
    Registered User
    Join Date
    09-19-2008
    Location
    Wisconsin
    Posts
    9

    Re: Count Unique values and summarize totals

    You can easily list the different size cables that are available in say column B. In say column C you can use the countif function as follows:

    Countif(C?:C?,"="&B?)

    You will need to replace the ?'s with your range in column C and the row used to identify the length in column B.

    Hope this helps.

  3. #3
    Registered User
    Join Date
    10-28-2008
    Location
    Chicago
    MS-Off Ver
    MS365 - 2211
    Posts
    94

    Re: Count Unique values and summarize totals

    I did not understand that entirely.

    I made a small example of what I am trying to do there is a comment where I want the sums.

    Thank you for the help.

    Matt
    Attached Files Attached Files

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: Count Unique values and summarize totals

    Like this:

    =COUNTIF($C$3:$C$14;LEFT(B17;FIND("'";B17;1)-1))

    For sumarise replace COUNTIF with SUMIF

    (replace ; wIth , if needed)
    Last edited by zbor; 06-26-2009 at 05:12 PM.

+ 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