+ Reply to Thread
Results 1 to 3 of 3

Specific Column Reference Based on Value to PERCENTILE

  1. #1
    Registered User
    Join Date
    06-25-2011
    Location
    Chicago, IL
    MS-Off Ver
    MS 365 apps for business
    Posts
    63

    Specific Column Reference Based on Value to PERCENTILE

    Hope my title's not too misleading, I'll try to explain further. I've attached an example workbook for reference.

    I need my PERCENTILE formula in column S to take the .25 PERCENTILE of the columns for each "area" defined for the data range in cells B2 and C2. Since B2 is 1/1/2013 I need the first column in the PERCENTILE to be the corresponding 1/1/2013 in column E. Since C2 is 12/1/2013 I need the last column in the PERCENTILE to be the corresponding 12/1/2013 in column P. For Area1 in Row5 it would be =PERCENTILE(E5:P5,.25).

    The catch is, I need the formula to be smart enough to change which column it picks based on the value in B2 and C2. If I change my range to 6/1/2013 in B2 and 8/1/2013 in C2 then Area1 needs to be =PERCENTILE(J5:L5,.25).

    I asked this question in a different thread trying to keep it simple using SUM instead of PERCENTILE, got a perfect answer w/ SUMIFS, but I really need it w/ PERCENTILE. [For Reference, the SUMIFS answer: =SUMIFS(B5:R5,$B$4:$R$4,">="&$B$2,$B$4:$R$4,"<="&$C$2) ]

    If I can give any more detail, please, ask. Thanks for any help!
    Attached Files Attached Files
    Last edited by zpenacho; 10-16-2013 at 01:46 PM. Reason: original attachment was wrong

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Specific Column Reference Based on Value to PERCENTILE

    OK, try this:
    Please Login or Register  to view this content.
    Quang PT

  3. #3
    Registered User
    Join Date
    06-25-2011
    Location
    Chicago, IL
    MS-Off Ver
    MS 365 apps for business
    Posts
    63

    Re: Specific Column Reference Based on Value to PERCENTILE

    Seems to work great, you're the man, thanks bebo! Again, out of curiosity, why the double commas? The ,,?

+ 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] Specific Column Reference Based on Value to SUM
    By zpenacho in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-16-2013, 01:41 PM
  2. [SOLVED] Trying to move specific range to a specific sheet based on data in certain column
    By cain2011 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-01-2013, 08:09 AM
  3. Locate a reference in a table based on specific words on a text
    By zetavares83 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-06-2012, 06:17 PM
  4. Copy & paste specific column based on cell reference
    By ccsmith in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-26-2011, 03:59 AM
  5. Hiding Rows Based on Percentile
    By Jonny in forum Excel General
    Replies: 1
    Last Post: 03-31-2005, 08:17 AM

Tags for this Thread

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