SOLVED
Home

How to get reference cell to update while closed

%3CLINGO-SUB%20id%3D%22lingo-sub-486396%22%20slang%3D%22en-US%22%3EHow%20to%20get%20reference%20cell%20to%20update%20while%20closed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-486396%22%20slang%3D%22en-US%22%3EHello%2C%20I%20have%20not%20been%20able%20to%20find%20an%20answer%20to%20my%20question%20on%20several%20forums%2C%20hopefully%20you%20all%20can%20help%20me%20out.%3CBR%20%2F%3E%3CBR%20%2F%3EA%20simple%20example%20of%20what%20I%20am%20looking%20to%20do%20is%3A%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20Book1%20cell%20A1%20%3D%20book3%20cell%20B1%3CBR%20%2F%3EIn%20Book2%20cell%20A1%20%3D%20book3%20cell%20B1%3CBR%20%2F%3EIn%20Book3%20cell%20B1%20%3D%2010%2C%20all%20other%20cells%20are%20empty.%3CBR%20%2F%3E%3CBR%20%2F%3EBook1%20is%20open%3CBR%20%2F%3EBook2%20is%20closed%3CBR%20%2F%3E%3CBR%20%2F%3EI%20open%20Book3%20copy%20Column%20B%20and%20insert%20the%20copied%20cells%20before%20Column%20B.%20Now%20B1%20and%20C1%20both%20equal%2010.%20I%20change%20the%20value%20of%20C1%20from%2010%20to%2020.%3CBR%20%2F%3E%3CBR%20%2F%3EBook1%20cell%20A1%20updates%20to%2020%20because%20the%20formula%20follows%20the%20cell%20to%20its%20new%20position%20of%20C1.%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%20you%20open%20Book2%20cell%20A1%20still%20equals%2010%20because%20the%20formula%20still%20references%20cell%20B1%20in%20Book3.%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20there%20a%20way%20to%20make%20the%20formula%20is%20Book2%20update%20when%20the%20column%20was%20added%20in%20Book3%20even%20when%20Book2%20is%20closed%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-486396%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-486586%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20get%20reference%20cell%20to%20update%20while%20closed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-486586%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F328317%22%20target%3D%22_blank%22%3E%40-AbsoluteZero-%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%20there!%3C%2FP%3E%3CP%3EI%20suggest%20you%20try%20the%20following%3A%3C%2FP%3E%3CP%3EOn%20Book%203%20select%20the%20cell%20and%20give%20it%20a%20name%2C%20for%20example%2C%20CellToMonitor%20(see%20picture%20attached.)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20464px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F110641iD407E2ABCAF67BCB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%221.JPG%22%20title%3D%221.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESave.%3C%2FP%3E%3CP%3EOpen%20Book1%20delete%20the%20formula%20on%20cell%20A1%2C%20and%20then%20write%20it%20again%20by%20pointing%20to%20cell%20B1%20in%20Book%203.%20You%20should%20get%20something%20like%20this%20on%20your%20formula%20bar%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3DBook3.xlsx!CellToMonitor%3C%2FP%3E%3CP%3ESave%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOpen%20Book2%20and%20do%20the%20same%20as%20in%20Book1.%3C%2FP%3E%3CP%3ESave%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EClose%20all%20books.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETest%20%3B-)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-486631%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20get%20reference%20cell%20to%20update%20while%20closed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-486631%22%20slang%3D%22en-US%22%3EThis%20is%20brilliant!%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20will%20take%20me%20a%20while%20to%20run%20though%20the%20few%20thousand%20cells%20to%20name%20them%2C%20but%20the%20amount%20of%20time%20this%20will%20save%20and%20the%20increased%20accuracy%20will%20be%20well%20worth%20it.%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20so%20much%20Celia!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-486665%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20get%20reference%20cell%20to%20update%20while%20closed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-486665%22%20slang%3D%22en-US%22%3EYou're%20very%20welcome!%20I%20am%20glad%20that%20I%20could%20help.%20Let%20me%20know%20if%20you%20need%20help%20to%20name%20that%20many%20cells.%20Maybe%20there's%20a%20way%20to%20do%20that%20quickly.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-486718%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20get%20reference%20cell%20to%20update%20while%20closed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-486718%22%20slang%3D%22en-US%22%3EOne%20thing%20I%20do%20notice%20that%20causes%20a%20delay%20in%20accuracy%20is%20if%20I%20change%20the%20value%20in%20my%20source%20workbook%20and%20don%E2%80%99t%20save%20because%20I%20don%E2%80%99t%20want%20to%20keep%20the%20changed%20value%2C%20any%20open%20workbooks%20referencing%20that%20cell%20will%20hold%20the%20last%20value%20until%20a%20new%20workbook%20is%20opened%20that%20also%20references%20that%20named%20cell%2C%20I%20open%20the%20source%20workbook%2C%20or%20I%20close%20and%20reopen%20the%20destination%20workbook.%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20there%20a%20way%20to%20update%20the%20link%20when%20closing%20the%20source%20workbook%3F%3CBR%20%2F%3E%3CBR%20%2F%3EFYI%2C%20If%20I%20implement%20this%20I%20will%20have%20multiple%20destination%20workbooks%20each%20with%20hundreds%20of%20links%20in%20it.%20And%20these%20destination%20workbooks%20are%20being%20opened%20and%20closed%20by%20my%20staff%20throughout%20the%20day%2C%20along%20with%20the%20source%20workbooks.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20would%20be%20great%20to%20see%20these%20update%20in%20real%20time%2C%20but%20the%20delay%20between%20opening%20and%20closing%20gives%20me%20a%20little%20pause.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-486749%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20get%20reference%20cell%20to%20update%20while%20closed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-486749%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F328317%22%20target%3D%22_blank%22%3E%40-AbsoluteZero-%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIs%20there%20a%20way%20to%20update%20the%20link%20when%20closing%20the%20source%20workbook%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EMaby%20this%20way%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EOn%20the%20open%20referencing%20workbook%3A%20tab%20Data%2C%20button%20Edit%20Links%2C%20Update%20Values.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ETo%20be%20automatic%2C%20maybe%20with%20a%20macro%20in%20the%20source%20workbook%20that%2C%20before%20closing%20would%20tell%20all%20the%20other%20books%20to%20update%20the%20links.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EMaybe%20there%20is%20something%20that%20you%20can%20change%20in%20your%20process%20that%20would%20avoid%20this%20struggle.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
-AbsoluteZero-
New Contributor
Hello, I have not been able to find an answer to my question on several forums, hopefully you all can help me out.

