+ Reply to Thread
Results 1 to 6 of 6

Help with formula - multiple conditions & ranking

  1. #1
    Registered User
    Join Date
    01-19-2019
    Location
    Berlin
    MS-Off Ver
    Excel for MAC V15.40
    Posts
    3

    Help with formula - multiple conditions & ranking

    Hello everyone,

    i'm pretty new to excel and i'd need some help with a formula.
    This is how my sheet looks like

    A B C D
    AX W bananas apples
    NE W limes
    ZQ L computers apples
    ZQ W Books
    BT W carrots wine

    Column A contains a list of 6 different Values to choose
    Column B contains only 2 values
    Column C+D containing a list with 30+ values, some cells are empty
    The sheet has about 200 rows

    What I want to evaluate is: What is the most frequent occurring value of column C+D ( also 2nd and 3rd most frequent) IF "ZQ" (column A) & "W" (column B) is given

    If anyone knows how to do this i'd be more than happy!!

    Thank you!
    Jim

  2. #2
    Registered User
    Join Date
    01-19-2019
    Location
    Antwerp, Belgium
    MS-Off Ver
    2010
    Posts
    1

    Re: Help with formula - multiple conditions & ranking

    Hi SlimJim77,

    Adding a column and creating a pivot table would be the easiest way to go I believe.

    In Column E2, enter the following formula:
    = C2&D2

    For your data, this should return "bananasappels"
    Now select all the data involved and create a pivottable.

    Put column A and column B under "Report filter" and put column E in "Row Labels" and "Values".
    This should result in a table showing exactly how often each combination occurred.
    Via the filter menu, you can add the filters you listed.

    Hope this helps!

    Best regards

  3. #3
    Registered User
    Join Date
    01-19-2019
    Location
    Berlin
    MS-Off Ver
    Excel for MAC V15.40
    Posts
    3

    Re: Help with formula - multiple conditions & ranking

    Hi martvg,

    thank you for your useful hint!
    It was in the end even more easy just by applying the pivot table on the data from my sheet.
    Now I can make all kinds of variations with just a few clicks, perfect!

    Best,

    SlimJim

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Help with formula - multiple conditions & ranking

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    01-19-2019
    Location
    Berlin
    MS-Off Ver
    Excel for MAC V15.40
    Posts
    3

    Re: Help with formula - multiple conditions & ranking

    Hello Ali,

    i did mark it as solved and double checked if it's visible, and it is visible.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Help with formula - multiple conditions & ranking

    Yes - you must have been doing so as I posted.

+ 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. Complicated ranking off of multiple variables formula
    By broman5000 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-09-2018, 11:40 AM
  2. [SOLVED] formula for ranking scores by multiple criteria
    By jholiday78 in forum Excel General
    Replies: 4
    Last Post: 02-19-2017, 11:23 AM
  3. Ranking Formula Query: Groups or Conditions
    By Winship in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2016, 03:04 PM
  4. Create formula for multiple criteria ranking
    By DavidRoger in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2015, 03:50 AM
  5. Replies: 3
    Last Post: 10-19-2014, 09:43 PM
  6. [SOLVED] Excel Ranking with multiple conditions
    By happyahamed in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-25-2013, 08:46 AM
  7. Ranking Multiple Duplicates? Formula help
    By auswtz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-03-2013, 02:11 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