+ Reply to Thread
Results 1 to 6 of 6

How can I do copy data from another tab that does not start from row 1 and keep the order?

  1. #1
    Registered User
    Join Date
    05-09-2018
    Location
    Atlanta, GA
    MS-Off Ver
    2010
    Posts
    5

    How can I do copy data from another tab that does not start from row 1 and keep the order?

    I have included some cells references below to better explain what I need done. I am aware I can easily use the "transpose" paste function, but this is simplified data that I am illustration in this example for my end product I need to know how can I copy and paste the next row of data located in tab 2 to my tab 1 data set.

    My problem is that the moment that I try to use autofill or drag down my relative formula set. It copys the data from Tab 2 of N5:R5 (Horizontally) which is great, but then it jumps to N10:R10 which is not what I want. I want it to copy the following row which would be N6:R6.

    I tried using =Offset formula, but excel never recognizes the trend. Please note that the real data set is 1,000+ data entries and this would minimize the manual process.

    P.S: The reason why I labeled each data set "tab 1" and "tab 2" is because I originally have these data sets in different tabs and they are in different rows within their corresponding tabs.

    Untitled.png

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: How can I do copy data from another tab that does not start from row 1 and keep the or

    is that what you want?
    Done with PowerQuery

    --
    Power Query for

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,463

    Re: How can I do copy data from another tab that does not start from row 1 and keep the or

    Alternatively, with your table laid out as in Sheet2 of the attached file, and with your list starting in B15 of Sheet1, you can use this formula in C15:

    =INDEX(Sheet2!$B$5:$F$12,INT((ROWS($1:1)-1)/COUNTA(Sheet2!$4:$4))+1,MOD(ROWS($1:1)-1,COUNTA(Sheet2!$4:$4))+1)

    and copy this down as far as you need to. You can use this formula in B15:

    =INDEX(Sheet2!$4:$4,MOD(ROWS($1:1)-1,COUNTA(Sheet2!$4:$4))+2)

    to get the headings.

    Incidentally, it would help in future if you attached a sample Excel workbook, rather than a picture of one.

    Hope this helps.

    Pete
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-09-2018
    Location
    Atlanta, GA
    MS-Off Ver
    2010
    Posts
    5

    Re: How can I do copy data from another tab that does not start from row 1 and keep the or

    Thank you for taking the time!

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,463

    Re: How can I do copy data from another tab that does not start from row 1 and keep the or

    You're welcome - glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  6. #6
    Registered User
    Join Date
    05-09-2018
    Location
    Atlanta, GA
    MS-Off Ver
    2010
    Posts
    5

    Re: How can I do copy data from another tab that does not start from row 1 and keep the or

    Awesome! I appreciate 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. Replies: 4
    Last Post: 12-02-2014, 03:46 AM
  2. Replies: 1
    Last Post: 12-01-2014, 03:01 PM
  3. Replies: 3
    Last Post: 09-03-2014, 09:59 AM
  4. [SOLVED] Copy variable amount of rows between Start and End to Start
    By EDo1981 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-19-2013, 07:37 AM
  5. copy data from start to end range
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-03-2009, 01:24 AM
  6. start a copy of data at a line depending on date
    By news in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-05-2006, 06:55 PM
  7. Where do I start:create a PC order
    By Curt in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-21-2005, 06:06 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