+ Reply to Thread
Results 1 to 2 of 2

Large function doesn't work with negative numbers

  1. #1
    Registered User
    Join Date
    08-21-2013
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    1

    Large function doesn't work with negative numbers

    I have a row of numbers and I am trying to find the average of the two highest numbers.

    When the second highest number is negative and would result in the average being negative, I still get a positive result.

    For instance, in the range of 5 cells I have 3 blanks and -7 and 3. The following formula returns and average of 1.5.

    =AVERAGE(LARGE(N50:O50,{1,2}))

    Any ideas?

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Large function doesn't work with negative numbers

    I do not replicate the issue. If I put -7 into C3 and 3 into E3 (D3, F3, and G3 are all empty), the formula =AVERAGE(LARGE(C3:G3,{1,2})) returns the expected value of -2.
    If I enter 0s into those previously blank cells, then I get an expected result of 1.5, because the two largest values are 3 and 0 and the average of those 2 values is 1.5. Is that the scenario? Those cells are not blank but 0?
    I note that N50:O50 is only 2 cells, not 5.
    I think that, before we can provide good suggestions, we will need to better understand exactly what you have in your spreadsheet. Can you describe it in more detail? Maybe upload a sample file?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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] Subtracting text boxes from one another doesn't work if answer is negative.
    By colvinb in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-19-2012, 06:26 AM
  2. advanced filter macro doesn't work on large data set
    By bullkater in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-02-2009, 08:05 AM
  3. Basic VLookup function doesn't work in large data set from msquery
    By eldoradotower in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-12-2008, 03:17 AM
  4. Brackets are negative-sum doesn't work?
    By weaver00 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-28-2008, 09:09 AM
  5. Replies: 1
    Last Post: 07-28-2006, 02:15 AM
  6. Replies: 0
    Last Post: 07-27-2006, 10:15 PM
  7. [SOLVED] Excel Filtering doesn't work with large files
    By Andy in forum Excel General
    Replies: 6
    Last Post: 03-29-2005, 03: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