+ Reply to Thread
Results 1 to 11 of 11

PLEASE HELP - Problem with 2 linked workbooks

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    Leicester, England
    MS-Off Ver
    Excel 2003
    Posts
    14

    PLEASE HELP - Problem with 2 linked workbooks

    Hi

    I have linked 2 workbooks and some information from wb1 is sent to wb2, but wb2 is refusing to update unless I have wb1 open - it only returns #VALUE.

    When I have set up links previously they have worked fine but this one is baffling me!

    Can anyone help please??

    Debbie

  2. #2
    Registered User
    Join Date
    06-20-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: PLEASE HELP - Problem with 2 linked workbooks

    Hi

    My understanding is that use of certain Excel functions can result in a #VALUE error (when linking two workbooks). What functions are you using? Are you linking the workbooks by typing the formula into the cell manually or are you using paste special?

    M

  3. #3
    Registered User
    Join Date
    05-10-2012
    Location
    Leicester, England
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: PLEASE HELP - Problem with 2 linked workbooks

    Hi Mark

    This is an example of my formula:

    =SUMIF(filename.xls]MAY'!$O$8:$O$300,41029,'filename.xls]MAY'!$AD$8:$AD$300)

    There is one of these for each month (entered manually), then I copied/pasted them and changed the excel date number for others...........so in answer to your question there are both.

    Hope this makes sense!

  4. #4
    Registered User
    Join Date
    06-06-2012
    Location
    Switzerland
    MS-Off Ver
    MS Excel 365
    Posts
    68

    Re: PLEASE HELP - Problem with 2 linked workbooks

    Hi Debbie,

    You can not gather information from workbooks which are stored in different folders (left parenthesis, it is possible with VBA). Assuming when you created all your data, the files where in the same folder, followed by moving wb1, wb2, etc. to different folders. Right?

    Shall I show you the VBA way (do you know what I am talking about?)?

  5. #5
    Registered User
    Join Date
    06-20-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: PLEASE HELP - Problem with 2 linked workbooks

    Hi Debbie

    I have found the following. When using your formula I do indeed get the #VALUE error, but I don't when I use another function (just as an example, SUM). I have heard that in circumstances like this
    SUMPRODUCT can be used instead of SUMIF. Is this something you would consider?

    Mark

    PS I think there's a square bracket missing from your formula, but I'm assuming this is just a typo and not in original formula

  6. #6
    Registered User
    Join Date
    06-11-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: PLEASE HELP - Problem with 2 linked workbooks

    open the source file first then open the next containing link to the source file.

    if it ask to update the link select update link & then select the source file by going in to its location folder.

  7. #7
    Registered User
    Join Date
    06-20-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: PLEASE HELP - Problem with 2 linked workbooks

    Hi Debbie

    Just tried out using SUMPRODUCT to do the same as your SUMIF was doing and it works fine with no #VALUE error
    M

  8. #8
    Registered User
    Join Date
    05-10-2012
    Location
    Leicester, England
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: PLEASE HELP - Problem with 2 linked workbooks

    Mark

    How do I compose the sumproduct formula, I've never used it before?

  9. #9
    Registered User
    Join Date
    06-20-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: PLEASE HELP - Problem with 2 linked workbooks

    Hi Debbie

    This worked for me, let me know how you get on:

    =SUMPRODUCT(([file1.xls]MAY!$AD$8:$AD$300)*([file1.xls]MAY!$O$8:$O$300=41029))
    M

  10. #10
    Registered User
    Join Date
    05-10-2012
    Location
    Leicester, England
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: PLEASE HELP - Problem with 2 linked workbooks

    Thanks Mark

  11. #11
    Registered User
    Join Date
    06-20-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: PLEASE HELP - Problem with 2 linked workbooks

    You're welcome
    M

+ 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