+ Reply to Thread
Results 1 to 5 of 5

Pulling Aggregate Data from Table 1 to Automate Drawing Conclusions from Table 2

  1. #1
    Registered User
    Join Date
    10-09-2013
    Location
    Birmingham, AL
    MS-Off Ver
    Excel 2003
    Posts
    6

    Question Pulling Aggregate Data from Table 1 to Automate Drawing Conclusions from Table 2

    I've never really used array formulae in Excel; as such, I'm not entirely sure if I'm using them correctly, or if I'm doing something else wrong.

    A version of the spreadsheet I'm working on is attached, so you can follow along.

    Basically, I'm trying to have Excel pull aggregate information out of the main table, then use that data to pull a number out of a different table.

    This is what I'm trying to do, more thoroughly explained:
    (1) have Excel determine the number of tests per "Lot", then go over to the side table, find the appropriate column (based on that number of tests) in the table to the right;
    (2) then find the average compaction % of all the tests within a given "Lot," find the difference between that and the target (94%), then use that number and find the first value in the column (found in step 1) that is "greater than" the average compaction % deviation;
    (3) and, finally, after finding the appropriate value in the column selected in step 1, I want it to return the corresponding value from the right-most column of the table Excel is reading to cell I9. Once the process works, I'll just drag it down and it will do the grunt work for me.

    Long story short, I'm so close I can smell victory, but it's giving me a weird result (not to mention my final equation is long and clunky), so any help would be appreciated. Details are in the attached workbook.

    Sorry if this post is rather long-winded, but I didn't want to just throw the spreadsheet out there and ask someone to fix it without any explanation.

    Thanks!
    Attached Files Attached Files
    Last edited by QuantumPolagnus; 10-11-2013 at 05:15 PM. Reason: Clarity

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Help with Array Formulae

    Welcome to the forum.
    Other members can not open attachments from other sources due to restriction of firewalls.

    To attach a sample workbook here.
    Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    10-09-2013
    Location
    Birmingham, AL
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Help with Array Formulae

    Thanks for the reply, vlady; I don't have Office on my home computer right now (I just reformatted and haven't gotten around to installing it), so I'll get around to making a more straight-forward file illustrating what I'm trying to do and hopefully post that tomorrow.

  4. #4
    Registered User
    Join Date
    10-09-2013
    Location
    Birmingham, AL
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Pulling Aggregate Data from Table 1 to Automate Drawing Conclusions from Table 2

    I've updated my original post for clarity's sake and attached a more user-friendly workbook to help explain what I'm trying to do.

  5. #5
    Registered User
    Join Date
    10-09-2013
    Location
    Birmingham, AL
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Pulling Aggregate Data from Table 1 to Automate Drawing Conclusions from Table 2

    Yes!! I got it to work!

    With a bit of time spent reading up on array formulae, I realized the original formula wasn't working because I was using HLOOKUP (which was only returning one value from the selected column of data). I switched to OFFSET and rethought the process (writing it out so I could see it working - or not) and I got it to work in a little over half the length of the nested IF statements option (which was having problems, anyways).

    I've attached an updated copy of the walkthrough workbook to illustrate the process for anyone interested.
    Attached Files Attached Files

+ 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. Combine 3 array formulae filters into one
    By Blubirdjim in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 05-11-2013, 06:59 PM
  2. Using Variable array formulae
    By empsall in forum Excel General
    Replies: 8
    Last Post: 08-08-2009, 01:39 PM
  3. Array Formulae
    By kbsudhir in forum Excel General
    Replies: 1
    Last Post: 05-05-2009, 02:17 PM
  4. [SOLVED] Array Formulae Problem
    By Neil P in forum Excel General
    Replies: 2
    Last Post: 07-25-2005, 12:05 PM
  5. OFFSET and array formulae
    By Wazooli in forum Excel General
    Replies: 3
    Last Post: 01-19-2005, 09: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