+ Reply to Thread
Results 1 to 4 of 4

Percentile with multiple variable ranges

  1. #1
    Registered User
    Join Date
    02-27-2018
    Location
    Israel
    MS-Off Ver
    2007
    Posts
    2

    Percentile with multiple variable ranges

    Hello,

    I need to calculate various parameters including the 70th percentile of a number of partial data sets based on values set in other cells in the sheet. I am using OFFSET to set the data range, and was planning on using PERCENTILE to calculate the 70th percentile, however percentile does not appear able to handle multiple ranges in different sheets. Is there a way to use PERCENTILE formula, or some other formula to do this?

    With a single range it works fine and with two static ranges in the same sheet it works, however when I try and add variable ranges in separate pages I get the error “A value used in the formula is of the wrong data type.” I'm using Excel 2007, is there anyway to get this to work?

    I was going to include examples of the formulas that worked and those that didn't, but they seem to be parsed as links which I can't include in my posts yet.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Percentile with multiple variable ranges

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    02-27-2018
    Location
    Israel
    MS-Off Ver
    2007
    Posts
    2

    Re: Percentile with multiple variable ranges

    Thanks for explaining how to attach files, I thought this was something I was blocked from doing. I prepared a sample file with two ranges, now attached.
    Attached Files Attached Files
    Last edited by AliGW; 04-23-2018 at 01:10 AM. Reason: Unnecessary quotation removed.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Percentile with multiple variable ranges

    Hi Michael Maor. Welcome to the forum.

    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I get -0.51 which I believe is correct. The two ranges are identical.

    Edit I noticed that if the 'Start' value in A9 is changed to 3 the formula will return -0.6
    Last edited by FlameRetired; 04-23-2018 at 03:05 AM.
    Dave

+ 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] Selecting multiple ranges using variable
    By coopedup in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2017, 05:58 AM
  2. Percentile ranges
    By Santhoshhrishi in forum Excel General
    Replies: 3
    Last Post: 07-11-2014, 10:10 AM
  3. Percentile ranges - keeping data & ranges seprately in different tabs
    By Santhoshhrishi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-11-2014, 10:09 AM
  4. Finding a Variable Value with in multiple ranges
    By mikejohn11 in forum Excel General
    Replies: 3
    Last Post: 10-05-2010, 01:12 AM
  5. Creating multiple charts with variable ranges
    By jcfryman in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 10-31-2009, 01:11 PM
  6. [SOLVED] Counting variable ranges and auto-summing variable ranges
    By Father Guido in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2006, 11:10 PM
  7. [SOLVED] A range variable consisting of multiple ranges.
    By cpeters5@yahoo.com in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-04-2005, 05: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