+ Reply to Thread
Results 1 to 4 of 4

Identify multiple mode values, excluding multiple user defined values from the results

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    Tampa
    MS-Off Ver
    Excel 2010
    Posts
    54

    Identify multiple mode values, excluding multiple user defined values from the results

    Hello,

    Currently, I have a workbook that looks at a large range of values and returns the 1st, 2nd, 3rd and 4th mode values in the range.

    The addition I am trying to make is to allow a user to define values to exclude from these mode calculations. I have attached a sample workbook with some general information including my current formulas and the desired results (in green) I am trying to achieve. There is no significance to the numbers I have in the example. The actual numbers are 1-5 digits. I greatly appreciate any assistance. Thank you.

    Drew
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,219

    Re: Identify multiple mode values, excluding multiple user defined values from the results

    Try this in D2:

    =MODE(IF((COUNTIF($A$2:$A$11,$D$6:$L$11)=0)*(COUNTIF($C$2:C2,$D$6:$L$11)=0)*($D$6:$L$11<>""),$D$6:$L$11))

    Copy cross.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Identify multiple mode values, excluding multiple user defined values from the results

    ARRAY formula in E2 then drag across.

    =MODE(IF(($D$6:$L$11="")+(COUNTIF($D$2:D2,$D$6:$L$11)>0)+(COUNTIF($A$1:$A$11,$D$6:$L$11)>0),"",$D$6:$L$11))
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Registered User
    Join Date
    02-18-2014
    Location
    Tampa
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: Identify multiple mode values, excluding multiple user defined values from the results

    Quote Originally Posted by kvsrinivasamurthy View Post
    ARRAY formula in E2 then drag across.

    =MODE(IF(($D$6:$L$11="")+(COUNTIF($D$2:D2,$D$6:$L$11)>0)+(COUNTIF($A$1:$A$11,$D$6:$L$11)>0),"",$D$6:$L$11))
    Quote Originally Posted by Phuocam View Post
    Try this in D2:

    =MODE(IF((COUNTIF($A$2:$A$11,$D$6:$L$11)=0)*(COUNTIF($C$2:C2,$D$6:$L$11)=0)*($D$6:$L$11<>""),$D$6:$L$11))

    Copy cross.
    Both work great! Thank you both

    Drew

+ 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] Lookup to match multiple criteria and return multiple results excluding duplicates.
    By kris3012 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-13-2018, 11:06 AM
  2. Formula to check multiple values for multiple specific results
    By lqangel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-16-2015, 01:29 PM
  3. [SOLVED] Index, Small, Row issue with Multiple Values and need Multiple Results
    By jmantn in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-13-2014, 05:17 PM
  4. Find multiple values in multiple ranges and produce results in a list
    By Sc0tt1e in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2014, 02:11 AM
  5. [SOLVED] Sumifs with multiple lookups with multiple results to lookup other values
    By malisesaucier in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-10-2013, 01:13 AM
  6. User defined function to output multiple values
    By firefly2k8 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-20-2010, 12:03 PM
  7. Multiple Mode Values
    By wsycng in forum Excel General
    Replies: 3
    Last Post: 02-15-2008, 03:15 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