+ Reply to Thread
Results 1 to 6 of 6

mode function does not work

  1. #1
    Registered User
    Join Date
    01-29-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    70

    mode function does not work

    Please see attached. Why is the result N/A when apparently the most recurring is the letter W?
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    08-13-2012
    Location
    Gardony, Hungary
    MS-Off Ver
    Excel 2003
    Posts
    558

    Re: mode function does not work

    The mode function only works with numbers.
    If an array or reference argument contains text, logical values, or empty cells, those values are ignored; however, cells with the value zero are included.
    http://office.microsoft.com/en-us/ex...010335649.aspx

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: mode function does not work

    MODE function, works only with numbers. You need to use MODE with INDEX & MATCH, to get your result.

    =INDEX(A1:A23,MODE(MATCH(A1:A23,A1:A23,0)))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    01-29-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: mode function does not work

    What can I use in replacement of mode for this matter?

  5. #5
    Registered User
    Join Date
    01-29-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: mode function does not work

    Thank you to both of you for the fast response!

    Both are really helpful!

  6. #6
    Registered User
    Join Date
    01-29-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: mode function does not work

    Does the function =IF(COUNTIF(I937:I938,"---")=COUNT(I937:I938),"-99",INDEX((I937:I938),MODE(MATCH(I937:I938,I937:I938,0)))) will return the symbol --- if it is the most reccurring symbols? I need the mode function to retuen only letters.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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