+ Reply to Thread
Results 1 to 3 of 3

Auto copying column formulas to new rows

  1. #1
    Registered User
    Join Date
    02-13-2014
    Location
    Metro Manila, Philippines
    MS-Off Ver
    Excel 2010
    Posts
    2

    Post Auto copying column formulas to new rows

    I'm working on a spreadsheet that tracks project accepted and done over a course of time. I am expecting the data to eventually reach the thousands in a year's time. I have several formulas in specific columns that I need to replicate as the user enters new data into the next row. While it is easy to copy paste the formulas from the cells above, we are looking to save time by having the sheet do this automatically which also prevents the user from accidentally deleting/modifying the said formulas. I am also looking to save file size which is why I am considering doing this in VB. An example of a formula that I need to move down into the next column is:
    =IF(ISERROR(VLOOKUP(C2,Tables!A:B,2,FALSE)),"",VLOOKUP(C2,Tables!A:B,2,FALSE))

    I am new to VB but would like to gain some understanding on how this works.

    Thanks!!!

  2. #2
    Forum Contributor
    Join Date
    04-19-2013
    Location
    Yorkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    297

    Re: Auto copying column formulas to new rows

    Lets say your data is in column a, to put a formula in every cell in column b (where the adjacent cell in column a contains a value) you would might use:

    Please Login or Register  to view this content.
    The formula would have to be in the R1C1 format- so look that up.

    Regards
    Strud

  3. #3
    Registered User
    Join Date
    02-13-2014
    Location
    Metro Manila, Philippines
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Auto copying column formulas to new rows

    Thanks Strud! I'll try it out!

+ 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. Adding new row, auto-copying formulas and maintaining formatting
    By jerrydiaz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-30-2014, 09:32 AM
  2. Insert Rows And Fill Formulas Copying rows
    By Mj_McKenzie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-25-2012, 03:18 PM
  3. Need help in copying formulas to other rows
    By slicksilver79 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 05-19-2012, 10:04 PM
  4. Copying Formulas Down Rows
    By J in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-30-2006, 05:55 PM
  5. [SOLVED] Excel if then formulas auto copying
    By bf in forum Excel General
    Replies: 2
    Last Post: 07-03-2005, 09:05 AM

Tags for this Thread

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