+ Reply to Thread
Results 1 to 2 of 2

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

Hybrid View

DRoth Pull a row from an Excel... 04-21-2016, 06:43 PM
newdoverman Re: Pull a row from an Excel... 04-21-2016, 07:48 PM
  1. #1
    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
    =IFERROR(INDEX(Main!B$2:B$100,SMALL(IF(Main!$A$2:$A$100=$A$1,ROW(Main!$A$2:$A$100)-MIN(ROW(Main!$A$2:$A$100))+1),ROWS($1:1))),"")


    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