A simple example of what I am looking to do is:

In Book1 cell A1 = book3 cell B1
In Book2 cell A1 = book3 cell B1
In Book3 cell B1 = 10, all other cells are empty.

Book1 is open
Book2 is closed

I open Book3 copy Column B and insert the copied cells before Column B. Now B1 and C1 both equal 10. I change the value of C1 from 10 to 20.

Book1 cell A1 updates to 20 because the formula follows the cell to its new position of C1.

When you open Book2 cell A1 still equals 10 because the formula still references cell B1 in Book3.

Is there a way to make the formula is Book2 update when the column was added in Book3 even when Book2 is closed?

Thank you
5 Replies
Solution

@-AbsoluteZero- 

Hi, there!

I suggest you try the following:

On Book 3 select the cell and give it a name, for example, CellToMonitor (see picture attached.)

1.JPG

Save.

Open Book1 delete the formula on cell A1, and then write it again by pointing to cell B1 in Book 3. You should get something like this on your formula bar: 

=Book3.xlsx!CellToMonitor

Save

 

Open Book2 and do the same as in Book1.

Save

 

Close all books.

 

Test ;-)

 

 

This is brilliant!

It will take me a while to run though the few thousand cells to name them, but the amount of time this will save and the increased accuracy will be well worth it.

Thank you so much Celia!
You're very welcome! I am glad that I could help. Let me know if you need help to name that many cells. Maybe there's a way to do that quickly.
One thing I do notice that causes a delay in accuracy is if I change the value in my source workbook and don’t save because I don’t want to keep the changed value, any open workbooks referencing that cell will hold the last value until a new workbook is opened that also references that named cell, I open the source workbook, or I close and reopen the destination workbook.

Is there a way to update the link when closing the source workbook?

FYI, If I implement this I will have multiple destination workbooks each with hundreds of links in it. And these destination workbooks are being opened and closed by my staff throughout the day, along with the source workbooks.

It would be great to see these update in real time, but the delay between opening and closing gives me a little pause.

@-AbsoluteZero- 

Is there a way to update the link when closing the source workbook?

Maby this way:

On the open referencing workbook: tab Data, button Edit Links, Update Values.

To be automatic, maybe with a macro in the source workbook that, before closing would tell all the other books to update the links. 

Maybe there is something that you can change in your process that would avoid this struggle. 

 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies