+ Reply to Thread
Results 1 to 4 of 4

Arrays and Percentile rank function

Hybrid View

  1. #1
    Registered User
    Join Date
    12-26-2024
    Location
    los angeles
    MS-Off Ver
    10
    Posts
    1

    Arrays and Percentile rank function

    I need your help using the percentile.inc function. My input is not a single array, but it is the product of 2 arrays (A and B). So I have to do this in 2 steps:
    Step 1: Create a new array (C) which is the product of A and B
    Step 2: Apply the percentile.inc function on Array C.

    I have to apply the percentile function 1000 times.

    Is there a way to run this in a single step without creating C?

    I tried to use the "Product" function but this function will only produce a single number not an array which I can use to run the percentile function.

    Here's a small example.
    Any help would be appreciate

    A B C = A X B
    2,283 0.0071 16.3
    10,887 0.0077 84.3
    8,503 0.0084 71.6
    10,349 0.0092 94.7
    5,646 0.0099 56.2
    10,254 0.0108 110.9
    4,914 0.0118 57.8
    13,525 0.0128 172.8
    10,593 0.0139 147.1
    16,681 0.0151 251.8

    =PERCENTILE.INC(AB228:AB237, 0.05) 34.2

  2. #2
    Forum Contributor
    Join Date
    05-08-2020
    Location
    Lublin, Poland
    MS-Off Ver
    365v.2409 - office laptop (used also elsewhere); 2016 - office desktop, 2010, 2019 - private laptop
    Posts
    196

    Re: Arrays and Percentile rank function

    Let's assume you have data from your example
    A: A2:A11
    B: B2:B11
    Then just type =A2:A11*B2:B11 in C2 and you'll have all your products in C2:C11.
    You can also use this formula as an argument for the PERCENTILE.INC function:
    =PERCENTILE.INC(A2:A11*B2:B11,0.05)
    Przemyslaw Kowalik, Lublin Univ. of Technology

  3. #3
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Arrays and Percentile rank function

    @Anisassaf, please see yellow banner at the top on attaching a sample workbook.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,792

    Re: Arrays and Percentile rank function

    Administrative Note:

    Welcome to the forum.

    Is your forum profile up-to-date and showing ONLY the oldest Excel PRODUCT that you need this to work for?

    Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.

    The four most recent Excel products are Excel 2019, Excel 2021, Excel 2024 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Need help with COUNTIF - Perform a Percentile and RANK
    By digichest in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-19-2023, 07:39 PM
  2. How to Determine Values of Percentile and Percentile Rank
    By rbellotti in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-30-2019, 09:57 AM
  3. Replies: 3
    Last Post: 07-18-2017, 04:02 PM
  4. Percentile Rank w/ Numerical Array
    By jdanfor1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-05-2016, 01:58 PM
  5. weird rank/percentile question
    By jtrugman in forum Excel General
    Replies: 0
    Last Post: 11-03-2009, 06:10 PM
  6. percentile rank change
    By dujang in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-13-2006, 05:44 PM
  7. Percentile - Data in arrays
    By BHARATH RAJAMANI in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-23-2006, 10:00 AM

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