+ Reply to Thread
Results 1 to 6 of 6

How to automatically create more rows and copy formulas

  1. #1
    Registered User
    Join Date
    06-23-2009
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    92

    How to automatically create more rows and copy formulas

    There is a range of data, A2 to Y100. At the bottom on row 100 are the totals for the columns. Several columns contain formulas from rows 2-99.

    As data gets manually entered into the rows, there is a point when empty rows for entering new data are running out. If the last data entry was on, say, row 97, there are only 2 empty rows left, 98 and 99.
    Everytime that happens I select row 98 + approx. 15 rows and Insert Sheet Rows to create more space for new data entry.
    Since the formulas are not automatically extended to the new rows, I drag down the formulas of the columns one by one.

    Is it possible to automate this process?
    Say data entry reaches within 3 rows from the total, i.e. row 97. 15 new rows are automatically added, moving the totals down to row 115, and all columns with a formula get automatically copied down to row 114. Formatting of all columns is also copied down.

    Data entry could proceed without the tedious need to always manually create space and copy down formulas.
    Last edited by peri1224; 08-19-2012 at 07:06 AM. Reason: Added formatting

  2. #2
    Registered User
    Join Date
    06-23-2009
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: How to automatically create more rows and copy formulas

    It appears that in some computers the formulas/formatting are copied down automatically when you insert rows. But not in mine. Is there a setting somewhere that can take care of this?

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,612

    Re: How to automatically create more rows and copy formulas

    Pl Attach Sample workbook with Formulas an dummy data.

  4. #4
    Registered User
    Join Date
    06-23-2009
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: How to automatically create more rows and copy formulas

    Attached is a sample sheet
    Last edited by peri1224; 08-19-2012 at 07:17 AM.

  5. #5
    Registered User
    Join Date
    02-03-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    72

    Re: How to automatically create more rows and copy formulas

    Hi..
    we can do it with VBA(Event handler)...as i am a vba learner, i need some time to give the code.

    Requesting experts to help him...

    thanks,
    vishnu

  6. #6
    Registered User
    Join Date
    02-03-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    72

    Re: How to automatically create more rows and copy formulas

    this might be the code for your question.

    Please Login or Register  to view this content.

+ 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