+ Reply to Thread
Results 1 to 4 of 4

populate list on one tab by taking rows from another tab only with data in certain columns

  1. #1
    Registered User
    Join Date
    10-23-2019
    Location
    Oakland
    MS-Off Ver
    Professional Plus 2016
    Posts
    10

    populate list on one tab by taking rows from another tab only with data in certain columns

    Hi all - thanks in advance for any help on this:

    I want to setup the tab "Item Format" so that it automatically populates from only rows that have data in AA through AG on "Worksheet". The "worksheet" tab is set to include data in columns AA through AG only if the value in column H is within 60% of the value of H3. So the rows that will be included in "item format" will change depending on the example's value in H3.

    For instance, in this example only rows 5 and 9 have data in AA through AG because H5 and H9 are within 60% of H3.

    So in this example 'worksheet'!AA5 should populate 'item format'!G7 and 'worksheet'!AA9 should populate 'item format'!G8.

    Cheers
    Attached Files Attached Files

  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: populate list on one tab by taking rows from another tab only with data in certain col

    YUse formulae like this:

    =IFERROR(INDEX(Worksheet!D:D,AGGREGATE(15,6,ROW(Worksheet!$A$3:$A$10)/((Worksheet!$AC$3:$AC$10>=$H$4*0.6)*(Worksheet!$AC$3:$AC$10<=$H$4/0.6)),ROWS(C$6:C6))),"") copied down (this one is in C6).

    Change the bit in red to bring across the column data you need for the other columns. I have only done the first 3 as they are not in the same order in both sheets. I'm sure you can figure out which columns you want!!!
    Attached Files Attached Files
    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
    10-23-2019
    Location
    Oakland
    MS-Off Ver
    Professional Plus 2016
    Posts
    10

    Re: populate list on one tab by taking rows from another tab only with data in certain col

    Glenn!! This worked beautifully - thank you.

    I am curious (and not an excel expert): why does the function reference H4 for the cost/ GSF? It works beautifully, but I'm not sure how we get the function on the "item format" tab to parse the data by the building cost/ GSF when the worksheet tab uses the GSF to decide if the data should be shown.

    At any rate - thanks again. I really appreciate it!

  4. #4
    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: populate list on one tab by taking rows from another tab only with data in certain col

    Hi. The H4 cell (which is unchanged over the original version that you posted) contains the average value, upon which you want to apply criteria, viz: ± 60%. I could equally have chosen worksheet AC2...

    But since it was (incorrectly) referenced in your first post

    " the value in column H is within 60% of the value of H3. So the rows that will be included in "item format" will change depending on the example's value in H3. For instance, in this example only rows 5 and 9 have data in AA through AG because H5 and H9 are within 60% of H3."

    I stuck with H4.

    Wasn't that what you wanted???

+ 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. Replies: 7
    Last Post: 02-05-2015, 03:20 PM
  2. Replies: 7
    Last Post: 08-05-2014, 05:34 AM
  3. Replies: 7
    Last Post: 06-12-2013, 07:09 PM
  4. Macro to populate Data from Columns into Rows.
    By Pitsere in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-25-2013, 08:21 AM
  5. Taking data in rows and stacking into columns
    By jcoe in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-22-2013, 05:50 AM
  6. Populate Rows and Columns - List?
    By phillyg21 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-03-2013, 10:34 AM
  7. Query to populate data from rows to columns
    By tscott in forum Access Tables & Databases
    Replies: 6
    Last Post: 03-05-2011, 07:32 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