+ Reply to Thread
Results 1 to 2 of 2

Excel 2013 Automatically insert a row when the last formatted row is used

  1. #1
    Registered User
    Join Date
    10-16-2013
    Location
    USA
    MS-Off Ver
    2013
    Posts
    4

    Excel 2013 Automatically insert a row when the last formatted row is used

    Hello, I have a set of data, see below, that I am using to automatically gather totals and create a chart at the same time. However I am setting this up as a template and would like to have a row automatically inserted when the last row of data is being used. This way the users will not have to adjust the totals or chart at any time, yet all data wil be gathered. Chief Budget Template.xls

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Excel 2013 Automatically insert a row when the last formatted row is used

    You will need to do some slight modifications, but it starts with converting your template to Tables. This will add rows and keep the equations within the rows. It will also 'push' down your chart and summary calculations. Note, that you may have to move your charts down just a bit, so that there is it least one empty row between your data and the chart for it to push down properly. For some reason, if it is less than a blank row (or if the top of the chart overlaps the table) then the chart does not move.
    Using the Sep sheet as an example.
    select A2:I26 and then hit Ctrl-T. Make sure the 'My table has headers' comment is checked. Hit Ok, and you should now have a table. You'll see the rows become colored in a striped pattern (but you can change this in the Table Tools -> Design ribbon). If you are on the last cell and you hit Tab, then a new row is added.

    In your summary calculations, you have all of your ranges hard coded to absolute references (e.g. =SUMIF($B$3:$B$26,B29,$G$3:$G$26)). Since you are using absolute, those will not change when the table is modified. You will likely need to update those to reference the table (use your mouse to select the ranges to make it easier) or remove the absolute. So, the example above becomes something like:
    =SUMIF(Table1[Department],B29,Table1[Hours])
    or
    =SUMIF(B3:B26,B29,G3:G26)

    More info here:
    http://office.microsoft.com/en-us/ex...010155686.aspx
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

+ 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 transfer data from one sheet to another in a workbook - Excel 2013
    By WGBarry in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2013, 01:03 PM
  2. Link Excel 2013 to Word 2013
    By drosen99 in forum Word Formatting & General
    Replies: 20
    Last Post: 02-26-2013, 08:20 PM
  3. Letter / number codes automatically setup by Excel (2013)
    By drpiso in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-30-2012, 07:58 AM
  4. [SOLVED] Can excel documents be formatted to AUTOMATICALLY email?
    By TrayDay1193 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2006, 10:10 AM
  5. [SOLVED] insert a formatted row in excel [office for xp 2002]
    By E Martin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-07-2005, 11: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