+ Reply to Thread
Results 1 to 6 of 6

Most common value and it's most common value

  1. #1
    Registered User
    Join Date
    10-01-2019
    Location
    Turkey
    MS-Off Ver
    2016
    Posts
    3

    Question Most common value and it's most common value

    Hi dear mentors
    i want to do like this;
    There is an item table with option no, items and its option values are not sorted,
    i want to do from you can formula give me the 1st 2nd 3rd.... Most preffered item name and their most preffered option value like this
    Formül.jpg
    Thanks in advance and kindly regards of mine
    Attached Files Attached Files
    Last edited by kskbeko; 10-06-2019 at 09:35 AM.

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Most common value and it's most common value

    It would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Do not try to use the Paperclip icon, as this does not work on this forum.

  3. #3
    Registered User
    Join Date
    10-01-2019
    Location
    Turkey
    MS-Off Ver
    2016
    Posts
    3

    Re: Most common value and it's most common value

    i did as you want sir

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Most common value and it's most common value

    Pivot table
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-01-2019
    Location
    Turkey
    MS-Off Ver
    2016
    Posts
    3

    Re: Most common value and it's most common value

    Quote Originally Posted by torachan View Post
    Pivot table
    Thank you sir but in your edit there give me sum of values, i don't want sum of options values i just want most common item and theirs most common option number, from most to less as i showed above. if i might use pivot table how to ?

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Most common value and it's most common value

    Hello kskbeko and Welcome to Excel Forum.
    This proposal employs two helper columns (C:D) which may be moved and/or hidden for aesthetic purposes.
    Column C is populated using: =IF(COUNTIFS(A$2:A2,A2)=1,COUNTIFS(A$2:A$13,A2),"")
    Column D is populated using: =COUNTIFS(A$2:A$13,A2,B$2:B$13,B2)
    The most preferred item column is populated using: =INDEX(A$2:A$13,MATCH(LARGE(C$2:C$13,ROWS(A$1:A1)),C$2:C$13,0))
    The most preferred option column is populated using: =INDEX(B$2:B$13,AGGREGATE(15,6,(ROW(B$2:B$13)-ROW(B$1))/(A$2:A$13=E16)/(D$2:D$13=AGGREGATE(14,6,D$2:D$13/(A$2:A$13=E16),1)),1))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] 3 most common #'s
    By jackf-nc in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-05-2016, 02:04 PM
  2. [SOLVED] common controls 6.0
    By CostCare in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-20-2015, 03:01 PM
  3. Return most common, 2nd common...within the data range
    By tantcu in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2015, 06:06 PM
  4. Replies: 1
    Last Post: 09-26-2014, 04:47 PM
  5. Need help with sorting a column by most common to least common
    By mikenmike0001 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-06-2011, 04:28 PM
  6. 2nd most common value
    By navigator25 in forum Excel General
    Replies: 4
    Last Post: 01-23-2009, 08:47 AM
  7. Finding the most common (and 2nd, 3rd most common) text
    By sprite_green in forum Excel General
    Replies: 2
    Last Post: 11-23-2006, 11:56 AM

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