+ Reply to Thread
Results 1 to 3 of 3

Count and insert unique values

Hybrid View

  1. #1
    Registered User
    Join Date
    03-25-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    21

    Count and insert unique values

    Hi Forum!
    Need help how to COUNT AND INSERT UNIQUE VALUES?

    Thank You!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Count and insert unique values

    Pivot Table?
    Attached Files Attached Files

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Count and insert unique values

    hi mnur. in L1:
    =SUM(IF(FREQUENCY(IF($B$2:$B$25<>"",MATCH($B$2:$B$25,$B$2:$B$25,0)),ROW($B$2:$B$25)-ROW($B$2)+1),1))

    in J3:
    =INDEX($B$2:$B$25,MATCH(0,IF($B$2:$B$25<>"",COUNTIF(J$2:J2,$B$2:$B$25)),0))

    in K3:
    =COUNTIF($B$2:$B$25,J3)

    in L3:
    =SUMIF($B$2:$B$25,J3,$C$2:$C$25)

    L1 & J3 contains array formulas...confirmed by pressing CTRL-SHIFT-ENTER to activate the array. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL-SHIFT-ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    another alternative is to use pivot tables
    Attached Files Attached Files

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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