+ Reply to Thread
Results 1 to 2 of 2

Creating Macro: want it to only use data newly added row in second sheet

  1. #1
    Registered User
    Join Date
    02-10-2020
    Location
    Utrecht
    MS-Off Ver
    16.33
    Posts
    1

    Creating Macro: want it to only use data newly added row in second sheet

    Hi all,

    My first day on the forum, actually my first day trying out macro and already facing big unsolvable problems.. So, this is up:

    I'm working with two excel sheets. The first sheets get's its data straight out of SurveyMonkey, what means that every row contains all the responses of the person who filled in the survey. Every colum contains an answer to the questions asked in the survey. In the second sheet I select the row in the first sheet and paste in the second by option 'Paste special --> transpose'. So you get every answer from one respondent directly underneath each other. Now I have to do it with every respondent again, it takes a lot of time. Because the survey is open for like six weeks, new respondents will be added in rows every day (how to get automatic macro)


    So what I want is to be able to select any row in the first sheet and in the second row it will show the correct info (transposed), and I dont want to create a Macro for every row in the first sheet, if u know what I mean.

    How can I do that, because the macro had to get a different row everytime? Now it only works for one row and i get the same thing in the second sheet every time.


    PS dont know if this post is correctly explaining the problem but don't know how to better explain. Thank you in advance for your help!

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,956

    Re: Creating Macro: want it to only use data newly added row in second sheet

    In the second sheet, enter this in cell A1:

    =INDEX(Sheet1!$A:$Z,COLUMN(),ROW())

    (with whatever your sheet name actually is:

    and then copy down for as many rows as you have columns, then across for many more columns than you have rows...
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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-06-2005, 12:05 PM
  2. Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  3. Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  4. Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. Replies: 1
    Last Post: 06-23-2005, 03:05 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