+ Reply to Thread
Results 1 to 4 of 4

MODE function

  1. #1
    Registered User
    Join Date
    12-15-2008
    Location
    Kent England
    Posts
    27

    MODE function

    Hi

    I’m using excel 2003 and I need help with the MODE function.

    I have a spreadsheet with 142 work types’ rows of work with each one showing the last 13 months of work received. I have set up a mode function for each work type, but for the ones when excel cannot work out the mode it puts n/a in and I have to do them manually, by looking at the last 13 months data and basically guessing a mode figure – which is a pain (e.g. if there was 13 different numbers from say 120 – 135 excel would give n/a but I would put the mode at around 128. As this spreadsheet gets updated monthly is there a way I can trick excel into giving a mode figure, or a figure close to what the mode should be.

    I have attached a sample of the spreadsheet.

    Thanks for any help
    Attached Files Attached Files
    Last edited by dpc99999; 09-15-2009 at 11:54 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Help with the MODE function

    When I opened your workbook, none of the MODE calculations came up "n/a". Which values are giving you this? Is there anything unusual about that row of data?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,712

    Re: Help with the MODE function

    Perhaps calculate the median if the mode is #N/A, i.e.

    =IF(ISNA(MODE(C5:O5)),MEDIAN(C5:O5),MODE(C5:O5))

  4. #4
    Registered User
    Join Date
    12-15-2008
    Location
    Kent England
    Posts
    27

    Re: Help with the MODE function

    Thanks daddylonglegs for the formula - if there is no may of getting excel to show mode - then that's they way I will have to go.

    p.s there was no n/a on that spreadsheet as it was a sample of last months and had already removed the n/a and put in my own n/a's - sorry if this confused anyone.

+ 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