+ Reply to Thread
Results 1 to 3 of 3

Auto filling different sheets from one master sheet

  1. #1
    Registered User
    Join Date
    02-13-2015
    Location
    London, England
    MS-Off Ver
    Office 365 for Mac
    Posts
    27

    Auto filling different sheets from one master sheet

    Hi

    In short I am trying to see if it is possible to automatically fill in separate sheets based on someone typing YES into one cell

    In order to save a lot off time by retyping information staff have already inputted, can i copy this across.

    This probably doesn't really make sense, but i hope the attached example makes it easy to understand.

    Thanks for any help
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    12-15-2019
    Location
    Not here
    MS-Off Ver
    2010
    Posts
    257

    Re: Auto filling different sheets from one master sheet

    Hello,

    In cell A2 of sheet H&S:

    =IFERROR(INDEX(Main!$A$2:$A$15, SMALL(IF(Main!$F$2=Main!$B$2:$B$15, ROW(Main!$B$2:$B$15)-ROW(Main!$B$2)+1), ROW($A1:$A1))),"" )

    CTRL+SHIFT+ENTER to make it an array and drag down. This will pull all of the Staff IDs for the H&S course that had a "Yes" from the main sheet.

    Then in cell B2:

    =IFERROR(INDEX('Personal Info'!B$2:B$21,MATCH('H&S'!$A2,'Personal Info'!$A$2:$A$21,0)),"")

    This is a non-array formula that you can drag across and down for the H&S sheet.


    Do the same for the other sheets. Notice the first formula cell F2 was used. I opted to have this cell with a keyword that now has "Yes". You can put an "X" there or whatever you choose to select the course.

    Good luck with your project

  3. #3
    Valued Forum Contributor
    Join Date
    06-29-2014
    Location
    Australia
    MS-Off Ver
    MSO 365
    Posts
    1,098

    Re: Auto filling different sheets from one master sheet

    Hello Spencer,

    Here's another option using VBA:-


    Please Login or Register  to view this content.
    I've attached your sample workbook with the code implemented and assigned to the "RUN" button. Click on the "RUN" button to see it work. To tidy things up a little, I've also removed blank columns from the main sheet.

    I hope that this helps.

    Cheerio,
    vcoolio.
    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. [SOLVED] Auto copying data from master sheet to minor sheets
    By Claire505 in forum Excel General
    Replies: 7
    Last Post: 11-23-2017, 12:07 PM
  2. [SOLVED] Auto-Populate Data to Master Sheet from Other Sheets in Workbook
    By datutt in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-30-2015, 05:36 PM
  3. Creating & auto-populating rows in a master sheet from other sheets?
    By bludevil008 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-14-2015, 04:45 PM
  4. Auto-Populate Sheets Based on Master Sheet
    By agulbino in forum Excel General
    Replies: 7
    Last Post: 02-10-2015, 08:25 PM
  5. Replies: 1
    Last Post: 04-14-2014, 04:11 AM
  6. Auto Populate Master Sheet with multiple sheets data
    By haley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2009, 04:29 AM
  7. From master sheet to other sheets Auto Change
    By Tigersaw in forum Excel General
    Replies: 0
    Last Post: 04-04-2007, 03:16 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