+ Reply to Thread
Results 1 to 4 of 4

Macro to copy down pattern where row and column references change

  1. #1
    Registered User
    Join Date
    12-27-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    21

    Macro to copy down pattern where row and column references change

    Hi there,

    Looking at sheet 2 of the attached spreadsheet, I am looking for help writing a macro that will copy the formula pattern below:

    =Sheet1!E3
    =Sheet1!F3
    =Sheet1!G3
    =Sheet1!H3
    =Sheet1!J3
    =Sheet1!E4
    =Sheet1!F4
    =Sheet1!G4
    =Sheet1!H4
    =Sheet1!J4
    =Sheet1!E5
    =Sheet1!F5
    =Sheet1!G5
    =Sheet1!H5
    =Sheet1!J5

    Etc.....

    It would start in cell C2 of sheet 2 on the attached wookbook and continue down until row 5000.

    Thanks,

    Jordan
    Attached Files Attached Files
    Last edited by alpha608; 01-28-2013 at 06:04 PM.

  2. #2
    Forum Contributor
    Join Date
    07-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    351

    Re: Macro to

    Can you not just drag the formula down to row 5000?

  3. #3
    Registered User
    Join Date
    12-27-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Macro to

    I tried that but I didn't get it to work.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,481

    Re: Macro to copy down pattern where row and column references change

    VBA solution.

    See if this is what you want to achieve.

    See the sheet "output".

    See the attached file.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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