+ Reply to Thread
Results 1 to 7 of 7

MODE Function

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    MODE Function

    ??? 2.png

    =CHAR(MODE(CODE(A1:A20))) --> I want VBA
    Attached Files Attached Files
    Last edited by chief_abound; 11-06-2015 at 04:55 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: MODE Function

    range("C1").Value = evaluate("=CHAR(MODE(CODE(A1:A20)))")


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    Re: MODE Function

    Hi! Sixthsense

    Wow excellent! thank you very much

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: MODE Function

    Hi

    Just out of interest, and apart from the obvious that you want the Value I to be returned, with different values in column A what result would you expect. It's a rather odd construction and with different values both alpha numeric and blank it's not immediately obvious how this is working.

    For instance with A in A11 the result is A, but with P or S in A11 the result is either P or S.
    Similarly with P or S in A15 the result is S. With a sorted list of the characters A-T the result is a #NA unless one of the characters is repeated and with your original listed in reverse order the results above are different.

    It's an interesting conundrum and as yet unclear to me. Maybe something to do with the absence of a 2nd MODE element and it appears that the relative order of the characters is a factor.

    I presume this is not your real data and just a representative example, What is your real data and what result would you expect in different circumstances?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    Re: MODE Function

    Hi! Richard Buttrey

    Thank you for advice

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: MODE Function

    ...purely out of interest for my edification how are you using this in the real world and what does the result represent.

  7. #7
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    Re: MODE Function

    I'm Sorry! English will be immature

+ 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. MODE function
    By dpc99999 in forum Excel General
    Replies: 3
    Last Post: 09-14-2009, 12:05 PM
  2. Mode If Function???
    By monkey2003 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-22-2008, 12:36 PM
  3. Mode Function
    By Waffles in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-09-2007, 02:52 PM
  4. The Mode function
    By ampm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-05-2007, 06:03 PM
  5. Function for top 10 list, Mode function works for first and then?
    By Imiel in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-31-2007, 06:50 AM
  6. mode function help
    By arminius in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-20-2007, 04:38 AM
  7. [SOLVED] MODE Function
    By Anita in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-12-2005, 12:30 PM
  8. Mode Function??
    By november678x in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2005, 06:32 PM

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