Google Sheets - Conditionally Lock Cells Based on Other Values

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

ความคิดเห็น • 85

  • @agugi
    @agugi 3 ปีที่แล้ว +1

    Did you know that people like you, are great. Thank you very much.

  • @TheMobius10
    @TheMobius10 2 ปีที่แล้ว +3

    Hello! Thank for this! Helpful info. Is there a way to also make it so that a user cannot delete the info that is already in the cell at that point? It works for rejecting input, but i want to use it to reject new input AND reject deleting of the content of the cell.

  • @madhurapataki2428
    @madhurapataki2428 2 ปีที่แล้ว +1

    How to lock a cell based on multiple values in a particular cell? Can you please help me with this.
    Like if status is pending and shipped both should be allowed

  • @nice6585
    @nice6585 2 ปีที่แล้ว +4

    /Seems like this does not work if the cell you are supposed to lock is a drop down list :( is there any alternative?

    • @MaryJeyaseeli-j2j
      @MaryJeyaseeli-j2j 7 หลายเดือนก่อน

      same doubt...did u get a solution?

  • @danielcunha2039
    @danielcunha2039 10 หลายเดือนก่อน

    Thank you. That's exactly what I looking for, but I have one question: How can I not ignore the blanks in the conditionals?

  • @jflying2167
    @jflying2167 3 ปีที่แล้ว +1

    I have multiple drop downs made from data validation "list from a range". How can I retain this and also prevent people from engaging the other drop downs until the first on is selected?

  • @ashishdonda9589
    @ashishdonda9589 3 ปีที่แล้ว +1

    the trick that you used for drop down list open & close worked fine as I wasn't able to add new entries but it had one problem that is I was able to delete old entries using Backspace or Delete button

  • @sigrunpaust2396
    @sigrunpaust2396 ปีที่แล้ว

    Thank you, great video. Is there a way to do this with a checkbox in the conditional cell? Like if the checkbox is checked (=true) then the other cell is locked? I'm having trouble with this. Thank you for any thoughts.

  • @zaymarhenriquez-sedra2720
    @zaymarhenriquez-sedra2720 ปีที่แล้ว

    Hello thanks - it worked great but what is I need two values Shipped and Delivered for example. I tried to use formula with OR but does not work. Please can you help me?

  • @nouks81
    @nouks81 3 ปีที่แล้ว

    Thank you for this. I just tried it and I am wondering if there's a way to not show the error on data that was previously entered.
    I'm placing an order as a group but I want to reject changes once the order is set to "closed" without it showing the warning for the preexisting values. Thank you!

  • @keyurshah679
    @keyurshah679 4 ปีที่แล้ว +2

    Not exactly in Google sheet but in Excel, can we achieve following
    Can we have method to automatically "unlock" (for any operation) a otherwise "locked cell" in protected sheet depending on value of another cell ?
    Let's say I have a worksheet in which all the cells are protected in column O.
    My column D has drop down menu to select from @ 58 list.
    What I want to achieve is if someone select from drop-down "subtotal" in any row in column D, respective cell in that row in column O shall be unlocked for subtotal.
    How we can achieve this.
    Looking forward and thanks in advance.

    • @lei.zacarias03
      @lei.zacarias03 ปีที่แล้ว

      looking for this too❤❤❤❤

  • @Graphiculator
    @Graphiculator 4 ปีที่แล้ว +1

    Thank you for the Tutorial. This is really helpful.
    What about if the Cell range already has a Data validation. Like a Dropdown menu or Check box.
    Is there any solution for this.

  • @2ale
    @2ale 2 ปีที่แล้ว

    is that possible using check boxes? im trying to do that but it changes the check boxes with true or false values when i add a data validation

  • @souravdebnath7064
    @souravdebnath7064 ปีที่แล้ว

    Thanks.. thats what i looking for some times.. thank you so much..

  • @marc000
    @marc000 2 ปีที่แล้ว

    Hello,
    Do you know if the users can modify the data validations, also the formating (conditional or not) etc... .
    Can we prevent this (or is it already) ?
    All what I know about this is :
    Protect cell => Unauthorized user cannot do anything on the cell.
    Unprotect cell => Everyone can do everything with the cells ... (format, validation etc ...) (afaik)

    • @ProlificOaktree
      @ProlificOaktree  2 ปีที่แล้ว +1

      I don’t think you can protect that.

    • @marc000
      @marc000 2 ปีที่แล้ว

      Too bad. It would have been fine for my collaborative sheet.
      Unless (probably) writing scripts but then it' s much harder work ...
      Thanks for reply anyway.

  • @ruudje1976
    @ruudje1976 2 ปีที่แล้ว +1

    Thank you. Exactly what I needed, and well explained and demonstrated.

    • @ProlificOaktree
      @ProlificOaktree  2 ปีที่แล้ว

      Glad it helped!

    • @MaryJeyaseeli-j2j
      @MaryJeyaseeli-j2j 7 หลายเดือนก่อน

      @@ProlificOaktree What if the validating range already contains dropdown criteria? how to add the data validation rule?

  • @vpant
    @vpant 4 ปีที่แล้ว

    Hello! I hope you are keeping well
    This is exactly what I was looking for
    but
    I do not have access to google sheets at my office. I have been trying to mimic your approach in Excel. Not able to get the result
    Please , suggest an alternative or may be an excel version of this.
    Thank you

    • @ProlificOaktree
      @ProlificOaktree  4 ปีที่แล้ว +1

      Good idea. I'm going to look into it.

  • @ahmedshawkycrm480
    @ahmedshawkycrm480 3 ปีที่แล้ว

    Thank you!
    Can I copy this and apply at once onto another Sheets with the same formats and design!

  • @superdeveloper5141
    @superdeveloper5141 3 ปีที่แล้ว

    Hello sir, is there a way I can make a Shared sheet on Google ( which will be a attendance sheet) where , Columns will be > Date | User 1 | User 2 :- 1) One user can not make entry in other user's column 2) no one can make entry/ edit in Past date 3) Hide Data Validation Option Under 'Data' Menu Option.

  • @kulwindersingh5840
    @kulwindersingh5840 3 ปีที่แล้ว

    Good morning sir, I just want to restrict color range in google sheet, so that no one will be able to change colour of sheet, only owner can change color of sheet. Is it possible? If yes kindly guide me.

  • @weaq84
    @weaq84 ปีที่แล้ว

    Thank you for this. I already have data validation on the cell, to enable it to show a drop down list, but I'd like it only to be active if another cell has no data in it. It looks like I can't apply a second data validation rule to the cell. Does anybody know if this is possible?

  • @massimohouse438
    @massimohouse438 3 ปีที่แล้ว

    Hi There. Thank u for the great content. Is there a way to only allow cells to be edited on specifc dates? If i have a sheet where staff manually input their working hours that has the dates in column 1. Is there a way to stop anyone editing previous dates input values? Thank u

    • @ProlificOaktree
      @ProlificOaktree  3 ปีที่แล้ว

      I would have to see the sheets, but I would think combining the IF and the TODAY function may help you out.

  • @SUR-NI-VARA
    @SUR-NI-VARA 2 ปีที่แล้ว

    Hi, Can I have similar validation based on system date>=today(), Reject data entry, I tried with formula at refering to cell with a text output as "Lock" =if(today()>=(2022,31,10),"Lock","") it could work, but gives a warning message at cell range, However I want to hide the (Top right red trangle "Error" validation mesage warning"), as I do not want user to know that the cell range has a validation in it, can I have multiple validation refereing t same range!! awaiting on your solution, thanks in advance

  • @nyannyanmoto7963
    @nyannyanmoto7963 3 ปีที่แล้ว

    So you have a script for this? Doing the validation data is useless when user will paste a value to it as it will overwritten that particular cell.

  • @neatdesign78
    @neatdesign78 ปีที่แล้ว

    and of courseawesome tutorialsl nice intro music. ;) thanks

  • @mohammadbadawi1400
    @mohammadbadawi1400 3 ปีที่แล้ว

    How to do if I want to lock based on the day date like enter data on the same day only

  • @monikamachkovska2833
    @monikamachkovska2833 3 ปีที่แล้ว

    Thank you for this. What is the formula if we have multiple values that satisfy the data validation?
    For example if we want to add tracking numbers for both Shipped and Pending?

  • @deybieduardoochoaarias8330
    @deybieduardoochoaarias8330 4 ปีที่แล้ว +1

    Thanks, I was looking for this example. It was a great help for me

  • @tainaandrade443
    @tainaandrade443 2 ปีที่แล้ว

    Thank you so much for the content!

  • @eashaantam6227
    @eashaantam6227 4 ปีที่แล้ว +1

    hello sir, can I prevent change in one cell depend upon the date in another cell

    • @ProlificOaktree
      @ProlificOaktree  4 ปีที่แล้ว

      Yeah. This video touches on that concept. th-cam.com/video/tGIT-IwwMwY/w-d-xo.html

  • @jordanemery7069
    @jordanemery7069 3 ปีที่แล้ว

    I want to lock cells in a row after entering the data in the cells in that row by selecting a yes or no from a drop down list at the end of that row. "is the data in this row complete?" yes = locked row. Can someone please help.

  • @GeoMacropulos
    @GeoMacropulos 2 ปีที่แล้ว

    If conditionally locked cells are built as formulas that rely on other sheets for the data presented, will those formulas continue to automatically work or will a conditional selection like "Closed" prevent the data from updating?

    • @ProlificOaktree
      @ProlificOaktree  2 ปีที่แล้ว

      Hard to tell without seeing what you're doing, but I think they'd still work.

  • @cityofclarksville599
    @cityofclarksville599 4 ปีที่แล้ว

    Is it possible to use conditional formatting to lock a cell after data input? For example, all cells will be blank and once a person adds text, it locks so others cannot edit it.

  • @samueldefelice8019
    @samueldefelice8019 4 ปีที่แล้ว

    Hey there just trying to get my question out in the open. I use google sheets everyday and I am trying to educate myself and use it to its full potential. You channel has a lot to offer can’t wait to dig in. But right now I am running into a road block. I’m not quite sure what the function is called. I have data on a google sheet. The data at the end is a list of vehicles that I have to work on. Some I get to and some I don’t. The ones I get to I set a drop down value with the word done and the row turns green and later I will delete the row. My question is how can when I select the word done get that vehicle to remove itself automatically off the master sheet and populate onto a secondary sheet storing the done values for later review? Thank you!

    • @ProlificOaktree
      @ProlificOaktree  4 ปีที่แล้ว

      Getting it to deleted would probably be a complicated matter so not sure about that. To pull something onto another sheet based on a cell value, you could use a combination of an IF statement with a nested VLOOKUP inside of it.

    • @samueldefelice8019
      @samueldefelice8019 4 ปีที่แล้ว

      @@ProlificOaktree Got it. thank you!!

  • @sarbashisSarkar
    @sarbashisSarkar 3 ปีที่แล้ว

    HOW TO CONDITIONALLY FORMAT A COLUMN VALUE BASED ON ANOTHER CELL VALUE THAT CHANGES IN REAL TIME
    LET SAY,
    FROM V3TO V17 I HAVE PE RATIO OF SOME COMPANIES. I AVERAGE THAT VALUE IN ANOTHER CELL (H7). NOW I WANT TO PUT A CONDITION IN V3 TO V17, WHICH CHANGES THE VALUE BASED ON VALUE ON H7

  • @talibabbas6518
    @talibabbas6518 2 ปีที่แล้ว

    Thanks for your efforts however, this is not working if users copy data from another file and paste it here.

  • @regretnowdoitlater2936
    @regretnowdoitlater2936 2 ปีที่แล้ว

    I tried this but they delete data from the protected cell or did i miss something?

  • @alkaahmed32
    @alkaahmed32 4 ปีที่แล้ว

    This was helpful.. do u have tutorial on one drive as well?

    • @ProlificOaktree
      @ProlificOaktree  4 ปีที่แล้ว

      No, I don't. I've been using and probably should make one though!

  • @bachchuhaldar3783
    @bachchuhaldar3783 2 ปีที่แล้ว

    Sir,.. Please use apps script same function. (conditionally lock cell/row/ column based on other cell)..Thank you.

  • @sayandey2529
    @sayandey2529 2 ปีที่แล้ว

    what if i want to validate cells for "Pending" and "Out of Stock" together?

    • @ProlificOaktree
      @ProlificOaktree  2 ปีที่แล้ว

      Try using the AND function in your formula.

  • @lhctrekker
    @lhctrekker 4 ปีที่แล้ว

    it does work ,but mine comes with annoying little red triangle at the corner in every cell indicating validation error.How to fix it?

    • @ProlificOaktree
      @ProlificOaktree  4 ปีที่แล้ว

      Paste the formula you used.

    • @lhctrekker
      @lhctrekker 4 ปีที่แล้ว

      @@ProlificOaktree 【=$L2=""】 if column L is not empty ,the validated cell is locked, else allow input entry.

    • @ProlificOaktree
      @ProlificOaktree  4 ปีที่แล้ว

      @@lhctrekker The only other thing I can think of is you should make sure you have Reject input selected and the Show validation help text box unchecked.

  • @sajalkumarghosh6195
    @sajalkumarghosh6195 ปีที่แล้ว

    Thank you Sir 🙂

  • @bidrive3285
    @bidrive3285 2 ปีที่แล้ว

    Thanks a lot sir,

  • @motherbarbelo7
    @motherbarbelo7 3 ปีที่แล้ว

    how do you skip certain cells that can not be entered and to cells that can be entered through tabbing. like doing data entry job.

    • @ProlificOaktree
      @ProlificOaktree  3 ปีที่แล้ว

      Hold down your control key and press the arrows. See this video for more on this: th-cam.com/video/pnGxShBGAyc/w-d-xo.html

    • @motherbarbelo7
      @motherbarbelo7 3 ปีที่แล้ว

      @@ProlificOaktree thanks. what about if you want to skip cells that is protected and tab to the cells that can be modified. similiar to database style.

    • @ProlificOaktree
      @ProlificOaktree  3 ปีที่แล้ว

      @@motherbarbelo7 I'm not aware of how to do that.

    • @motherbarbelo7
      @motherbarbelo7 ปีที่แล้ว

      @@ProlificOaktree how do you skip a cell when tabbing in google sheets

  • @vishnutiwari7902
    @vishnutiwari7902 3 ปีที่แล้ว

    How to lock cell if cell is blank using appscrit

  • @JrgenEngen
    @JrgenEngen ปีที่แล้ว

    What if the cell you would like to lock is a tickbox. Rule needs to be "If tickbox A10=FALSE then you wont be able to check the tickbox in A11". Sounds simple enough. But whenever I try this solution the cell just automatically becomes a text-cell.

  • @sipirock9383
    @sipirock9383 3 ปีที่แล้ว

    not working if I using google finance :(

  • @RupinderDhamija
    @RupinderDhamija ปีที่แล้ว

    Amazing.! 😁

  • @Daniela-yh3sv
    @Daniela-yh3sv 4 ปีที่แล้ว

    Thank you so much :)

  • @pichit.raetai
    @pichit.raetai 4 ปีที่แล้ว

    Thank you

  • @claystudiofx
    @claystudiofx 2 หลายเดือนก่อน

    It has flaws : it won't work when you do the 'paste' into the cells (not typing direclty into the cells) or when changing the value of a check box etc. Make sure you 'type' the value directly into the cells to make this method works - do not doing copy/paste.

  • @ronelarinal1865
    @ronelarinal1865 3 ปีที่แล้ว

    IF I DRAG OR DELETE IT STILL WORKS.. ONLY IF YOU INPUT WILL SHOW WARNING

  • @abdelhameedhamdy
    @abdelhameedhamdy 6 หลายเดือนก่อน

    Thanks for the $ trick

  • @hotmailuser503
    @hotmailuser503 8 หลายเดือนก่อน

    Hello, and God Bless. I tried to write the formulas like you did here and they did not work. Did it change when google updated?

    • @ProlificOaktree
      @ProlificOaktree  8 หลายเดือนก่อน

      No, the formulas work the same way.

  • @praveenmuchandi7252
    @praveenmuchandi7252 3 ปีที่แล้ว

    what if shipping status is blank and we try to access the column were data validation is applied