+ Reply to Thread
Results 1 to 8 of 8

Protected sheet killing VLOOKUP from updating

  1. #1
    Registered User
    Join Date
    04-24-2024
    Location
    California
    MS-Off Ver
    2021
    Posts
    4

    Protected sheet killing VLOOKUP from updating

    Hello,

    First post, still learning excel. Running Excel 2024 on MacOS. My issue is I have two sheets, First sheet labeled "Calculator", Has a drop down list that pulls a list of products from a Price/Quantity table on the second sheet labeled "Transfers". Depending on what product is selected in the drop down list (B3), and what Quantity is entered in (G3) cells (E3, F3, and I3) populate with the data attached to that product. Everything works if the sheets are not protected. When I protect the sheets, the VLOOKUP and INDEX formulas located in (E3, F3, I3) are not dynamic and do not register any new products added to the table on "Transfer" sheet.

    CELL E3 Contains:
    Please Login or Register  to view this content.
    CELL F3 Contains:
    Please Login or Register  to view this content.
    CELL I3 Contains:
    Please Login or Register  to view this content.
    So my drop down list is still dynamic, but those 3 cells are not when the sheet is protected.

    I attached an example file. So basically to test, you would add a new row to the table on "Transfer" Sheet. Enter Product data in Columns A,B,C,D. And when you select the new entry from the drop down list, E3, F3, and I3 updates correctly.

    Thanks,
    Joey
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,371

    Re: Protected sheet killing VLOOKUP from updating

    Click on Review tab when you open this excel file then click on Unprotect Sheet, hope that solve the problem

  3. #3
    Registered User
    Join Date
    04-24-2024
    Location
    California
    MS-Off Ver
    2021
    Posts
    4

    Re: Protected sheet killing VLOOKUP from updating

    Thanks for the reply. I guess I should have stated that I want the sheets to be protected so the formulas in CELLS E3, F3, and I3 don't get erased. The only cells I have unlocked are the cells that require input.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,267

    Re: Protected sheet killing VLOOKUP from updating

    There is no Office 2024 yet, I don't think - do you have 365?

    The cells are still working here with the sheet protected, so I don't know what your issue is.

    I think I3 should be this:

    =IFERROR(INDEX(Transfer!$D$3:$ALN$17,MATCH(B3,Transfer!$A$3:$A$17,0),MATCH(TEXT(G3,"0"),Transfer!$D$2:$ALN$2,0))*G3,0)
    Last edited by AliGW; 04-26-2024 at 02:29 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    04-24-2024
    Location
    California
    MS-Off Ver
    2021
    Posts
    4

    Re: Protected sheet killing VLOOKUP from updating

    Oh I guess I never noticed. It's 2021, newest version 16.81. I tried making the change suggested by AiGW, still same result for me. Did you try entering a new product on Transfer sheet and then selecting it from the B3 drop down list? The formulas in CELL E3, F3, I3 are static when sheet protection is turned on. So if you were to enter a new entry on Transfer sheet. CELLS E3, F3, and I3 do not update with correct table range on Transfer sheet.

    CELL E3 didn't update to:
    Please Login or Register  to view this content.
    CELL F3 didn't update to:
    Please Login or Register  to view this content.
    CELL I3 didn't update to:
    Please Login or Register  to view this content.
    Does excel kill the dynamic functionality of the function when the cell that has those particular functions inside them? I double checked my settings to make sure automatic calculations are enabled. All other formulas in locked cells function correctly when my sheet is protected These are the only cells having this issue.

    Thanks for the help
    Joey

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,267

    Re: Protected sheet killing VLOOKUP from updating

    Ah, I see what the issue is now - I did not understand!

    My correction was not for that - it was to make your final column calculate correctly! Your formula there does not take the multiplication into account.

    I suggest you just make those ranges longer than they will ever need to be, e.g.

    =IFERROR(VLOOKUP(B3,Transfer!$A$3:$ALN$1800,2,FALSE),0)

    You still haven't changed your forum profile from 2024 to 2021.
    Last edited by AliGW; 04-26-2024 at 11:05 AM.

  7. #7
    Registered User
    Join Date
    04-24-2024
    Location
    California
    MS-Off Ver
    2021
    Posts
    4

    Re: Protected sheet killing VLOOKUP from updating

    AiGW, Thank you! I cannot believe how simple the fix was. I just always assumed I needed to use the exact range of the table and excel would scale the formula accordingly just like it does when the sheet is unprotected. Thank you that fixes my issue. Do you have any light on why these particular formulas do not scale dynamically when the sheet is protected?

    Thanks again,
    Joey

    SOLUTION FOUND

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,267

    Re: Protected sheet killing VLOOKUP from updating

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

    Do you have any light on why these particular formulas do not scale dynamically when the sheet is protected?
    You'd need to ask Microsoft, I'm afraid.

+ 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. Auto Sum not updating in protected sheet
    By Balagurur in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-12-2021, 03:09 AM
  2. Updating links from a password protected sheet
    By hyd1956 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-07-2020, 11:46 AM
  3. excel tables with dropdowns not updating on protected sheet
    By tsiguy96 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 12-23-2014, 09:33 AM
  4. Updating a protected worksheet
    By srudnick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-02-2014, 11:59 PM
  5. please let me know can i Update only selected columns
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-01-2014, 02:27 AM
  6. Updating a Web Query on Protected Sheet?
    By 007eko in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-25-2007, 08:51 PM
  7. Replies: 3
    Last Post: 06-11-2005, 04:05 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