+ Reply to Thread
Results 1 to 10 of 10

Auto-populate a range with selected rows from a second range... But the NIGHTMARISH way!

  1. #1
    Registered User
    Join Date
    02-08-2020
    Location
    Scottish Borders, Scotland
    MS-Off Ver
    Office 365
    Posts
    7

    Auto-populate a range with selected rows from a second range... But the NIGHTMARISH way!

    Hi all,

    Only my second post, so bear with me, I'll try hard to be clear. First, the setup:

    Sheet2:
    - 3 columns: three-letter code, material name, material type

    Sheet1:
    - rows of data for individual stock items with 22 columns (A-V) worth of descriptive fields.
    - column C is for typing one of the three-letter codes in Sheet2
    - columns D (material name) and B (material type) auto-populate based on the data in Sheet2 with the formula 'IF(ISBLANK(C2),"",VLOOKUP(C2,Table5[#All],3,FALSE))'

    Now for the hat trick, currently beyond my limited excel-based powers:

    Can I create a Sheet3 with a table/range that shows ONLY the rows of Sheet1 with stock items of ONE material, as shown in Sheet!2?

    I know... Sorry. Not easy for me anyway. Any help would be greatly appreciated.

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Auto-populate a range with selected rows from a second range... But the NIGHTMARISH wa

    Please read the yellow banner at the top of the page and supply a sample workbook. I'm assuming you're still using V2016?

  3. #3
    Registered User
    Join Date
    02-08-2020
    Location
    Scottish Borders, Scotland
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Auto-populate a range with selected rows from a second range... But the NIGHTMARISH wa

    I... am still trying to figure out how to do that, I'm that much of a newbie I'm affraid. Office 365 is the version, and I'll keep trying, I'll get there.

  4. #4
    Registered User
    Join Date
    02-08-2020
    Location
    Scottish Borders, Scotland
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Auto-populate a range with selected rows from a second range... But the NIGHTMARISH wa

    ...OK, I uploaded a sample workbook, just don't know how to link you to it?

  5. #5
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Auto-populate a range with selected rows from a second range... But the NIGHTMARISH wa

    To upload a sample workbook, as your typing in the "reply" box (like I am now), click on the GO ADVANCED button below, then scroll down to MANAGE ATTACHMENTS and click again. Then scroll down and click the "Manage Attachments" link. In the next window, click on the "Choose File" button at the top left of the page. Find your file and click OPEN. Then click on the "Upload" botton. Once done, click the "Close this Window" button at the top-right of screen. Then submit your reply.

  6. #6
    Registered User
    Join Date
    02-08-2020
    Location
    Scottish Borders, Scotland
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Auto-populate a range with selected rows from a second range... But the NIGHTMARISH wa

    Allright, hope this is it then!

    MAIN sheet is where all entries will be made

    DATA sheet is where all materials will be kept up to date

    HEARTH, GRANITE & QUARTZ sheets should look like I have them... And ideally should auto-populate from the MAIN sheet

    ...I hope that makes sense.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Auto-populate a range with selected rows from a second range... But the NIGHTMARISH wa

    For HEARTH, use this:

    =FILTER(MAIN_table,MAIN_table[MATERIAL]="Hearth")

    Then change appropriately for the other sheets.

  8. #8
    Registered User
    Join Date
    02-08-2020
    Location
    Scottish Borders, Scotland
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Auto-populate a range with selected rows from a second range... But the NIGHTMARISH wa

    Thank you, but the formula results in a #SPILL! error. Any idea why?

  9. #9
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Auto-populate a range with selected rows from a second range... But the NIGHTMARISH wa

    Yes. 2 things:

    1. On each sheet, you need to convert the Table to a Range (do this on the "Table Design" Menu).

    2. Delete all your data (under the headings and put my formula in cell A2. This is a dynamic array formula so it "spills" out the result across all the cells needed.

    See Attached.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    02-08-2020
    Location
    Scottish Borders, Scotland
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Auto-populate a range with selected rows from a second range... But the NIGHTMARISH wa

    Awesome! I was getting frustrated with convoluted formulas, thank you for the help.

+ 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. List box Populate only the selected range
    By angelpasaway09 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-10-2019, 05:59 AM
  2. Replies: 4
    Last Post: 07-09-2018, 02:58 PM
  3. [SOLVED] Auto populate range of rows and columns with text based on absolute value
    By mojian in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-22-2017, 09:26 AM
  4. Search selected range in other range then copy match rows
    By itbart in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2017, 03:31 AM
  5. Replies: 1
    Last Post: 10-22-2016, 04:27 AM
  6. [SOLVED] Dynamic Named Range to Auto-Populate another range based on criteria
    By BeachRock in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-24-2014, 06:46 PM
  7. End-populate Selected Range
    By mlexcelhelpforum in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-08-2011, 06:12 AM

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