+ Reply to Thread
Results 1 to 4 of 4

Combining a table column with another range into a single array

  1. #1
    Registered User
    Join Date
    03-14-2012
    Location
    Peoria, AZ, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Combining a table column with another range into a single array

    I'm looking for a way to combine two ranges into one array. Specifically, I'd like the array to include a few specific cells (e.g. "A1:A5") plus a table column name (e.g. "table_name[column_name]").

    To give you more background, if you need it, I'm trying to use the QUARTILE function. It requires the input to be an array of numbers. Unfortunately, doing something like...

    =QUARTILE({table_name[column_name],A1:A5},1)

    ...doesn't work. It's a weird one, I know. But you guys have suprised me before. Any ideas???

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Combining a table column with another range into a single array

    do you have a sample workbook that you could upload? Its much easier to see what you are trying to do that way
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-14-2012
    Location
    Peoria, AZ, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Combining a table column with another range into a single array

    Sure thing! I'd like to find the quartiles of combination of highlighted cells between both the 2011 and 2012 sheets. I'd like to use the table name (i.e. "tPA_2012") so that as more lines are added throughout the year, I don't have to continually redo the range for in the QUARTILE formula. Thanks!

    sample.xlsx

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Combining a table column with another range into a single array

    hmmm i can get it to work if both tables are on the same WS with...
    =QUARTILE((H2:H26,K2:K10),1)
    but not on 2 different sheets, sorr

+ 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