+ Reply to Thread
Results 1 to 3 of 3

Automatically copy rows down

  1. #1
    Registered User
    Join Date
    01-08-2014
    Location
    Bath, UK
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    86

    Automatically copy rows down

    Hi,

    I have a series of data which appears in Sheet1 cells E15:U200 and some formulae on Sheet2 in cells A9:V9 (with headers in row 8). The formulae in Sheet2 link directly to the data on Sheet1 – row 9 relates to row 15, row 10 relates to row 16, etc. (nothing fancy going on there).

    I would like to copy down the formulae in Sheet2 automatically depending on the length of the data in Sheet 1 (i.e. the length of column E, minus the first 14 rows).

    If I re-run the report (and then the macro), is it also possible to delete any existing formulae in Sheet2 rows 10 onwards first (i.e. so the formulae only extend as far as the actual data, rather than as far as the longest set of data encountered so far – e.g. if the formulae extended to row 100 the last time the macro was run, delete rows 10-100 then copy the formulae down as far as required).

    Can anyone help, please?

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Automatically copy rows down

    Try this:

    Please Login or Register  to view this content.
    多么想要告诉你 我好喜欢你

  3. #3
    Registered User
    Join Date
    01-08-2014
    Location
    Bath, UK
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    86

    Re: Automatically copy rows down

    Thank you very much @millz that seems to do the job perfectly

+ 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. Automatically copy to new rows to new rows as raw data is added on another worksheet
    By lanoushi in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-12-2013, 09:03 AM
  2. How to copy rows automatically ?
    By nikkoabc in forum Excel General
    Replies: 4
    Last Post: 11-03-2009, 11:04 PM
  3. Replies: 3
    Last Post: 02-14-2008, 02:39 PM
  4. [SOLVED] Copy Rows to another Sheet Automatically
    By Tim & Holly in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2006, 11:15 PM
  5. [SOLVED] How to copy values in various rows automatically
    By Me in forum Excel General
    Replies: 6
    Last Post: 03-07-2005, 02:06 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