+ Reply to Thread
Results 1 to 5 of 5

VBA help reducing chain of linked cells

  1. #1
    Registered User
    Join Date
    08-14-2017
    Location
    Ireland
    MS-Off Ver
    2010
    Posts
    7

    VBA help reducing chain of linked cells

    To simplify the issue: I have 4 worksheets in my workbook: "Business X", "Business Y", "Totals" and "Summary".

    The formula in cell A1 of "Totals" is:

    ='Business X'!A1+'Business Y'!A1

    and the formula in cells A1 of "Summary" is

    =Totals!A1

    I want to cut out the middle man ("Totals" worksheet) essentially and build a macro that goes to the cell referred to in A1 of the "Summary" tab, copies that formula and then pastes it into back into cell A1 of "Summary" tab, hence eliminating the need for "Result" tab.

    So essentially Summary!a1 = totals!a1= BusinessX!a1 + BusinessY!a1

    condenses to: Summary!a1 = BusinessX!a1 + BusinessY!a1

    Of course it is easily done in the example provided but i'd hope to apply it to work on a grand scale i.e. all of the cells in a selected range in the "Summary" tab
    Thanks in advance for any assistance

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: VBA help reducing chain of linked cells

    I expect there's some relevant detail missing.

    Why not just rename the Totals worksheet to Summary?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    08-14-2017
    Location
    Ireland
    MS-Off Ver
    2010
    Posts
    7

    Re: VBA help reducing chain of linked cells

    Thanks for the reply, it is actually far more complicated with the formulae comprising different combos of well over 20 sheets . the formulae are also Non linear so autofill doesn't work either by row or column. For example Totals!a1 might equal Businessx!c23 + Businessy!dd67 wheres as a2 might equal Businessx!b34 + BusinessY!ae4 so it's a bit of a jigsaw

  4. #4
    Registered User
    Join Date
    08-14-2017
    Location
    Ireland
    MS-Off Ver
    2010
    Posts
    7

    Re: VBA help reducing chain of linked cells

    I just used these worksheet names and cells for simplicity and hopefully then i could append a solution to this example to a larger range

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: VBA help reducing chain of linked cells

    Please Login or Register  to view this content.

+ 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. Reducing over many cells
    By Ben74 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2017, 09:03 AM
  2. [SOLVED] Referencing multiple cells in a chain like way
    By financeintern01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2015, 03:45 PM
  3. macro for replace and delete text chain in several cells
    By alesiracer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-18-2014, 06:58 PM
  4. Cell J4 = Word creates chain event in following cells
    By MilkyRippers in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-18-2014, 05:24 AM
  5. Reducing Linked File Path / Formula
    By SamuelT in forum Excel General
    Replies: 5
    Last Post: 11-21-2007, 11:46 AM
  6. Converting a linked cells in a non-linked cells
    By pittopitto in forum Excel General
    Replies: 3
    Last Post: 05-07-2007, 04:33 PM
  7. Replies: 0
    Last Post: 06-06-2006, 04:40 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