+ Reply to Thread
Results 1 to 8 of 8

Forumala to get a total unique values and total of them

  1. #1
    Registered User
    Join Date
    09-13-2012
    Location
    Bostan
    MS-Off Ver
    Excel 2003
    Posts
    23

    Forumala to get a total unique values and total of them

    Dear members,

    I am trying this formula since 3 days, but could not succeed.

    Pl. have a look in the attached file and drop a solutions.

    Regards,


    Kaleem...
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Forumala to get a total unique values and total of them

    Hi,

    In cell G5 and copy down:

    =COUNTIF(A:A,F5)

    In cell H5 and copy down:

    =SUMIF(A:A,F5,C:C)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Forumala to get a total unique values and total of them

    Try

    =COUNTIF($A$3:$A$20,$F5)

    =SUMIF($A$3:$A$20,F5,$C$3:$C$20)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Forumala to get a total unique values and total of them

    Use this in F5 to get a unique list of Categories (Drag/Fill down until blanks are returned)
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The use COUNTIF() and SUMIF() as suggested.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    09-13-2012
    Location
    Bostan
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Forumala to get a total unique values and total of them

    Excuse me, in the attached file, in column G5, G6, instead of 2, 3, I have typed 4,5.

    so pl. drop the solutions accordingly.

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Forumala to get a total unique values and total of them

    You also have "Badam" in both catagories A & B.
    Is this correct?

  7. #7
    Registered User
    Join Date
    09-13-2012
    Location
    Bostan
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Forumala to get a total unique values and total of them

    Yes, I have "Badam" item in both category

  8. #8
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Forumala to get a total unique values and total of them

    See if this workbook gives you the result you need
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Total count of unique Values
    By bremen22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-23-2013, 06:48 PM
  2. SQL sentance to give unique values a number in percent of total?
    By alfi83 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-30-2013, 08:26 AM
  3. Formula to calculate total values for several unique IDs
    By sashwin99 in forum Excel General
    Replies: 1
    Last Post: 10-08-2010, 04:56 AM
  4. total count of non-blank cell(s) and unique values
    By esanchezz in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-09-2010, 01:53 PM
  5. Counting values to create a unique total
    By mclarenman2 in forum Excel General
    Replies: 7
    Last Post: 11-05-2008, 05:28 PM

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