+ Reply to Thread
Results 1 to 3 of 3

Make a worksheet self-adjust formulas when a row is inserted into a linked sheet?

  1. #1
    Forum Contributor
    Join Date
    04-29-2010
    Location
    Tallahassee, FL
    MS-Off Ver
    365
    Posts
    100

    Make a worksheet self-adjust formulas when a row is inserted into a linked sheet?

    Hi.

    I have a workbook with several sheets, each of which is used for data entry for a specific type of revenue. I created the file so that each sheet has a specific number of rows available for data
    entry. The last worksheet has links that carry all the data from the individual sheets to it, and it will be used to post everything to the general ledger all at once.

    The file has worked great for months, but this month my boss needed to add some rows to one of the input sheets to accommodate some additional revenue. This, of course, screwed up the consolidation sheet at the end of the file because the sheet did not/could not add formulas for the new rows, so the additional information did not carry to the sheet.

    Is there any way to make the consolidation sheet (the last one) self-adjust when someone adds a row to one of the data input worksheets?

    Thanks!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Make a worksheet self-adjust formulas when a row is inserted into a linked sheet?

    this is probably not what your looking for, but it should at least warn you that the number of rows in another workbook has changed. use a counta() on a column that will always contain data in a "feeder" sheet, and compare that to the count of the same column in your "master" sheet. you will at least be able to check that the number of rows tally, and if not, adjust the formulas as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    04-29-2010
    Location
    Tallahassee, FL
    MS-Off Ver
    365
    Posts
    100

    Re: Make a worksheet self-adjust formulas when a row is inserted into a linked sheet?

    Thank you. I will give that a try!

+ 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