+ Reply to Thread
Results 1 to 5 of 5

Automatically copy down formulas when data entered in new row

  1. #1
    Registered User
    Join Date
    11-21-2019
    Location
    Salem, OR
    MS-Off Ver
    Excel for Office 365
    Posts
    16

    Automatically copy down formulas when data entered in new row

    I have a shared spreadsheet for tracking recruitment and have separate columns with formulas in them. I would like a macro that automatically copies down formulas when I have a user input data in the last empty row of column A e.g. a coworker enters enters data into A:56 and formulas from corresponding columns T, Y, Z, AM etc are copied onto the same row. I know this is possible with a table, but I want to avoid coworkers sorting the table and putting things out of sequence, as we have processes outside of Excel that requires me to quickly see the latest data input towards the bottom without having to wonder if someone sorted the table without me knowing.

  2. #2
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Automatically copy down formulas when data entered in new row

    Hi elabamnoj

    You can use this two codes in the correponding sheet's module
    But first you need to declare a Public variable

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Barriers are there for those who don't want to dream

  3. #3
    Registered User
    Join Date
    11-21-2019
    Location
    Salem, OR
    MS-Off Ver
    Excel for Office 365
    Posts
    16

    Re: Automatically copy down formulas when data entered in new row

    Thank you! It works great. Unfortunately I have to comment out another macro already in the sheet's module when I tested it to work. The other macro clears a dependent drop-down list when the primary drop-down is changed.

    I get this error when I uncomment the top macro.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by elabamnoj; 01-17-2020 at 05:34 PM. Reason: Thought I missed some code.

  4. #4
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Automatically copy down formulas when data entered in new row

    Perhaps because you cannot have two subs with the same name
    Please Login or Register  to view this content.
    Try to combine both procedures inside the same sub.

  5. #5
    Registered User
    Join Date
    11-21-2019
    Location
    Salem, OR
    MS-Off Ver
    Excel for Office 365
    Posts
    16

    Re: Automatically copy down formulas when data entered in new row

    Okay, I tried to combine it in several combinations. The best result is no error, but my original macro to clear dependent drop-downs still does not work. I will post this onto a new thread. Thank you very much vichopalacios for your help.

+ 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 create a copy of Master sheet when data entered into specific rows
    By itsawayoflife in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2018, 02:39 AM
  2. Help needed please for VBA to automatically copy/paste value only as data entered
    By phiavaughan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-25-2016, 10:00 AM
  3. [SOLVED] Automatically copy data from one worksheet to another based on a specific word entered
    By arkadd61 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2013, 08:23 PM
  4. Formulas should be filled automatically from specific cell when New data is entered
    By indudhar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-25-2013, 09:17 PM
  5. Automatically copy entered Information to another sheet in excel workbook
    By naaf in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-18-2013, 10:55 AM
  6. Automatically add rows and copy formulas when data entered
    By alina_t in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-22-2011, 02:30 PM
  7. Copy formulas from above row automatically if any value entered Col B of current row
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-17-2009, 10:40 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