+ Reply to Thread
Results 1 to 2 of 2

Copy data in a loop from one sheet to another and return result

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2007
    Posts
    12

    Copy data in a loop from one sheet to another and return result

    Hi all,

    I'm praying you can help me as it will save me a lot of time if so! Essentially what I am aiming for is:
    1) Copy range ($C$9:last blank row) from sheet 'Raw Data'
    2) Paste in 'seasonal monthly' sheet in $E$2 downwards
    3) Copy the result of formulas in 'seasonal monthly' sheet range ($L$2:last blank row) - this last blank row will not be the same length as the input, there will be extra rows.
    4) Paste in 'forecast method 2' sheet from $C$2 downwards
    5) Copy range ($D$9:last blank row) from sheet 'Raw Data'
    6) Paste in 'seasonal monthly' sheet in $E$2 downwards
    7) Copy the result of formulas in 'seasonal monthly' sheet range ($M$2:last blank row) - this last blank row will not be the same length as the input, there will be extra rows.
    8) Paste in 'forecast method 2' sheet from $E$2 downwards
    9) Repeat step 5 for E-F-G-H... onwards until blank column in 'Raw Data', paste in same cells in step 6 (column E), copy from same cells in step 7 (column M) and paste to next blank column in step 8. So the next example would be copy column E (raw data), paste to column E (Seasonal monthly), copy column M (seasonal monthly), paste to column F (forecast method 2)

    Hopefully that makes sense? I've tried to be as clear as I can. I've attached a blank file with the three tabs (through removed loads of formulas to make it more basic), and also a fourth tab showing what I would like the result to look like.

    Many many thanks in advance for your help!
    Attached Files Attached Files

  2. #2
    Forum Contributor mongoose36's Avatar
    Join Date
    06-10-2013
    Location
    Lincoln
    MS-Off Ver
    Excel 2013
    Posts
    389

    Re: Copy data in a loop from one sheet to another and return result

    Try this! It should get you pointed in the right direction. You should be able to finish from here.

    Please Login or Register  to view this content.
    Please add reputation if I've helped you.

+ 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] Run a loop to slected data then filter on another sheet and copy to another sheet
    By af_lel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-21-2013, 07:10 AM
  2. [SOLVED] Loop to copy data to new sheet.
    By bigmcha in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-27-2013, 07:00 PM
  3. Copy result data of formula to another sheet
    By dutchdog in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-05-2012, 10:36 PM
  4. [SOLVED] Copy data with loop to other sheet
    By esbenhaugaard in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-19-2012, 01:50 PM
  5. Copy data to other sheet + Loop to last record
    By jantonio in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2010, 04:00 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