How to Lock Cells 🔒in Excel to Protect your Formulas & Only Allow Input where Needed

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 643

  • @LeilaGharani
    @LeilaGharani  Рік тому +4

    Want to follow along? Download the file I used in the video here 👉 pages.xelplus.com/lock-unlock-cells-file

  • @wakelingchicken
    @wakelingchicken 2 роки тому +96

    Hi Leila
    My Top Tip if you're doing a lot of work locking / unlocking cells is to put the "Lock Cell" button into the quick access toolbar. It then acts as a visual indicator as to whether the highlighted cell is locked or unlocked and allows you to quickly change the setting without going into the Ctrl-1 formatting dialogue.
    I hope that's helpful for a few people :)
    Andy

    • @LeilaGharani
      @LeilaGharani  2 роки тому +10

      I like that! Thanks for sharing Andy.

    • @card1_diy
      @card1_diy 2 роки тому +2

      That got me confused too. Im gonna practice

    • @tiongah7690
      @tiongah7690 2 роки тому +2

      that needs macro right?

    • @wakelingchicken
      @wakelingchicken 2 роки тому +6

      No@@tiongah7690 , it doesn't need a macro.
      In the desktop app, above the menu bar, in the title bar top left, you should see the 'quick access toolbar', and on the right of that is a drop down icon that allows you to customise that toolbar. You simply need to add the 'Lock Cell' button from the 'Home Tab'.
      Maybe Leila will include this tip in a future video for you :)

    • @keijo456
      @keijo456 2 роки тому +3

      @@wakelingchicken Thank you for the tip!

  • @giyah6038
    @giyah6038 2 роки тому +150

    Not only did I learn how to lock/unlock cells, but also learned how to select only shaded cells. Another really easy and helpful tutorial. Thank you!

  • @lorikmor
    @lorikmor 2 роки тому +6

    I can’t like this enough. This is one of the most counterintuitive concepts in Excel. Thanks for breaking it down so simply.

  • @rlibby404
    @rlibby404 Рік тому +3

    I abandoned hope for good Excel tutorials many years ago, they are usually the most terrible and unreliable videos out there, but you, you really did it.

  • @danielcarr2975
    @danielcarr2975 2 роки тому +27

    Whilst I knew how to lock cells, I had no clue I could select cells using the find function by colour - what an amazing time saving tip - awesome 👏

  • @radhaganesan3336
    @radhaganesan3336 6 місяців тому +3

    Best practice would be
    1) Unlock the entire sheet (Ctrl +1) -> protection-> unlock
    2) Select the columns or cells which you wanted to lock (Ctrl +1) -> protection-> lock
    3) Protect sheet now (would suggest to always use a password for security)
    This works!!

  • @DeltaSanjula
    @DeltaSanjula 2 роки тому

    Working in a rural Australia has many challenges, especially when finding quality learning resources. Subscribing to your channel is like access to the ultimate office encyclopedia. Thank you for unscrambling the chaos that sometimes is excel!!

  • @DinoDelight
    @DinoDelight 2 роки тому +18

    I use locked cells loads, but always untick the "select lock cell option" that way users can't even select the locked cells this avoids that annoying error pop up.
    And if you use filters, make sure that option is unticked that way users can use the filter even though the cell will be locked

  • @TarunSharma-ll8ge
    @TarunSharma-ll8ge 2 роки тому +1

    I make excel calculators a lot and I use this feature but this color coding will save a lot of my time as I used to manually untick the 'locked' for each cell. Thanks for this video.

  • @TheLikkebaard
    @TheLikkebaard 5 місяців тому +2

    Best video I saw ever explaining a(nother) confusing aspect of Excel, your explanation makes it so easy to follow!!

  • @DennisYeadon
    @DennisYeadon 2 роки тому

    I have used this feature many times. What I liked about the tutorial is the method your used to select all the cells you needed to unlock. Thanks

  • @fungkiem
    @fungkiem Рік тому

    Thank you!
    The LOCKED did confuse me before I watched your video.
    In the past, I never was able to lock cells because I thought the check mark should work.
    With your method, everything works well now. Thanks!

  • @ivanbork4175
    @ivanbork4175 2 роки тому

    Use it a lot, normally with the option to only select unlocked cells, but especially the find with format is a cool way to save time I have not seen before, thanks

  • @siyabulelatshali1012
    @siyabulelatshali1012 2 роки тому +2

    I literally just googled this. Your video's are always relevant. Thank you.

  • @suecampanelli311
    @suecampanelli311 2 роки тому +2

    Agree, the Locked feature was confusing to understand at first. It’s been a few years since I’ve needed to use it and this tip was refreshing. Also, great tip about find coloured cells! Thanks Leila!

  • @TigerTedd
    @TigerTedd 2 роки тому +18

    My top tip for this, instead of the find and replace option, is to use Cell Styles to unlock cells.
    There’s a cell style called Input. Unfortunately I think MS have dropped the ball slightly on this as it would make sense to have this cell style default as unlocked. But it doesn’t, so you have to right click on it and modify, then tick that you want to include protection in the cell style, and then got to format, and unlock the style in the same way, you can also change its colour here.
    In this way, when you’re creating your spreadsheet, whenever you come across a cell you know should be unlocked, you can just give it the ‘input’ cell style, rather than making it blue, or yellow or whatever, and it will automatically be unlocked.
    You can also then use cell styles to quickly change the colour or borders of all your input cells if you need to.
    I’ve had it many times where I’ve made a big spreadsheet with lots of fairly random input cells, and I’ve lost track of what’s an input cell and what isn’t. And you have to go back through later and unlock them all. Best practice is to highlight then in some colour, even if that’s just default yellow for now. But using this method means you’re highlighting them, unlocking them and leaving the door open to quickly recolour them later if you want to.
    I just wanted to share that, as I was very pleased with myself when I worked it out. I hope that helps someone.

    • @LeilaGharani
      @LeilaGharani  2 роки тому +2

      Thanks for the tip!

    • @twinkle547
      @twinkle547 2 роки тому

      Hi @Edward Can you know how to lock entire worksheet if it is in unprotected mode with Method not with Event (VBA Code) it will be great help if any body can help me on this Struggling alot and also I am not looking related to Password specifically

    • @larwhelan21
      @larwhelan21 Рік тому

      Great tip 👌

    • @lyaw8086
      @lyaw8086 Рік тому

      @@twinkle547 k

  • @jayshreebhakta9937
    @jayshreebhakta9937 2 роки тому

    I knew how to lock and unlock, but learned something new today that you can use Ctrl + F to search the formatting too!! Thanks Leila, you are the best!!

  • @gcecg
    @gcecg 2 роки тому +1

    Thanks for the great video. I've been using the lock cells feature for some time. An added bonus is that when you navigate the protected worksheet using the enter key, all the locked cells are automatically skipped. It's much quicker to move just among the cells that are editable. Cheers!

  • @broderp
    @broderp 7 місяців тому +3

    I hope you are paid very well in some capacity for for your awesome tutorials.....You're methods are to the point, easy to understand and are exactly what I need. Thank you!

  • @JayBee-hb2pm
    @JayBee-hb2pm 2 роки тому +2

    Everything you post about Excel is so relevant to my job role. I just love how you come up with things that make our lives so much easier Leila. Thank you for sharing yet another great tip

  • @roywilson9580
    @roywilson9580 2 роки тому +1

    I totally agree, it took a lot of research to discover how to use the locked check box. That said cell level locking is something that I have frequently used to protect formulas and other critical contents against accidentally being changed.

  • @FadumaAbdiGoonerfabdi
    @FadumaAbdiGoonerfabdi Місяць тому

    You saved me so much time with the formatting of shaded cells. Thank you!!!

  • @VazgShah79
    @VazgShah79 2 місяці тому

    Leila, I am so grateful to You, your support is invaluable.

  • @thushanthaperera5146
    @thushanthaperera5146 2 роки тому

    I learnt a new method of locking selected cells easily and fast with this video. I knew how to lock n unlock but was not fast enough to do it with a selected cells.

  • @unkchaos2007
    @unkchaos2007 2 роки тому +1

    I just learned how to select shaded fields, that's pretty cool. I did learn about the lock cells and lock worksheet years prior on my own. I use it sparingly but it is mainly for shared files. It also does have it's limitations. If it's for just data entry, excellent! Includes copy pasting from other excel documents, then like on of the commenters on here says about it, it can relock cell or if you choose to not allow formatting, may not paste at all. It is great so far for just data entry, just be careful of copy/pasting.

    • @dgjanes917
      @dgjanes917 2 роки тому +1

      If you save as a macro enabled workbook you gain access to the get.cell formula (no vba required). You can use that to check what the current format of the cell is and compare it against what you expect it to be. What I do is, if the format has changed it gives the user an error message in the calculated cells. All the calculated cells will say "PASTE ERROR" instead of the expected calculations. That way they know right away that they pasted in to a cell when they shouldn't have and can just hit undo and re-input the value without impacting the formatting.

  • @sachinrv1
    @sachinrv1 2 роки тому

    Leila you are super amazing. I used to manually select the colored cells I wanted my employees to edit. Never used this FIND FORMAT feature. This is way to handy. Thanks a ton for sharing this trick. I have been following all your videos for couple of years now. You are like "one stop" for advanced Excel needs. Kudos :)

  • @milenaandroshchuk6095
    @milenaandroshchuk6095 3 дні тому

    Thank you so much! This tutorial really helped me to finish my project fast and efficiently.

  • @lukmanayodeji9563
    @lukmanayodeji9563 2 роки тому

    You are really amazing @Leila. I will always be glued to your channel. Triple thump up for you my Mentor. Thanks for your Tutorials. Alhamdulillah, they had really transformed me to Pro Excel User.

  • @paulhildyard7297
    @paulhildyard7297 Місяць тому

    THank you, so swift and informative, you solved a real problem for me and stopped me going in circles. I am ever grateful. Regards Paul

  • @mcd22630
    @mcd22630 2 роки тому +1

    Your timing is impeccable, I will be using these techniques later today.

  • @sulemanhassanali
    @sulemanhassanali Рік тому +1

    You are saving my days! Additional learning how to select specific formatting.

  • @Cracktune
    @Cracktune 2 роки тому

    in college I needed a 100 cs class and it covered excel... I hardly learned anything in that class and got the wrong impression of Excel... Your vids have not only changed my opinion but pushed me further than that class ever could.
    TLDR: thanks

  • @astevensincarolina
    @astevensincarolina 2 роки тому

    Thanks!

  • @jeffrothman2833
    @jeffrothman2833 7 місяців тому

    Excellent! This has confused me for years but you made the process crystal clear. Very well presented.

  • @MDHAMA171
    @MDHAMA171 10 місяців тому

    Thanks!

  • @abdulsaidmkamara7305
    @abdulsaidmkamara7305 2 роки тому

    I Think the text below the locked function is what add to the confusion of this particular function of excel.Great Stuff Leila !!

  • @unnikrishnansanthosh
    @unnikrishnansanthosh 2 роки тому

    Thanks a lot Leila, i have tried few times to do the same and as you said got confused with lock cells option. This tutorial clarified it

  • @ThomTydeman
    @ThomTydeman 8 місяців тому

    Your videos are terrific. Your content is always clear and concise, and you always impart additional tips and tricks that delight your subscribers.

  • @silviopontesx
    @silviopontesx 2 роки тому +4

    Thank you for teaching us; I watched many of your videos, I admire your sensitivity and the simplicity and fluidity of how you delve into the topic! What a monument to knowledge! Thank you so much!

  • @spoondi1
    @spoondi1 2 роки тому

    I normally use to select cells & unlock but the ctrl +F & replace option is very useful tip. Thanks

  • @reedschmelzle3710
    @reedschmelzle3710 2 роки тому

    Insanely Professional Video! Amazing clarity of information and easy to follow along. I only watched this video once to learn this function. Thank you

  • @Festus171
    @Festus171 2 роки тому

    Oh my goodness! I can't even calculate the amount of time I have killed doing this the hard way. That is a wonderful tip. I've been looking for a faster way to do this very task for a long time. Thanks so much for sharing!

  • @donaldmcintosh6545
    @donaldmcintosh6545 2 роки тому

    Hi Leila - Great tip, thanks. It has always been one of my bug-bears when handing out excel files to my customers.

  • @patweyandt1237
    @patweyandt1237 2 роки тому

    You are the BEST!! Your videos and tutorials are so easy to follow and understand. Thank you.

  • @mimicat3065
    @mimicat3065 2 роки тому

    Aaaaaaww!
    Gosh.. so simple..
    It took me quite a lot of select cells, unlocking and protect/unprotect..
    Wow.. you explained it the easiest way..
    Super thank you with video.. i love it..
    Mabuhay!
    🇵🇭🇵🇭🇵🇭🇵🇭🇵🇭🇵🇭
    👏👏👏👏👏👏

  • @nairkrishnadas
    @nairkrishnadas 2 роки тому

    Hi Leila, Each of your tips is fantastic. I always learn something new whenever I watch your videos. Thanks a lot

  • @michaelstamos5510
    @michaelstamos5510 Рік тому

    Leila - you are such a champion - thank you for your amazing guidance

  • @laurituttle4718
    @laurituttle4718 Рік тому

    So, I did have some issues. I had to format the cells BEFORE I locked them. Selecting cells that you want to be locked, right click - format cells - lock (or unlock cells or block of cells). When all of your cells are formatted the way you want, THEN protect the sheet. This will have the cells you want locked, locked... and the ones you want unlocked, unlocked (or where ONLY cells can be adjustable)! Thanks for the tutorial!

  • @tomwelt1825
    @tomwelt1825 2 роки тому

    I love the 'Find' the Fill color to select applicable cells.

  • @vincentcollin6490
    @vincentcollin6490 2 роки тому +6

    We can add that when protecting the sheet, we can uncheck the box "Select locked cells".
    And therefore leave only the unlocked cells accessible.😉
    Thank you for this lesson.

  • @omechnelson491
    @omechnelson491 2 роки тому

    Thanks

  • @SpartanForever
    @SpartanForever 2 роки тому +1

    Good video.. please also tell how to avoid overriding or pasting a cell from another Excel sheet into it.

    • @dgjanes917
      @dgjanes917 2 роки тому +2

      If you save as a macro enabled workbook you gain access to the get.cell formula (no vba required). You can use that to check what the current format of the cell is and compare it against what you expect it to be. What I do is, if the format has changed it gives the user an error message in the calculated cells. All the calculated cells will say "PASTE ERROR" instead of the expected calculations. That way they know right away that they pasted in to a cell when they shouldn't have and can just hit undo and re-input the value without impacting the formatting.

  • @chh8860
    @chh8860 2 роки тому

    I've used 'Find & Replace' many times ... but not 'Locking' cells. Your lesson is quite timely (again).
    Your presentation is perfect ... 👍... thank you ... thank you ... thank you.

  • @juliad368
    @juliad368 7 місяців тому

    Really clear explanations thank you ! Watched several other videos before yours and could not understand the explanations.

  • @dekebell3307
    @dekebell3307 Рік тому

    You're an amazing resource, thanks so much for sharing! I ALWAYS learn more than just the lesson you're teaching.

  • @silverlicious2086
    @silverlicious2086 2 роки тому

    Always a good idea to protect certain cells. Especially those that have complex formulas. Have a nice day Leila.

  • @oedipamaas8660
    @oedipamaas8660 2 роки тому

    I learned how to lock/unlock cells before. But I forgot. I was definitely doing it the hard way! This mini tutorial should save a lot of time. Thank you Leila! I learn how to solve a lot of excel problems watching your videos. 🤩

  • @mattschoular8844
    @mattschoular8844 2 роки тому

    Thanks Leila. The Find and Replace trick is a great idea. I use Locked Cells /Protect Sheet / Protect Workbook for muti user templates often. Employee Expense forms, Customer Credit Apps etc...

  • @keijo456
    @keijo456 2 роки тому +8

    Wow! This is just what I need. Perfect timing! I didn't know about find and replace works with cell formats. Great video as always Leila.

  • @Freemarkets1236
    @Freemarkets1236 2 роки тому

    I did know about the lock/unlock feature but no the find by format and being able to select all. Great new tip. Thanks

  • @bhanubethala54
    @bhanubethala54 2 роки тому

    Selected colour cells was really nice shortcut, it's very good to learn new things from you Ma'am. Thank a lot 🙏

  • @davidstonebarger9330
    @davidstonebarger9330 Рік тому

    I'd been reading the Excel help pages but was still confused until I watched this. Thanks so much!

  • @RussellWard
    @RussellWard 4 місяці тому

    Nicely done! You have a teaching gift - making the complex simple. Perhaps you would consider presenting the process a little slower in your next video as I am an Excel rookie.

  • @humansizedaperture
    @humansizedaperture 2 роки тому

    Thank you so much! I was just playing around with the lock features to no avail on Wednesday and then just decided not to share my sheet at all. With this video, I’m equipped to go back to the drawing board.

  • @ahumblemuslim3009
    @ahumblemuslim3009 2 роки тому

    I'm using Excel on daily basis and your lessons are really helpful, thank you miss.

  • @madhur1637
    @madhur1637 2 роки тому +1

    Thanks for the video. How to disable copy or paste option particular cells.

    • @dgjanes917
      @dgjanes917 2 роки тому +2

      If you save as a macro enabled workbook you gain access to the get.cell formula (no vba required). You can use that to check what the current format of the cell is and compare it against what you expect it to be. What I do is, if the format has changed it gives the user an error message in the calculated cells. All the calculated cells will say "PASTE ERROR" instead of the expected calculations. That way they know right away that they pasted in to a cell when they shouldn't have and can just hit undo and re-input the value without impacting the formatting.

  • @TP014563
    @TP014563 2 роки тому

    I absolutely agree with you, it still is confusing and sometimes different to use, not mentioning limited options they offer. Changes to locking cells or unlocking them are long overdue MS, if you guys are reading this, please make an update and change it. Great video by the way!

  • @daitan963
    @daitan963 Рік тому

    whenever i need help in excel your tutorial is the best to option...thank you!

  • @mamamtl
    @mamamtl 2 роки тому

    Hi. I actually already knew about locking cells, but I just wanted to thank you for the very informative videos. I adore excel and am quickly becoming the specialist at my job. You have my ideal job. I absolutely adore Excel and if I could do it all day I would!

  • @rajanbabubhagavatham1452
    @rajanbabubhagavatham1452 2 роки тому

    Madam ! Your videos on excel are fantastic and easily understandable. A good UA-camr on Excel.
    Could you please explain how to lock rows and columns after hiding them not to open by others.

  • @pambackal
    @pambackal 2 роки тому +1

    You always have something new to surprise me! Search by cell color format is new, yet another very useful tutorial. Thanks a lot...

  • @ambarilhamchannel
    @ambarilhamchannel 2 роки тому

    A great sharing, you are not only tell us how to protect cell but also give us short cut menu to use that

  • @BikesarelifeIndia
    @BikesarelifeIndia 2 роки тому

    Finally I have learned to use locking/protecting cells. Thank you very much. I appreciate it. 👍🏻

  • @ahmedrifayi8257
    @ahmedrifayi8257 Рік тому

    Yes , I know many formulas in excel but this protection was confusing like you mentioned but you cleared it now
    Thanks 😊

  • @mcmielnik
    @mcmielnik 2 роки тому

    I knew about locked cells, but by chance I've learn about "how to find coloured cells!" Thanks!

  • @mgodek7092
    @mgodek7092 2 роки тому

    "..and maybe type stuff in other places..." SO true :)
    Locking is great tool, but i also learnt to protect sheet with password, because
    there are no borders for users creativity :))
    Thanks for Your videos.

  • @timothymorales3795
    @timothymorales3795 2 роки тому

    This will save me so much time. I knew the video was gunna be genius!

  • @suhaibkhan322
    @suhaibkhan322 2 роки тому

    Lela, I did it many times and worked, but I did not know how had done 👍😀 but now I really appreciate you and understand...

  • @kishangzp
    @kishangzp Рік тому

    very helpful tips... I used to be thiniking I know so much in excel and power bi... but now I have realised ... there are lots of things that I don't know, and there will be lots of things that I will never know... :)

  • @jumpshot6924
    @jumpshot6924 Рік тому

    you're such an amazing teacher. kudos you deserve a billion subscriber

  • @ScottLititz
    @ScottLititz 2 роки тому +2

    #facepalm. Being in finance, I regularly use lock/unlock. But I had forgotten about Find using formats. With all the powerful things Excel has, it's good to be reintroduced to the oldies. Thank you Leila.

  • @VishwasKadrolli
    @VishwasKadrolli 2 роки тому

    I struggled a lot to ensure the sheet is locked and other dont input values other than cells meant to, but your video makes it so simple, I am gonna use it all through out my work. Thanks for the tip!

  • @sodbuster4411
    @sodbuster4411 Рік тому

    Great video as always. I make a cell style that is a certain fill color and format it to NOT be locked. That way if I want to change the fill color, I just modify the cell style.

  • @jessicaarend217
    @jessicaarend217 2 роки тому

    This is the most helpful video I have found on this topic. Thank you so very much!

  • @marianb2274
    @marianb2274 2 роки тому

    This is perfectly timed for something I am creating for work. What a life-saving (and time-saving) tip! Thank you!!

  • @michaelcorvin25
    @michaelcorvin25 Рік тому +2

    Thank you for explaining things in a very logical and easy manner! I love your tutorial videos on EXCEL!

  • @notreallyhere1136
    @notreallyhere1136 2 роки тому

    Perfect timing, this is next on my to do list for a project at work, thank you

  • @campopaulana
    @campopaulana 2 роки тому

    Amazing!!! thank you so much. It was very confusing to get the right locks before this video.

  • @mohammedhassan2808
    @mohammedhassan2808 2 роки тому

    Yeah, it was totally confusing by MS Excel, You done it easy for us through your finding. Appreciate, keep on going

  • @sueblakey1858
    @sueblakey1858 Рік тому

    This was of great help to me in creating a quiz and locking certain cells, thank you.

  • @Brocambro1
    @Brocambro1 Рік тому

    This women is a wizard in Excel.

  • @colormile-vid8888
    @colormile-vid8888 2 роки тому +2

    OMG Leila, I was using this lock/unlock yesterday and finally understood it! It took me awhile to truly get it. However I ran into an issue with shapes objects in my macro. How do I unprotect it so it works. Thanks again and as always I learn everyday from your video tutorials.

    • @DinoDelight
      @DinoDelight 2 роки тому

      Prob a little to late, but at the start of the macro, un protect it then at the end of the macro re- protect it
      ActiveSheet.Protect
      ActiveSheet.Unprotect

  • @augusto727
    @augusto727 8 місяців тому

    Fantastic! Thank you for your help. I was bedeviled by erasing my formulas in cells that I am not supposed to touch. Thank you so much.

  • @MarceColucci
    @MarceColucci 2 роки тому +1

    This was brilliant! I've been looking for a way to do this for ages and this explained it so clearly and easily!! thank you Leila.

  • @patrickrolland7496
    @patrickrolland7496 2 роки тому

    Thanks so much for that! I had exactly the same confusion you had in the beginning with the 'lock' definition

  • @TheAjukumar
    @TheAjukumar 2 роки тому

    Locking of cells finally unlocked :) Thanks a lot Leila.

  • @tanis2162
    @tanis2162 Рік тому

    I found Excel's descriptions for these functions totally confusing. Thanks to your tutorial I understand now, what I need to do at my work!

  • @leerv.
    @leerv. 2 роки тому

    "Lock your cells so they don't delete your formulas." Yeah, they, exactly! THEY gotta stop doing that to me! Also THEY need to stop drinking all my caffeine by 10am!
    This is perfectly and super useful, I have always wanted to know how to do precisely this and as a bonus you showed me a cool way to select a bunch of cells that aren't contiguous! Thanks again Leila!!! :)

  • @AngelEstebanVlog
    @AngelEstebanVlog 2 роки тому

    You are the best! I couldn't figure that out today, and you solved my problem in an instant : )