+ Reply to Thread
Results 1 to 5 of 5

Exclude Blank Cells from Mode Array

  1. #1
    Registered User
    Join Date
    03-25-2019
    Location
    Bay Area, California
    MS-Off Ver
    2016
    Posts
    4

    Exclude Blank Cells from Mode Array

    Hello, I need to edit the following function to exclude blank values:

    =MODE(IF(ISNA(MATCH(C10:C259,C3:C3,0)),C10:C259))

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Exclude Blank Cells from Mode Array

    array formula

    =MODE(IF($C$10:$C$259<>0,$C$10:$C$259))

  3. #3
    Registered User
    Join Date
    03-25-2019
    Location
    Bay Area, California
    MS-Off Ver
    2016
    Posts
    4

    Re: Exclude Blank Cells from Mode Array

    I tried adding that, but get a REF error... I'm trying to get the 2nd most frequent value, excluding blanks...

    =MODE(IF(C10:C259<>0,C10:C259(ISNA(MATCH(C10:C259,C3:C3,0)),C10:C259,"")))

  4. #4
    Registered User
    Join Date
    03-25-2019
    Location
    Bay Area, California
    MS-Off Ver
    2016
    Posts
    4

    Re: Exclude Blank Cells from Mode Array

    Quote Originally Posted by dosydos View Post
    array formula

    =MODE(IF($C$10:$C$259<>0,$C$10:$C$259))
    I tried adding that, but get a REF error... I'm trying to get the 2nd most frequent value, excluding blanks...

    =MODE(IF(C10:C259<>0,C10:C259(ISNA(MATCH(C10:C259,C3:C3,0)),C10:C259,"")))

  5. #5
    Registered User
    Join Date
    03-25-2019
    Location
    Bay Area, California
    MS-Off Ver
    2016
    Posts
    4

    Re: Exclude Blank Cells from Mode Array

    Quote Originally Posted by MSWAL View Post
    I tried adding that, but get a REF error... I'm trying to get the 2nd most frequent value, excluding blanks...

    =MODE(IF(C10:C259<>0,C10:C259(ISNA(MATCH(C10:C259,C3:C3,0)),C10:C259,"")))
    I just figured it out. Here's my code:

    =MODE(IF(C10:C259<>"",IF(ISNA(MATCH(C10:C259,C3:C3,0)),C10:C259,"")))

    Thanks for the help!

+ 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] Exclude Blank Rows With Array
    By billgyrotech in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-15-2016, 11:25 AM
  2. exclude 0 and blank cells
    By Cyanide in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-17-2016, 09:59 AM
  3. [SOLVED] Count If/Or and Exclude blank cells
    By Thanks4helping in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2016, 04:56 PM
  4. How to exclude range of cells from an array
    By vytenis12 in forum Excel General
    Replies: 37
    Last Post: 08-24-2015, 02:49 AM
  5. Exclude blank/FALSE cells in in Excel array IF formula output
    By sushix in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-08-2013, 11:42 AM
  6. Sum multiple cells, but exclude blank ones
    By GorillaBoze in forum Excel General
    Replies: 1
    Last Post: 12-23-2010, 01:37 PM
  7. [SOLVED] Exclude blank cells from a range?
    By achidsey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-11-2005, 10:05 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