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

Поділитися
Вставка
  • Опубліковано 16 лип 2024
  • Join 400,000+ professionals in our courses here 👉 link.xelplus.com/yt-d-all-cou...
    Learn how to lock cells in Excel for creating foolproof templates! This tutorial is ideal for those who want to ensure data integrity in shared documents.
    ⬇️ Download the workbook here: pages.xelplus.com/lock-unlock...
    ✅ What You'll Learn:
    ▪️ Setting up cell protection: A guide to using Excel's Review tab for sheet protection.
    ▪️ Password protection: How to add and remove passwords for extra security.
    ▪️ Formatting cells for protection: Detailed instructions on selecting and locking cells.
    ▪️ Customizing cell locking: Techniques for locking only specific cells or ranges.
    ▪️ Utilizing 'Find and Replace' for efficiency: A unique method to select cells based on color for protection.
    ▪️ Practical tips: Insights on protecting your formulas while allowing inputs in designated areas.
    Ever created this perfect shared Excel template only to come back to a total disaster? Collaborating on shared spreadsheets can be painful. But it doesn't have to be that way! In this video I'll show you how you can lock and unlock any cell, or a whole range of cells, to keep your work protected. This way you'd be able to protect your formula cells and allow people to only input in specific ranges or cells. I'll also show you a cool Excel trick which allows you to multi-select cells based on their color and then lock those cells only.
    00:00 How to protect cells in Excel
    03:20 How to Multi-Select cells based on Color
    05:29 Wrap Up
    🎬 LINKS to more Excel Basic videos: • Excel Introduction - L...
    ➡️ Join this channel to get access to perks: / @leilagharani
    👕☕ Get the Official XelPlus MERCH: xelplus.creator-spring.com/
    🎓 Not sure which of my Excel courses fits best for you? Take the quiz: www.xelplus.com/course-quiz/
    🎥 RESOURCES I recommend: www.xelplus.com/resources/
    🚩Let’s connect on social:
    Instagram: / lgharani
    LinkedIn: / xelplus
    This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
    #Excel

КОМЕНТАРІ • 595

  • @LeilaGharani
    @LeilaGharani  10 місяців тому +2

    Grab the file I used in the video from here 👉 pages.xelplus.com/lock-unlock-cells-file

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

    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!

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

      Gi Yeh...❤️❤️❤️❤️❤️❤️

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

      Same here. Super helpful!!

    • @user-qm4dm9gs8o
      @user-qm4dm9gs8o 2 роки тому

      خخخهههههههههههههههخههههخهخههههههخخهت

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

    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 👏

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

    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!

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

    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 10 місяців тому +2

    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.

  • @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

  • @broderp
    @broderp Місяць тому +1

    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!

  • @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

  • @radhaganesan3336
    @radhaganesan3336 12 днів тому

    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!!

  • @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!

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

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

  • @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.

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

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

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

    This guide is what I was thinking about right now, because I have made a worksheet and plan to share it with other colleagues. Thank you Leila ONCE AGAIN.❤️

  • @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!

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

    I have used the lock and unlock function for cells before but this explanation was the best I've seen and definitely helps me. Now I'm going to go change a few things in my current project. 👍👍

  • @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.

  • @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.

  • @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 :)

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

    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!!

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

    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. 🤩

  • @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

  • @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!

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

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

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

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

  • @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

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

    As always, you do a great job in explaining the topic. I'm with you, the whole lock/unlock is a bit confusing but I'm in the know now thanks to you!

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

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

  • @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

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

    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.

  • @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

  • @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!

  • @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.

  • @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!!

  • @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...

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

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

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

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

  • @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!

  • @fungkiem
    @fungkiem 6 місяців тому

    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!

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

    Good explanations. I used it since last century 😊 Sometime, I protect with no password, to give opportunity to people to change the structure if they prefer, for example changing the order of the columns, but having the protection prevent any unintentional change. Of course, it is situation where I don't need to aggregate results after.

  • @ahmedrifayi8257
    @ahmedrifayi8257 11 місяців тому

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

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

    Hi Leila
    I had the same question about tick ✅ in lock and you’ve clarified it very well. Thanks heaps. You’re awesome 👏🏻

  • @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!
    🇵🇭🇵🇭🇵🇭🇵🇭🇵🇭🇵🇭
    👏👏👏👏👏👏

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

    I think that this is a perfect explanation. Thank you. I always wanted to protect just few cells instead of complete sheet, but I never knew how. Till now. 🙂

  • @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.

  • @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

  • @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... :)

  • @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

  • @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!

  • @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.

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

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

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

    Great tip for managing Excel protection

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

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

  • @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.

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

    Your expertise are great..Thank you for your time and videos

  • @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.

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

    Thank you, you explained it very well.

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

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

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

    Thanks for sharing your knowledge. Really appreciate the help.

  • @UA-js9fn
    @UA-js9fn 2 роки тому

    Many thanks for your efforts and supports

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

    You explain things well. Thank you.

  • @_logicking
    @_logicking 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.

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

    Hi, Leila. It was a great lesson. Thanks for sharing! Stay healthy!

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

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

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

    That was a really smart move! Thanks for sharing!

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

    Thank you, again, for your tips. Youre a life saver

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

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

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

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

  • @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!

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

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

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

    Great Help. Thank you, Leila.

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

    You have saved me so much time and effort with your videos. Thank you so much. (Also your courses are brilliant!)

  • @jtadena21
    @jtadena21 5 місяців тому

    Such a big help. Thank you so much for this.

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

    Thank you. Very helpful and concise.

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

    Thank you so much fo r clear guide! I love it!

  • @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.

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

    wonderful! great explanation, thanks!

  • @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

  • @redangrybird7564
    @redangrybird7564 11 місяців тому

    Leila ♥️
    Thanks 😎👍
    Just what I was looking for my workbook.

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

    What a top tip! I just learned how to select the colored cells. Great

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

    I too, have found this confusing. Thank you for the understandable description and examples!

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

    I don’t always have to set everything for clients again thanks so much

  • @lindalariz-me261
    @lindalariz-me261 Рік тому

    Great video. Right to the point. Thank you so much!! Exactly what I needed.

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

    Exactly the info i was looking for! thank you!

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

    superb and clear. Thank you.

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

    Thank you so much, it's really helpful

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

    Thank you so much for this information.

  • @user-xh1lr3yo3y
    @user-xh1lr3yo3y 2 роки тому

    Wow! I love you! This is so helpful!

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

    You always simplify stuff. Love it

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

    Yes. This is super helpful. Thank you so much Leila.

  • @jillzueck1602
    @jillzueck1602 3 місяці тому

    Thank you soooo much! Amazing info!

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

    This is amazing and will be so helpful at work tomorrow. Thank you so much!

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

    It was really helpful. Thanks for sharing.

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

    Really great! Thank you!!!

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

    As always easy and clear explanation. Thanks

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

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

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

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