+ Reply to Thread
Results 1 to 2 of 2

Pull a row from an Excel survey into another sheet by a given variable

  1. #1
    Registered User
    Join Date
    04-21-2016
    Location
    San Diego
    MS-Off Ver
    2007
    Posts
    1

    Question Pull a row from an Excel survey into another sheet by a given variable

    I created an Excel Survey and placed all the data into a sheet called "Main". The columns are the questions and the rows are the individual data points collected. I have been trying to figure out how to get the data sorted out into individual sheets for each of the teachers in the survey. One sheet per teacher within the workbook. I have tried to set it up so that I enter the teacher name in A1 and pull each row from "Main" into the sheet if it matches A1. Then I would copy sheets for each teacher in the survey. I have tried vlookup, index and i attempted to follow a macro from the forum, but failed miserably. This is my first time with the forum so any help would be wonderful. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Pull a row from an Excel survey into another sheet by a given variable

    Welcome to the forum.

    Enter this array formula in B2 (enter with Ctrl + Shift + Enter) on each worksheet and fill across and down as far as required.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I have only addressed 100 rows of the main worksheet. If you need more, increase each instance of 100 in the above formula to what you really need.
    Second file doesn't use array formulae
    Last edited by newdoverman; 04-22-2016 at 11:43 AM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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: 3
    Last Post: 09-08-2014, 04:29 PM
  2. Updating online survey (google or Survey Monkey) through vba macro
    By VD1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-27-2013, 12:16 PM
  3. VBA Excel: Import variable file name and variable sheet name NEED HELP
    By Mark6109 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-22-2012, 12:32 AM
  4. Need to automatically transfer data from survey sheet to paste sheet.
    By MWD Hand in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-29-2012, 08:03 PM
  5. Attempting to pull a variable into another sheet dependend on drop down list
    By ltayala in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-04-2011, 02:04 AM
  6. Pull URL from IE to store as Variable in Excel
    By odo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-19-2009, 04:33 PM
  7. Pull down boxes for a survey
    By zoomiest in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-14-2006, 02:56 PM

Tags for this Thread

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