+ Reply to Thread
Results 1 to 7 of 7

Mode Help

  1. #1
    Registered User
    Join Date
    06-29-2017
    Location
    Denver, Colorado
    MS-Off Ver
    2016
    Posts
    6

    Mode Help

    Hi!

    I have a column of dates in this format: 1/1/2017. I need to find the most commonly occurring month in the list and have the result displayed as the full name of the most commonly occurring month (e.g. January). I need this all in one formula. Thank you!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Mode Help

    Try this formula entered as an Array

    =MODE(MONTH(B1:B10))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

  3. #3
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    19,679

    Re: Mode Help

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This is an array formula. After typing in the formula, do not hit ENTER, instead hit CTRL+SHIFT+ENTER. You have done it correctly if the formula in the formula box has {braces} around it. You cannot type in the braces; they are just an indicator that it is an array formula.

    Change A1:A7 to your actual range.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Mode Help

    Yep, I missed the part about returning it as the full month name.

    Try
    =TEXT(MODE(MONTH(B1:B10))*29,"mmmm")

  5. #5
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    19,679

    Re: Mode Help

    Quote Originally Posted by Jonmo1 View Post
    =TEXT(MODE(MONTH(B1:B10))*29,"mmmm")
    Clever, that

  6. #6
    Registered User
    Join Date
    06-29-2017
    Location
    Denver, Colorado
    MS-Off Ver
    2016
    Posts
    6

    Re: Mode Help

    Thank you!!!

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Mode Help

    You're welcome.

+ 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. Replies: 1
    Last Post: 06-22-2017, 02:06 AM
  2. Trying to get the Mode, or Average if there's no MODE in a formula
    By jackmcguigan1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-18-2016, 05:00 PM
  3. [SOLVED] VBA code works in debug mode but misses steps running in normal mode
    By supereeg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2016, 05:42 AM
  4. VBA AutoFilter does not Work in run mode, only in debug mode
    By aganove in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 11-19-2015, 04:32 PM
  5. [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
  6. 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
  7. Replies: 0
    Last Post: 01-07-2005, 04:06 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