+ Reply to Thread
Results 1 to 7 of 7

automate the copying of formulas and cell formatting

Hybrid View

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

    automate the copying of formulas and cell formatting

    is it possible, after inserting new sheet rows, to automate the copying of formulas and cell formatting into the newly created space, instead of manually copying the formulas and formatting down into each column?
    Last edited by peri1224; 11-01-2009 at 12:08 PM.

  2. #2
    Registered User
    Join Date
    10-31-2009
    Location
    Connecticut, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: automate the copying of formulas and cell formatting

    when you copy a cell that shows the autosum, you are actually copying the formula, NOT the sum. so you can copy the cell which has your sum, and then paste it into all the cells you want to add. Hope that helps

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: automate the copying of formulas and cell formatting

    Peri, you may want to explore Lists in Excel 2003 (tables in 2007)

    When you define a data block as a list, Excel will apply all formatting and formulas to new rows. Place your cursor in the table, then go Data - Lists - Create List.

    Have a read in the Help files.

    cheers

  4. #4
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: automate the copying of formulas and cell formatting

    Another simple way if this is an uncommon occurrence is to highlight the entire new row and hit Ctrl+D. It copies everything from the row above. It will copy raw data, too, but if you're just entering a new record from scratch and overwriting every line, that won't matter. If entering new lines happens often, though, teylyn's suggestion is better.

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

    Re: automate the copying of formulas and cell formatting

    To Teylyn. Thanks for the table suggestion, but am not used to work with them, and they seem complicated and create a whole lot of new problems. Maybe someday I can learn tables, but not now. (Am using 2007 but saving in 2003). Using tables appears more difficult to me than manually copying the formulas.

    To Darkyam. The Ctrl D works beautifully, but only for one row. If you select a block of rows, nothing happens with Ctrl D. Is there any way at all to make it work with several rows at once, since I always extend data ranges by at least 10 rows when new space is required.

  6. #6
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: automate the copying of formulas and cell formatting

    When doing that for multiple rows, you have to grab the row you're copying as the first row. So if you insert 10 rows under row 4, you have to grab rows 4:15 and hit Ctrl+D.

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

    Re: automate the copying of formulas and cell formatting

    Yipee, it works perfectly. Thank you very much.

+ 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