+ Reply to Thread
Results 1 to 3 of 3

Calculation with non zero array values

  1. #1
    Registered User
    Join Date
    11-07-2011
    Location
    Glendale, CO
    MS-Off Ver
    Excel 2010
    Posts
    2

    Calculation with non zero array values

    Hi there,
    Does anyone know how to perform an array calculation with only non zero values?

    Specifically, I wish to calculate the first quartile of an array of values that contains zeros (but remove the zeros during the calculation). I've tried a formula like this:

    =QUARTILE.INC(IF(C13:V13>0, C13:V13),1)

    I'm using Excel 2010. Your help is most appreciated.

    Cheers!
    Last edited by PleaseExcelHelp; 11-07-2011 at 06:04 PM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Calculation with non zero array values

    What result did you get with that formula? It should work but you need to confirm with CTRL+SHIFT+ENTER

    Put formula in cell then press F2 key to select and hold down CTRL and SHIFT keys and press ENTER so that curly braces like { and } appear around the formula
    Audere est facere

  3. #3
    Registered User
    Join Date
    11-07-2011
    Location
    Glendale, CO
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Calculation with non zero array values

    Hi daddylonglegs,
    Thanks for the tip. Worked like a charm! I had read posts that stated to perform CTRL+SHIFT+ENTER, to properly perform the array function, but earlier today I would only return with the function surrounded by { }. The difference now is the F2 key (I think, now the return is numeric & correct).

    Thanks so much!

+ 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