When You Should Use the New Excel LET Function

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

КОМЕНТАРІ • 569

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

    Grab the file I used in the video from here 👉 pages.xelplus.com/let-function-file

  • @CameronRex
    @CameronRex 4 роки тому +22

    Thank you so much for pointing out the LET (and IFS) functions. This has drastically simplified a very complex formula we have been using. Our existing formula was 1615 characters in length, and with just the LET function it reduced the formula length to 487 characters. With a combination of the LET and IFS functions, it reduced the length of the formula to 469 characters.
    Here is the end result using LET & IFS:
    =LET(x,INDEX(TableName,MATCH([@sale],[sale],0),MATCH(Adj1_Element,TableName[#Headers],0)),a,Adj1_a,b,Adj1_b,c,Adj1_c,d,Adj1_d,e,Adj1_e,
    IFS(
    Adj1_Graph_Type="Exponential",a*EXP(b*x),
    Adj1_Graph_Type="Linear",a*x+b,
    Adj1_Graph_Type="Logarithmic",a*LN(x)+b,
    Adj1_Graph_Type="Polynomial (2 order)",a*x^2+b*x+c,
    Adj1_Graph_Type="Polynomial (3 order)",a*x^3+b*x^2+c*x+d,
    Adj1_Graph_Type="Polynomial (4 order)",a*x^4+b*x^3+c*x^2+d*x+e,
    Adj1_Graph_Type="Power",a*x^b,
    TRUE,""))
    While I have not measured any performance improvement, since I have only run a limited test, I am sure it is there.

  • @yash1152
    @yash1152 3 роки тому +5

    [6:17 thaattttt (breaking up using alt + entere) is new to me and what i needed for so long. thanks for including that. and glad i clicked this vid.
    7:53 conditional formatting

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

      Hear hear!
      Never mind all the new functions Leila is showing us, even experienced Excel users; it’s these usability tips that are of equal if not more importance.
      ps, I only found Win+. for emojis this afternoon by accident, then an hour later Leila shows us!

  • @zodayn
    @zodayn 6 днів тому

    This is SO useful. I had a formula that basically consisted of pre-modifiers, the main formula, and post-modifiers. But the post modifier are dependant on the outcome of the main formula. So for each post-modifier I had to add the entire main formula again. This made the code extremely long since the main formula was a string of 20 if checks. Now it's just 3 neat sections of close split with nice breaks.

  • @healthconnect4474
    @healthconnect4474 3 роки тому +1

    Started watching your videos for the view and then realized that I learned lot of short cuts in excel. Thanks great job

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

    Finally got to use LET at work. Thanks for helping me understand it!

  • @RobertFCM
    @RobertFCM 3 роки тому

    ¡Gracias!

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

    Leila, I'm a heavy excel user and I love your videos ! You are always clear and to the point. Greetings from Brazil !

  • @excelisfun
    @excelisfun 4 роки тому +23

    Let us all have more fun efficiency now that LET has arrived! Thanks, Teammate!

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

      You bet Mike ;)

    • @zubairso
      @zubairso 4 роки тому +7

      Would love to see a collaboration between you two. That’ll be like the Avengers version of excel.

    • @voievod9260
      @voievod9260 3 роки тому

      Yes please. Would be like 2 DJs mixing side by side.

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

    Understanding from one time from Mrs. Leila GHarani Videos
    Thanks

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

    I have to admit i like the way you teach, very easy to follow. I am now going to start using LET!

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

    Amazing and most important is your way of explanation is so simple and easy to understand any complicated formulas... Thanks

  • @hemanthnani5052
    @hemanthnani5052 4 роки тому

    You are making my job so easy..... Thank you Leila... You are a savior

  • @domxem5551
    @domxem5551 4 роки тому

    You are a true professional... You deserve all the best in life

  • @Derivatives_Hunter
    @Derivatives_Hunter 4 роки тому +1

    Ma’am you are a great teacher... i found you just 2 days back and i have become crazy about your videos. Thank you so much🙏 from India

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

    Great demonstrations here, especially the application beginning at 07:00.

  • @helenasvensson6747
    @helenasvensson6747 3 роки тому +1

    What I great way to show how we can use Let! Thanks!

  • @morganwildman5528
    @morganwildman5528 4 роки тому

    First video of yours I've watched and I hit that bell at the 5:00 mark. Your depth of knowledge, ease and speed of use of Excel, and clarity of communication combines into an informative video that surpasses all other Excel videos I've ever watched by everyone, ever. Your quality and professionalism is the gartner quadrant that has been missing in the excel video community, until now.

    • @LeilaGharani
      @LeilaGharani  4 роки тому

      Wow, thank you Morgan! Glad to have you onboard :)

  • @felipelandim2881
    @felipelandim2881 4 роки тому

    Your way of teaching is very very good and easy to follow.

  • @bazoo513
    @bazoo513 3 роки тому

    A very thorough treatment of this little useful function.
    Speaking of performance, I remember how, about the time you were born, a 100 x 20 sheet was recalculated for several seconds (VisiCalc on Apple ][), and auto-recalc was usually turned off.

  • @GaryJohnWalker1
    @GaryJohnWalker1 4 роки тому

    What an excellent teacher - clear explanation and meaningful yet still clear examples.

  • @ShaikPashaImran
    @ShaikPashaImran 4 роки тому

    you are awesome, your explanation is out of this world, so easy to understand, nothing like this i have ever seen before. thank you Leila

  • @IvanCortinas_ES
    @IvanCortinas_ES 4 роки тому +1

    A function LET in programming mode, declaring variables. Thank you for this fantastic tutorial Leila!

  • @wratorres1967
    @wratorres1967 3 роки тому +1

    Thanks Leila! a great example of productivity.

  • @nonoobott8602
    @nonoobott8602 4 роки тому +13

    So brilliant. The LET function is so great. You're a an amazing teacher. Thanks for sharing

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

    Im very late to the party in trying to learn this function but this is very well explained and delivered. Thank you... subscribed!

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

    I am regular watching UA-cam channel, big thanks for you make lot of videos especially on excel, I think I am becoming expert on excel because of you, thanks 🙏 please continue making videos on excel and also on MS Word

  • @curlywurly2021
    @curlywurly2021 3 роки тому +6

    Great video... as always :) When you have tables with long column names and these get repeated in formulas it can make them really hard to read, so using LET will make these much easier to read and maintain - all we have to do is look at the variable at the beginning and we'll see which columns this refers to throughout.

  • @yvon8488
    @yvon8488 9 місяців тому

    Since I watched this video a few months ago and learned about the "LET" function, I'm using it every day since. Thank you. 🙂

    • @LeilaGharani
      @LeilaGharani  9 місяців тому +1

      Excellent! Glad the video was helpful.

    • @yvon8488
      @yvon8488 9 місяців тому

      Hi@@LeilaGharani , I forgot to mention that using the LET function allowed me to add comments easier in the formula by adding a comment line at the start and then change line for the rest of the formula: = LET( COMMENT; N("......"); .....)

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

    A lot of the formulas i write for excel repeat sections of the formulas over and over so this will make them a lot shorter. thanks for the vid

  • @pierrel.3937
    @pierrel.3937 4 роки тому

    I did not see the point at the begining but it's really useful! thanks Leila!

  • @akyuvar8121
    @akyuvar8121 4 роки тому

    quality of your videos are getting better and better. Congrats

  • @Maya-sv1pz
    @Maya-sv1pz 4 роки тому

    I don't have time to watch all your vids but whenever I did watch, I am glad I did.

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

    I think through some of the crazy 10-line formulas I've written over the years and my mind is blown at how much easier this would/will be!! Thanks for the great work and video Leila!

    • @LeilaGharani
      @LeilaGharani  4 роки тому

      It really can make a difference for these complex formulas.

    • @xalidmlikov7322
      @xalidmlikov7322 4 роки тому

      @@LeilaGharani How to import live data excel to spreadsheet? Please help me. My e-mail adress is melikov_xalid@yahoo.com

  • @rocsalt5617
    @rocsalt5617 4 роки тому +5

    I've been grumbling that Excel should have this feature for years. Now i'm super excited!

  • @berndeckenfels
    @berndeckenfels 4 роки тому +1

    That # for value lists is good to know.

  • @cyrilmichy8925
    @cyrilmichy8925 3 роки тому +1

    Thanks for sharing Leila! Awesome tuto!! 👍🏼

  • @hussainakhtar1094
    @hussainakhtar1094 3 роки тому +1

    Hi, I have applied this to my report for payroll and the outcome is really very effective in terms of times and efficiently.. Really love the part whn you analysed and compared the time reduction between w/wo LET... Thank you again Leila... :)

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

    Great to see speed tests on LET function!!! Think it's the first one out here. Many thanks for that!!. A great advantage of LET is it's kind of portability. We can write a complex formula in one workbook, copying it as a string, pasting it in other workbook , changing only the variables reference addresses , and good to go. No VBA😉

    • @LeilaGharani
      @LeilaGharani  4 роки тому +1

      Thank you! That's right. It'll make managing workbooks easier.

  • @reddrift3022
    @reddrift3022 4 роки тому +8

    That second example is crazy, I'm guessing because it can grab the complex function from the variable established, instead of reading it each time it is faster; however, when doing small calculations the time to set the variable initially ever so slightly outways the benefit in cost of time.
    REALLY awesome stuff, can't wait for that official launch.

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

    LET function is very useful . The LET function assigns names to calculation results. This allows storing intermediate calculations, values, or defining names inside a formula

  • @jeanlamoureux7138
    @jeanlamoureux7138 4 роки тому

    Thanks Leila for your suggestions, it worked, I just added more columns to the formula

  • @PradeepKumar-ng5oy
    @PradeepKumar-ng5oy 4 роки тому +1

    Mam you're fabulous Excel tutor I had ever seen.👌👌

  • @johns8903
    @johns8903 3 роки тому

    I appreciate living in the age free education and great teachers. Thanks Leila.

  • @Pasanglecpha
    @Pasanglecpha 4 роки тому +4

    I have learnt so much from this channel ❤❤❤ it has really helped me in my work.

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

    Best channel to learn excel

  • @WordBaron
    @WordBaron 4 роки тому

    Thanks Leila! Your explanations and use cases are awesome, but by taking the time to measure it against larger datasets, you have encouraged me to use this function without fear of it slowing down my workbooks. These sorts of above-and-beyond insights are what make your channel so useful to me. Thanks again!

  • @mireillecantrell4638
    @mireillecantrell4638 4 роки тому

    Love your tutorials and the clear way you present them. I keep watching them over and over till it sinks in. Also love the Excel downloads so I can play with them..

  • @Oppadu
    @Oppadu 4 роки тому +20

    Indeed! LET function would be a one of the most with FILTER function to make the excel more powerful. Thank you for sharing the great knowledge

  • @rahulranjan6740
    @rahulranjan6740 4 роки тому

    Your video lectures are excellent

  • @LeonardoGalotera
    @LeonardoGalotera 4 роки тому

    Hi Leila, this is very timely because I am working on a project that this function will prove useful.

    • @LeilaGharani
      @LeilaGharani  4 роки тому

      Great! Hope it will come in handy for you.

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

    It was amazingly enjoyed, thanks a lot 🌹

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

    Coming from a programming background and only now learning Excel, this is a huge deal.

  • @alainmulaire9471
    @alainmulaire9471 4 роки тому

    Leila, congrats on excellent videos. I like your pace, and your ability to explain this to us. All the best.

  • @xyclos
    @xyclos 4 роки тому

    As always clear and direct. Thanks Leila

  • @techymarky
    @techymarky 4 роки тому

    Learned a lot here. Not just the LET function. Awesome video! Subbed!

  • @s.y.daniel2137
    @s.y.daniel2137 4 роки тому +1

    definitely need this LET in my big data files and long repeated formula elements

  • @OzduSoleilDATA
    @OzduSoleilDATA 4 роки тому

    Nice use of LET and icons. 🔥

  • @davidmontague9125
    @davidmontague9125 3 роки тому

    Excellent video; it had me using LET, with enthusiasm, in no time. I have one issue though. Not to do with LET but you have the VAT rate embedded in a formula; I consider this to be bad practice. VAT can, in theory, change at very short notice. Ideally it would be stored as a global somewhere but more realistically it should be in a cell where it's visible.
    The same applies to values like income tax rates and thresholds: any constant that isn't constant.

  • @tasadduqmajeed68
    @tasadduqmajeed68 3 роки тому +1

    Please teach about formula distribute the amount proportionally on different things. Thanks

  • @zeazevedo
    @zeazevedo 4 роки тому

    Great and valuable vid. Thanks and stay safe. Greetings from Portugal

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

    Wow, I just saw a way with your video how I can already improve lots of formulas. I have formulas that is repeated way too often. LET looks like the solution to those sheets of mines, thank you!!!

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

    Thank you for sharing!! This is really useful!!

  • @amy19355
    @amy19355 4 роки тому

    That's one of the most useful functions I have learned! Your videos are just terrific.

  • @alfredoluwatomi6899
    @alfredoluwatomi6899 3 роки тому

    This is great.Many thanks for this tutorial quiet straightforward and impactful.
    I see let function working more like the variable function in powerbi.

  • @simpliexcel1289
    @simpliexcel1289 4 роки тому +10

    Hey Leila, Thanks for making a video on LET. It is indeed a great function. Just a sugesstion - you could use IFS for multiple conditioning in a single formula instead of using IF statement several times. It will look neat and easy to read. 😊

    • @LeilaGharani
      @LeilaGharani  4 роки тому +7

      Yes ;) ua-cam.com/video/AOO1AoTNdZk/v-deo.html.
      For some reason nested IFs are still my go-to. I'm sure I'll overcome this sometime in the future 😁

  • @vida1719
    @vida1719 4 роки тому

    Great comparison of performance

  • @jwstanley2645
    @jwstanley2645 3 роки тому +1

    Thanks for the video. Interesting.

  • @alwarhi
    @alwarhi 4 роки тому +1

    Thanks

  • @KuchBhiKabhiBhigaming
    @KuchBhiKabhiBhigaming 4 роки тому

    are you from India...if yes than its awesome, now we have someone who is compatible with international standards...good job.

  • @jayaseelanpeter
    @jayaseelanpeter 4 роки тому

    Nice background setup.
    It's very wonderful to watch your video

  • @wayneedmondson1065
    @wayneedmondson1065 4 роки тому

    Hi Leila.. great in-depth summary of the advantages of the LET function. The timing comparisons were particularly interesting. Thanks for sharing your insights. Thumbs up!!

    • @TheNabob57
      @TheNabob57 4 роки тому +1

      I have found that most speed improvements are negligible unless dealing with large datasets. The kind of datasets not typically seen in small businesses. BUT, I have always been a fan of making formulas readable understandable at a glance by someone that did not wite the code. I am frustrated sometimes when analyzing someone else's code when they do not use common conventions or make use of named ranges. Most people can understand Assets=Capital - Liabilities easier to read than some combination of summed cells - other summed cells.

  • @qiaorongchang8605
    @qiaorongchang8605 4 роки тому +1

    Thanks Leila for this tutorial of LET function ! You are simply ahead of everyone! 💛💛💛🧡🧡🧡

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

    I can use this A LOT. Thanks!

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

    Great topic, awesome video and beyond perfect tutor. Thank you.

  • @andrewmoss6449
    @andrewmoss6449 4 роки тому +212

    The addition of the LET function means that Excel formulas are basically becoming like a programming language where declaring variables is the norm.

    • @gabrieleminniti7031
      @gabrieleminniti7031 4 роки тому +4

      EXACTLY

    • @iiiiii-w8h
      @iiiiii-w8h 4 роки тому +11

      Still no loops tho

    • @TheElementFive
      @TheElementFive 4 роки тому +14

      Python is making Excel increasingly archaic and I love it

    • @homejonny9326
      @homejonny9326 4 роки тому +7

      @@iiiiii-w8h because it is functional programming where there is no loops. Instead, you use an call to the previous value. And repeat It through the desirable range. There is your loop.

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

      you could use VB to code them pretty much the same. it's just inline instead of function now.

  • @clalgbarros
    @clalgbarros 4 роки тому

    Congratulations from Rio. Your videos help a lot and you explain the concepts very well.

  • @SyddieG
    @SyddieG 4 роки тому +1

    Yooo this could be a game changer. I tend to use IF as a decision tree abs this would make it clearer

  • @wasimsuperb
    @wasimsuperb 4 роки тому

    Thanks for giving such a great opportunity to learn on skillshare..I have no words except you are great and nice as always ...Thanks

  • @vijayarjunwadkar
    @vijayarjunwadkar 4 роки тому +93

    ...and then God said, "LET" there be "Leila" and our Excel problems are solved! :-) Thank you for another great video!

  • @brdrnda3805
    @brdrnda3805 3 роки тому

    💖 ... just playing with the Win-dot shortcut 😊

  • @bradryan8071
    @bradryan8071 4 роки тому

    Being a computer science teacher and programming enthusiast, I really enjoy the idea of examining computational efficiency. In the early 80's, using 8 bit computers, it was a real art to keep programs small and efficient. This art has been de-emphasised in the modern era due to the speed of computers and availability of lots of memory. In your second analysis, the Let function sped up the calculation by almost double which is very impressive by computational standards. In the context of manipulating 700 000 items and dealing in milliseconds however, this illustrates why I have stopped looking to make my programs and files efficient. Aside from pride in efficiency, you will never see the difference that efficient code makes because computers are now too fast to appreciate it.

    • @LeilaGharani
      @LeilaGharani  4 роки тому

      Thanks for sharing your experience!

  • @ketandave3273
    @ketandave3273 4 роки тому

    Very good one. Thanks. This can help on mobile, as apps doesn't give access to Name manager menu.

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

    I have to like the video befor watching it. I know it will come in useful one day.

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

    Love that function I have created many stacked if statements with similar formulas....I will try this function out 😎

  • @johnburton1792
    @johnburton1792 4 роки тому

    I've been so frustrated that Excel didn't have such functionality before, principally for readability and maintenance. Wasn't aware of LET it until I saw this. (Interesting point about performance on the simpler functions too.) Thanks you

  • @gurmeetsingh-cq6br
    @gurmeetsingh-cq6br 4 роки тому

    Thanks for increasing my interest immensely in learning more

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

    Me finally getting around to learning Lambda last week thinking it was more like this. I knew there was a way I could define my own variables without all the extra rigmarole of naming lambda functions.

  • @mariano.veganzones
    @mariano.veganzones 4 роки тому

    Beautiful White Chester sofá. Love it !

  • @mohammadashiq9996
    @mohammadashiq9996 4 роки тому

    thank you leila like let function its simple,

  • @paddle_shift
    @paddle_shift 4 роки тому

    You should VLOOKUP(K4:L6)" for the range, out of range IF statement instead of typing IF B4

  • @sahilsinghal9472
    @sahilsinghal9472 4 роки тому

    👏🏻👏🏻👏🏻👏🏻 this is going to be very useful for complex financial models. Thanks Leila

  • @goksi5883
    @goksi5883 4 роки тому

    Fantastic function I learned from you today! Thank you!

  • @sleepfuzzy
    @sleepfuzzy 3 роки тому

    Thank you for this. This is such a game-changer for me.

  • @ydrexcel-andreasmarinis6569
    @ydrexcel-andreasmarinis6569 4 роки тому +1

    Very interesting video!!

  • @teljnyazhka
    @teljnyazhka 3 роки тому +1

    I love your videos, you are very smart

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

      Thank you. But I'm not smart. Just like to learn and share.

    • @teljnyazhka
      @teljnyazhka 3 роки тому +1

      @@LeilaGharani sure you are, you know a lot and you are a great teacher. Glad I found your channel ❤

  • @Melki
    @Melki 3 роки тому

    Thank you Leila

  • @djmusic130fdy
    @djmusic130fdy 4 роки тому

    Thanks! You have great tutorials. I'm fairly advanced, but I always find your videos helpful!

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

    Why you make my live easier
    Ms Leila you rock😊

  • @khairulidzham3646
    @khairulidzham3646 4 роки тому

    Thanks Leila for the knowledge.