Results 1 to 2 of 2

Identifying the MODE using two sets of data

Threaded View

  1. #1
    Registered User
    Join Date
    04-16-2014
    Location
    Baltimore
    MS-Off Ver
    Excel 2010
    Posts
    3

    Identifying the MODE using two sets of data

    Hello all,

    I'm new here but have already found a ton of helpful information. Thanks! I have a set of dimensions in two columns (width (column C) and depth (column D)); here's a sample:

    Data.png

    I wanted to find the min, max, and mode dimensions. FYI: My results are in two cells--one cell for width and one for depth, like the input data. This code worked well for finding the minimum depth associated with the minimum width: =INDEX(Input!D18:D217,MATCH(MIN(Input!C18:C217),Input!C18:C217,0))

    However, when I tried to replace "MIN" with "MODE", it returned the depth associated with the first instance of the modal width (IE 57 instead of 55).

    How do I find the mode in: a subset of column D that is based on the mode of C?

    If I want to return the second most-common dimension--the second-degree mode--how would I do that?

    Thanks!!!

    Adam
    Attached Images Attached Images
    Last edited by R.Baltimore; 04-17-2014 at 03:01 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Code skips on Run Mode but runs fine on F8 (Debug Mode)
    By RaquelAR in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-25-2013, 01:05 PM
  2. [SOLVED] Excel 2010 Identifying data changed in cells and Identifying the changed rows
    By SandyLake in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-13-2013, 01:12 AM
  3. Two sets of data for X-axis and 2 sets of data for Y
    By lord_jagganath in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 12-07-2009, 07:44 PM
  4. Can I use VBA to check if the sheet(xxx) is in Page-Break mode or Normal mode ?
    By BaLLZaCH in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-15-2008, 09:03 AM
  5. Replies: 0
    Last Post: 01-07-2005, 04:06 PM

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