+ Reply to Thread
Results 1 to 5 of 5

PERCENTILE Using Array Formula

  1. #1
    Registered User
    Join Date
    11-04-2009
    Location
    Perth,Australia
    MS-Off Ver
    Excel 2003
    Posts
    35

    PERCENTILE Using Array Formula

    Hi,
    Please see attachment.I want to use an Array formula to calculate the difference between
    two columns and sum the values >0 and then calculate the PERCENTILE.
    I don't want to create another column.I hope the attached example will be more clear.
    Regards
    Azad
    Attached Files Attached Files

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: PERCENTILE Using Array Formula

    Hi,

    Try this

    =PERCENTILE(IF(B2:B7-A2:A7>0,B2:B7-A2:A7,""),0.95)

    confirmed with CTRL, SHIFT & ENTER
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: PERCENTILE Using Array Formula

    Similar to sweep:

    =PERCENTILE(IF(B2:B7>A2:A7,B2:B7-A2:A7),0.95)
    confirmed with CTRL + SHIFT + ENTER

  4. #4
    Registered User
    Join Date
    11-04-2009
    Location
    Perth,Australia
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: PERCENTILE Using Array Formula

    sweep,
    Worked like a charm.
    Thanks a million

  5. #5
    Registered User
    Join Date
    11-04-2009
    Location
    Perth,Australia
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: PERCENTILE Using Array Formula

    Both Sweep & DonkeyOte solutions worked great.
    Again many thanks to both of you.

+ 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