+ Reply to Thread
Results 1 to 7 of 7

Copy Formulas to bottom of table

  1. #1
    Forum Contributor
    Join Date
    06-27-2013
    Location
    Nebraska
    MS-Off Ver
    Office 365
    Posts
    115

    Copy Formulas to bottom of table

    Hello,

    When a new entry is added in the Description Column (Column B) I want copy the formulas in the Item #, Status, and Time columns to the bottom of the table. Below is the code that I have so far for the Item# column, but it only copies the formulas down until there is a blank instead of all the way to the bottom of the table. How can I get this to fill to the very last row of the table every time?

    Image 8.PNG

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Copy Formulas to bottom of table

    If it's a true table then normally when you change a formula in a cell or I would think if you add a formula to a cell that doesn't have one a little box will pop up that you can click on asking if you want to overwrite the formula in all the cells.
    If you choose yes then that formula will automatically populate all the cells and any new cells added in the future.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Forum Contributor
    Join Date
    06-27-2013
    Location
    Nebraska
    MS-Off Ver
    Office 365
    Posts
    115

    Re: Copy Formulas to bottom of table

    Skywriter, that is what I thought too but is not the case in this workbook.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Copy Formulas to bottom of table

    The formula in a column MUST be consistent if it is to be propagated.


    Try:

    A2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    dragged down to the end of the column

    C2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    dragged down to the end of the column

    D2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    dragged down to the end of the column
    Attached Files Attached Files
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Copy Formulas to bottom of table

    Note: you should NOT need to use code to propagate the formulae. Just add entries to column B.

  6. #6
    Forum Contributor
    Join Date
    06-27-2013
    Location
    Nebraska
    MS-Off Ver
    Office 365
    Posts
    115

    Re: Copy Formulas to bottom of table

    TMS, thank you for the feedback. In my full workbook the formulas in the first row of the table are different than the rest of the table. This was done to avoid circular references. Using your formula for column A accompanied with some code I was able to get the results desired. Thank you for the responses.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Copy Formulas to bottom of table

    You're welcome.

    The point being, if the formulae are not consistent in the Table column, they will not propagate. It can be quite difficult to get different formulae in a column

+ 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. Copy cell values, add a new row on table and paste them at the bottom of a table
    By ApexDmac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2019, 11:00 AM
  2. [SOLVED] Copy all formulas to bottom of data
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-28-2019, 03:46 PM
  3. Copy range to new row at bottom of table on another sheet.
    By Moxy Fruvous in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2017, 10:26 PM
  4. copy to bottom of table each time macro
    By chriswrcg in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-11-2017, 05:48 PM
  5. [SOLVED] On cell change copy and append to bottom of table
    By wacky_diva in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2017, 12:36 AM
  6. VBA to add row to bottom of table, same formulas/formatting as rows above
    By jdplus3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-09-2015, 11:16 AM
  7. Replies: 2
    Last Post: 12-18-2012, 05:22 AM

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