+ Reply to Thread
Results 1 to 14 of 14

Excel 2007 : Referening from one workbook to another formula.

  1. #1
    Registered User
    Join Date
    05-13-2009
    Location
    Memphis TN
    MS-Off Ver
    Microsoft 365
    Posts
    34

    Referening from one workbook to another formula.

    I apologize in advance for the typo's.

    Here's an example of what i have and what i am trying to do. For reference, i have attached the file with 2 sheets referencing each other in the same workbook and a file with each source and display files.

    I don't expect anyone to do any the work, i just need to know how to edit the following formula to make it see the exact cell but just in another workbook.

    I have the following formula in place to reference from one sheet to another in the same workbook:

    =IF('Inside Turnover'!$E$45<>"",'Inside Turnover'!$D$45&" "&'Inside Turnover'!$E$45,IF('Inside Turnover'!$D$45="","",'Inside Turnover'!$D$45))

    BUT i want to do this using IST1 as the source where someone can do input and update while IST2 is displaying the changes on a monitor in another room.

    The problem i am having is this.

    The above formula is doing the following:
    An entry is made in D45 on the Inside turnover sheet. Another entry is made if needed into E45 that turns the cell fill to yellow in D45. If an entry is made in E45, it turns the text in D45 Blue. E45 and D45 are never used at the same time. I also have conditioning formulas making the color changes.
    Attachment 145242Attachment 145243Attachment 145244

    If you look at the inside turnover NEW. that's what i want to do but in 2 different files as described above but i am having trouble gettingthe different files to act the same as the original file does.


    When opening the files. i only want the columns D. E. F. to have the formulas to have an entry on Inside Turnover tab of the Inside Turnover(NEW) file which i have also saved as Inside Turnover1. I'm sure it will be obvious. Yeah right. haha
    TMI? or not enough?
    Last edited by Boharris; 03-10-2012 at 04:13 PM.

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Referening from one workbook to another formula.

    the sheets that you provided are password protected, but i think what you want to do is something like this; change your references to include the path and file name for example a reference to A1 on another sheet would be:

    ='C:\Fourms\[Book1.xlsx]Sheet1'!A1
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Referening from one workbook to another formula.

    on another note, the changes will not reflect in the second workbook unless it is 'recalculated'

    you could do this with a macro that automaticaly recalculates the sheet every x seconds, or by pressing F9 to maunaly recalculate.

  4. #4
    Registered User
    Join Date
    05-13-2009
    Location
    Memphis TN
    MS-Off Ver
    Microsoft 365
    Posts
    34

    Re: Referening from one workbook to another formula.

    thanks i will try your suggetions.

  5. #5
    Registered User
    Join Date
    05-13-2009
    Location
    Memphis TN
    MS-Off Ver
    Microsoft 365
    Posts
    34

    Re: Referening from one workbook to another formula.

    DGagnon,

    Here are the files again but unlocked.

    Here's the description of what is happening in the Inside Turnover(new) file and needs to happen with the Inside Turnover1 and Turnover2 files.

    In the Inside turnover (new) file, you will enter a number in the inside turnover sheet, 1200 in D5. It will show up in I10 on the shop layout sheet.

    You will then enter 3AM in E5 on the inside turnover sheet and the D5 box will turn yellow AND the I10 text will add the 3AM and turn red. (conditioning formatting on both sheets for this.)

    You will then take 3AM out of E5 and enter X in F5, the D5 will change to blue AND I10 of the shop layout sheet will turn blue. Again conditioning formatting.

    I want this to happen with the Inside Turnover sheet in another workbook so the Shop layout stays displayed on a monitor in another room without having to see the Inside turnover sheet being worked on.

    I understand i may have to macro a refresh in the shop layout file.

    Is this even possible with all the formula and conditioning going on?

    I would think i would not matter where the source file is, unless there is just too much going on already.

    I just need a helping hand getting the source file into my formula in the shop layout cells.

    The source file will be on the c: under Users\113724\test.

    Thanks
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-13-2009
    Location
    Memphis TN
    MS-Off Ver
    Microsoft 365
    Posts
    34

    Re: Referening from one workbook to another formula.

    DGagnon.

    Here are the new files.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-13-2009
    Location
    Memphis TN
    MS-Off Ver
    Microsoft 365
    Posts
    34

    Re: Referening from one workbook to another formula.

    DGagnon,

    Can't get it to work.

    For info, if you open both of these on the same computer, everything works great, but IT2 will not refresh when opened on different computers. I just need to get the IT2 to refresh somehow without closing it and reopening it everytime a change is made. If you play with it, just enter something in D5 of IT1 and it will show up in I9 on IT2. Enter something in E5 in IT1 and D5 cell turns yellow and I9 on IT2 text turns red with the entry included. Remove E5 on IT1 and put something in F5, D5 text in IT1 and I9 text in IT2 turns blue. I want to input into IT1 and have IT2 display on a separate computer monitor.
    Attached Files Attached Files

  8. #8
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Referening from one workbook to another formula.

    try using this code in your workbook

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    05-13-2009
    Location
    Memphis TN
    MS-Off Ver
    Microsoft 365
    Posts
    34

    Re: Referening from one workbook to another formula.

    gives me a code 400 MVB error.

    But that's better than what has happened so far.

  10. #10
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Referening from one workbook to another formula.

    this is a bit more specific, try this, sorry for all the attempts, i cant test this on my own system as i only have one pc

    Please Login or Register  to view this content.
    note: you might need to update the file location, and it is set for 30 second refresh, you could reduce that.

  11. #11
    Registered User
    Join Date
    05-13-2009
    Location
    Memphis TN
    MS-Off Ver
    Microsoft 365
    Posts
    34

    Re: Referening from one workbook to another formula.

    AWESOME! the only thing now is i have to hit the macro run button when i open the workbook but it runs great after that for as long as it's open. I can live with that if that can't be corrected. I should not have to shut the workbook down. Or that's my goal anyway.
    When doing the data entry on the other computer, it waits until i hit save which i will turn on auto save.

    Thanks so much for the time and effort.

  12. #12
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Referening from one workbook to another formula.

    you can put the code in the workbook module as bellow and it will automaticaly run when the workbook loads. if for some reason you need to intrupt it just press Esc.


    Please Login or Register  to view this content.

  13. #13
    Registered User
    Join Date
    05-13-2009
    Location
    Memphis TN
    MS-Off Ver
    Microsoft 365
    Posts
    34

    Re: Referening from one workbook to another formula.

    Great. Will do.

  14. #14
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Referening from one workbook to another formula.

    try this out, if not, im not really sure on that one.

    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)

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