+ Reply to Thread
Results 1 to 5 of 5

Linking formulas to password protected workbooks

  1. #1
    Registered User
    Join Date
    06-01-2011
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    19

    Linking formulas to password protected workbooks

    Hi all,

    I wondered if anyone could solve a problem I have?

    I've got three separate workbooks, lets call them A, B and C. A and B are for data entry and are password protected so that only trusted members of staff can make entries. C is an overview of both A and B and has various links to them.

    When I open C I get a pop up box about updating links, I click yes, then it asks for the passwords for A and B which I enter, but any formula linking to A and B is then displayed as #VALUE!

    If I open A and B first, then open C, everything works fine and I do not get #VALUE!

    Is there anything I can do so I don't have to open A and B first?

    Many thanks

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Linking formulas to password protected workbooks

    What is an example of the #VALUE formulas?
    It could well be that the formulas fail because they need the files open first.
    Some formulas won't work with closed workbooks.
    What I'm saying is this may not be password related at all.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,900

    Re: Linking formulas to password protected workbooks

    A workbook must be open for formulas to return the correct answer, otherwise the result is #VALUE
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  4. #4
    Registered User
    Join Date
    06-01-2011
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    19

    Re: Linking formulas to password protected workbooks

    Quote Originally Posted by Special-K View Post
    What is an example of the #VALUE formulas?
    It could well be that the formulas fail because they need the files open first.
    Some formulas won't work with closed workbooks.
    What I'm saying is this may not be password related at all.
    I see - here is one of the formulas:

    =SUMIFS('S:\New Business Register\[New Business Register.xlsx]2019'!N$2:N$1001,'S:\New Business Register\[New Business Register.xlsx]2019'!P$2:P$1001,"",'S:\New Business Register\[New Business Register.xlsx]2019'!A$2:A$1001,"*DR*")-(SUMIFS('S:\New Business Register\[New Business Register.xlsx]2019'!Q$2:Q$1001,'S:\New Business Register\[New Business Register.xlsx]2019'!A$2:A$1001,"*DR*"))

  5. #5
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,878

    Re: Linking formulas to password protected workbooks

    You'd need to convert the formula to SUM(IF()) array formula.

    SUMIF/COUNTIF family of functions cannot be used on closed workbook.

    Alternately, you can use PowerQuery (Get & Transform) to load data to data model and then use DAX measure to perform your calculation.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

+ 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. Replies: 0
    Last Post: 02-09-2015, 05:53 PM
  2. Replies: 0
    Last Post: 02-04-2015, 05:21 PM
  3. Linking to password protected documents
    By Moconnor9 in forum Excel General
    Replies: 2
    Last Post: 12-03-2013, 07:38 AM
  4. Linking to password-protected workbooks
    By AGuyNamedScotty in forum Excel General
    Replies: 1
    Last Post: 04-23-2008, 09:46 AM
  5. [SOLVED] linking to multiple password protected workbooks
    By Jay Oken in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2005, 10:06 PM
  6. Replies: 2
    Last Post: 02-14-2005, 10:06 PM
  7. Replies: 1
    Last Post: 02-07-2005, 08:06 PM

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