Excel LAMBDA Function

Поділитися
Вставка
  • Опубліковано 17 гру 2024

КОМЕНТАРІ • 941

  • @andrewpeterst
    @andrewpeterst 3 роки тому +1837

    We're still using MS Office 2013 at my job. Can't wait to use this in 2037!

    • @SeleTraining
      @SeleTraining  3 роки тому +85

      LOL.

    • @flyer23ful
      @flyer23ful 3 роки тому +43

      My office still even use 2007 version lol
      I can't stand on it so i decided to upgrade mine into 365 version
      😂

    • @Mawds69
      @Mawds69 3 роки тому +8

      Using 2013 here also, but finally in 2 weeks we are going to 365

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

      😂

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

      The same situation...😕

  • @OriginalPiMan
    @OriginalPiMan 3 роки тому +682

    I don't know why UA-cam recommended me this, but I'm glad it did.

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

      Same!

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

      Same here my friend 😃

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

      I've been googling SQL, python and databases. I'm guessing that's why I got suggested this video

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

      @@smd7
      Yeah, I can see the connection there.
      I wasn't looking at anything related to computing before this recommendation, other than games.

    • @ΤΛΞ
      @ΤΛΞ 3 роки тому

      Because the author paid for it

  • @shubhankurkumar
    @shubhankurkumar 3 роки тому +245

    At this point, excel is a programming language in its own right.

    • @joca1378
      @joca1378 3 роки тому +36

      Excel is a few programming languages, referred to as "micro languages". The one in the video is called Excel Formula Language. If you are into databases and you have PowerPivot add-in, you can also use DAX which is a mix of SQL and Excel Formula Language. Excel also has M Language, Excel Macro Language (for backward compatibility) and obviously VBA.

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

      Just emulate macOS

    • @shubhankurkumar
      @shubhankurkumar 3 роки тому +13

      @@ultrio325 what? Why would I do that?

    • @benchilton9679
      @benchilton9679 3 роки тому +9

      Excel, and many other Microsoft office applications, work with Visual Basic for Applications (VBA) which for all intents and purposes is a programming language that can be used in excel to make a large variety of programs

    • @OurNewestMember
      @OurNewestMember 3 роки тому +4

      Also MS Office SDKs allow programming Excel add-ins and XLL libraries.
      Tbh this new feature is cool but not as groundbreaking as the many existing formula and programming features in Excel

  • @gopalakrishnanmanikandan6520
    @gopalakrishnanmanikandan6520 3 роки тому +8

    I'm waking up in the morning, and seeing this video... I can't really believe myself. Many times I have got stuck when I needed to automate some of my works in excel, due to not finding a formula. This is now going to help me, i hope so. Thank you so much for bringing this Lambda function.

  • @financialchimes4546
    @financialchimes4546 3 роки тому +9

    This went from very easy functions to mind blown very quickly.

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

      Yeah no kidding, after the first minute I was like "this is nothing" to the next minute "this is the best thing ever"

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

      ...and then on the last formula my brain had a "recursion" and turned inside out - oh the pain (Dr.Smith)

  • @kauegraumann1822
    @kauegraumann1822 3 роки тому +62

    That's a nice alternative to using VBA, when your client complains that he/she can't activate sheet content, or don't know how to.

    • @skipfred
      @skipfred 3 роки тому +10

      VBA is an atrocity as well, so any alternative is nice by default.

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

      @@skipfred I am from a non programming background myself, but I enjoy VBA. Why do people hate it?

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

      @@sohailahmed1351 My original comment was a bit of hyperbole, it's not *that* bad. But personally, I find it clunky, unintuitive, and frustrating to work with.

    • @grimendancehall
      @grimendancehall 3 роки тому +3

      @@skipfred its also like 100 years old lmfao.... u frustrated with the scalability of an abacus aswell?

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

      @@grimendancehall I don't still have to use an abacus. If I was required to use an abacus to get Excel to be reasonably useful then yeah, I would complain about that too.

  • @JimmyHandmix
    @JimmyHandmix 3 роки тому +78

    Will have to rewatch this in 5-6 years when I upgrade to the 2021 Version

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

    Finally something new that is not annoying. Now there is a valid argument for migrating to the latest office version. This will render a lot of macros obsolete - good for security.

  • @anubis9139
    @anubis9139 3 роки тому +30

    I have been begging for this for years. I'm so happy they put it in. I hate having to create custom functions in VBA just for simple actions.

  • @tylerwiebe7095
    @tylerwiebe7095 3 роки тому +98

    I'm a heavy user of Excel and have been working in finance for years, and while this function sounds cool, I can't for the life of me think of a situation where this would've come in handy. If you have any real life examples, I'd really be interested in hearing how you use it.

    • @SeleTraining
      @SeleTraining  3 роки тому +9

      Check out my video with more examples. ua-cam.com/video/Og9TYOWKXt4/v-deo.html

    • @Moimus
      @Moimus 3 роки тому +13

      You could as a simple example define a function that calculates the floating average of a range of values and reuse it over and over again. instead of typing the whole formula you could just say something like "=FLOATAVRG(A1:A100)". That is what programmers do all time: define function to do something and reuse it but instead of having to learn VBA you can do it in excel syntax. Or you could do date formatting, validating values, convert values. The possiblities are nearly endless.

    • @xl000
      @xl000 3 роки тому +20

      This is because you’re not a programmer.

    • @saifuckr
      @saifuckr 3 роки тому +20

      hi! im a chemical engineering student and we frequently use excel in all sorts of calculations using complex formulas, and especially in cases where we use equations derived from laws this function will come in very handy!

    • @CookieYong
      @CookieYong 3 роки тому +8

      optimizations, dynamic programming, search algorithms, etc...

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

    While the content is concise and helpful, the presentation is incredible with impressive voice:)

  • @maxwellhouser
    @maxwellhouser 3 роки тому +126

    This severely reduces the amount of vba needed for certain sheets, great update and great video

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

      What’s VBA

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

      @@ananasbanana Visual Basic, a programming language supported by excel. You can use it to solve problems which would be difficult or impossible to solve with normal functions.

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

      @@ananasbanana I think it stands for Visual Basic Access. I remember using it a long time ago for L4G programming on a Access database but other Office products started using it also for macro and function programming.

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

      @@lajya01 Is it separate to Excel? Have to pay extra for it?

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

      @@ananasbanana It comes built in to most Office applications though in the newest versions (I think from 2016 onwards, someone correct me on this) it has to be enabled as it can be a security risk. It was designed to be used under license with other applications but as far as I am aware no other applications use it outside of the Office range.

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

    The recursion bit is rad, I've wanted something like that in excel for a while.

  • @PapaMike23
    @PapaMike23 3 роки тому +31

    I am shocked that it took them that long to introduce the possibility of creating your own functions without having to use that massive PITA that is VBA

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

    Holy guacamole, I've been waiting for something like this for AGES. I love Excel. :)

  • @nofal2031
    @nofal2031 3 роки тому +3

    hundreds of excel sheet ideas failed because of loops thank you for this illustration

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

    Recursion within formulas is the biggie here. Thanks for sharing.

  • @levarhiggs3174
    @levarhiggs3174 3 роки тому +71

    I guess I am so used to using VBA for recursion for so long that the last feature there seemed more cumbersome than just using a VBA
    user defined function.

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

      Nice! I thought recursion was sought only by javascript Google sheets programers

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

      agreed, but it allows you to share the file with the office without macros. But yeah... VBA all the way.

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

    If only it were possible to give multiple thumbs ups... Thanks for your teachable explanation.

  • @sumanshrestha9836
    @sumanshrestha9836 3 роки тому +16

    One formula i had been praying for years...🔥🔥

  • @notnotandrew
    @notnotandrew 3 роки тому +85

    Programmers: "First time?"

  • @sal8372
    @sal8372 3 роки тому +16

    Naming functions to remember them? Cool!

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

      Loving udfs without vba

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

    Lambda really looks powerful. I could see myself using it in some of my reports.

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

      A very cool new addition to Excel.

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

      I'm trying to figure out in what report I'll use this and how.

    • @SeleTraining
      @SeleTraining  3 роки тому +3

      @@AdilParray It does make it easy to shrink complex formulas.

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

      @@SeleTraining Good point!

    • @DanKaschel
      @DanKaschel 3 роки тому +4

      @@SeleTraining just the ability to abstract logic into a named function without vba is so powerful

  • @simba8073
    @simba8073 3 роки тому +11

    God bless my successor when I transition my excel sheets with all these lambda defined functions !

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

      Documentation and notation.

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

      @@Capt_AwesomePants nah. it's been working in production for two years now... Good luck!

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

      Actually, it will make their life easier compared to them trying to make sense of your arcane, uncommented VBA spaghetti

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

    4:52 what? How cool is that… this is officially the new thing that I learned today!

  • @WillianGirhad
    @WillianGirhad 3 роки тому +22

    Time to port Doom to excel using lambda functions

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

    I am from a non programming background, but I enjoy VBA. Why do people hate it? It has made querying back end so easy !!!

  • @smileyspoon1
    @smileyspoon1 3 роки тому +93

    Oh my gosh. This is so amazing. I have been waiting for something like this forever. Thank you for making my Saturday. I will be even more efficient LOL.

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

      You would have loved Public Function in VBA

    • @danielpenteado
      @danielpenteado 3 роки тому +4

      Omg.. it's much more complicated. Just lose the fear of creating a function in VBA, where you have more space to write and you can make comments to organize the code. I do this for litteraly 20 years.
      And if the input parameters depends on another cell you can use "Application.Volatile" to force update.

  • @HenkLeerssen
    @HenkLeerssen 3 роки тому +25

    all this functionality..I used VBA to do the same. Recursion..mind blown!

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

      In order to understand recursion, you first need to understand recursion.

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

      @@ellisz5972 haha exactly

  • @DavidA20200
    @DavidA20200 3 роки тому +10

    Finally something that is super useful that’s going to actually save me time!

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

    Its really a powerful function. Saves alot of work by writing off complex formula for data calculation

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

      Just a query, how did the median value automatically pop up? Is it referring from some location?

  • @ophello
    @ophello 3 роки тому +70

    How wasn’t this a function 20 years ago...this feels super obvious.

    • @phinix250
      @phinix250 3 роки тому +12

      well it was done by VBA (you could write your own functions including data type operations), however, VBA has its issues (many being security) so by default, it is blocked unless the user activates it.

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

      @Winston McGee Eeh no... Haskell came out in 1990. Python integrated lambda-functions 25 years ago. C++, C#, Javascript and many more have been using them for years.

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

      @Winston McGee If we talk about existence, Lisp used them 60 years ago. I was only talking in a modern context.

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

    The (x,y) examples made me feel younger: it reminded me of the art of programming an HP calculator.

  • @Cyrribrae
    @Cyrribrae 3 роки тому +29

    I was like.. Yea ok.. Until you got to recursion. Have to try this out. Dang. I like that they're still pushing. Let() has been great haha.

  • @stevenkirby4471
    @stevenkirby4471 3 роки тому +45

    I must need new glasses. I read the title as Excel LAMBADA Function and my mind went in a totally different direction.

    • @zn4rf
      @zn4rf 3 роки тому +3

      well you could name it that way with naming your own funktion and then callig it :D

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

      Now that song is stuck in my head... For eternity!

    • @reidflemingworldstoughestm1394
      @reidflemingworldstoughestm1394 3 роки тому +3

      The Lambada function is cool, but the Macarena function blows it away

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

      🤣

  • @floxbr9350
    @floxbr9350 3 роки тому +155

    I get that you have to show easy examples, but I think it distracts from why lamdas might be useful as you can do everything you showed directly (except for the recursion, which is a bit silliy for this particular application), e.g. just enter =A1:A3*B1:B3. The advantage only comes when you have functions that are much more complex but you re-use frequently.

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

      True!

    • @nNiceDreamsMadeTrue
      @nNiceDreamsMadeTrue 3 роки тому +4

      I did realise this while learning the concept, but it's nice to get confirmation as it's a good feeling to know I derived it's implications without a use case
      Learning this stuff is fun

    • @CLove511
      @CLove511 3 роки тому +10

      I guess this whole thing feels like a trailer hitch on a Prius, asking Excel to do a job meant for VBA.
      If the formula is simple, hiding it behind a custom function name only makes it more difficult to read without necessarily being more useful.
      If the formula is complex, I'm not sure why VBA wouldn't still be the better platform, being easier to work with and granting much more control to the developer, especially when we factor in VBA add-ins that can carry custom functions between all of your workbooks.
      And especially considering the atrocity that is editing formulas in the "Refers to" boxes. I'm not debugging a lambda with 12 nested functions in that thing, accidentally hitting the arrow key and having it insert gibberish in the middle.

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

      @flo xbr perhaps you could create an ‘advanced’ series of presentations covering more in-depth examples. Please reply when you’ve posted your first session so we can check it out.

    • @jeffreyblack666
      @jeffreyblack666 3 роки тому +4

      @@CLove511 For basically that reason. You can do a lot more with VBA, including things which you wouldn't necessarily trust coming from some random.
      I am assuming the lambda functions are meant to be "safe", so wont need saving as an excel macro enabled workbook.

  • @Ronald-jm1te
    @Ronald-jm1te 3 роки тому +1

    Your speaking skill is greater than excel skill...

  • @andmos1001
    @andmos1001 3 роки тому +8

    Bet when lambda get mainstream, programmers will have a lot of fun with this function

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

      I got really excited that excel might support arrow syntax

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

    One like is not enough for this video. Wow! Can't wait to use lamda function

  • @MicrowaveHateMachine
    @MicrowaveHateMachine 3 роки тому +50

    I would like to see more examples of this.

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

    Awesome he said as he sat at work. This time he was really gonna do it.
    The bridge was right there on his home commute

  • @silberlinie
    @silberlinie 3 роки тому +7

    6:18;
    I find that a double nested if or while loop with the length
    of TestString and IlligalChars adds significantly more
    clarity and understanding for this example.

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

    Thanks a lot from Belgrade, that's what I need

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

    i love that it even uses a LISP/scheme-like parenthesis syntax

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

      Actually it's more like the double parentheses are: first to build the Lambda expression, then the next set is to execute the expression.
      Lisp/Scheme might look like this:
      (funcall
      (lambda (x y) (* x y))
      6 8
      )
      Compared to the XL expression:
      =Lambda(x, y)(6, 8)

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

    That's absolutely amazing.
    One year ago I created a vba code in order to export a series of files in different directories and I had to set manually all the possible conditions to avoid the usage of an illegal character.

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

      thats called not knowing how to program. not trying to overly insult but thats the key. a million different ways to do something. obviously some are much better than others. thats why this field is so lucrative... not cuz its hard to write a for loop and add subdirectory to name and make a new file.

  • @kirubakaranp7866
    @kirubakaranp7866 3 роки тому +7

    Wow Knowing this was such a great relief, I used to write some complicated formulas, multiple times in a sheet at many different cells & sheets.. now this gives me rest..
    For Example:
    I have to write Date in Any format to Mmm-YY using IF formula 12 times.. every were in a sheet.. but Lambda I can jus write it once in Excel Names and call it every were I want..
    👍👍👍

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

    Usage of recursion function is basic for programming, nice Excel finally gets here.

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

      Agreed. It took way too long

  • @LeeY91
    @LeeY91 3 роки тому +16

    Nice introduction of the new function, build up customized embedded formulas become easier and better readable. 👍

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

    Exploding dice here I come! I should be able to use this to have exploding dice coded in 1 cell! That is super exciting!

  • @varianaditya3539
    @varianaditya3539 3 роки тому +3

    Thebest.. thank you.. this is the function i was looking for recursion that i had hard time to think of

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

    You are a fantastic teacher. Bravo.

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

    this brings up some bad memories from my haskell class in university. i guess i have to get back into lambda calculus...

    • @SeleTraining
      @SeleTraining  3 роки тому +3

      I took 3 terms of Calculus. Can't remember anything now...

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

      haahah lol😅
      but Haskell and Lambda Calculus still are so beautiful i think. i love em

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

    I haven’t finished watching but I don’t like when super simple examples are used. Give me a real world application where it will save a significant amount of time

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

      Take a look at my LAMBDA more examples video. You can see some more complex uses.

  • @lunchrevisited
    @lunchrevisited 3 роки тому +4

    A very clear and informative description of this incredible new Excel super function. Thanks!

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

    So looking forward to the lambda function!!

  • @aviandragon1390
    @aviandragon1390 3 роки тому +3

    I was almost able to follow along with what you were showing in this video. You should probably add four or five more advertisements to remedy that. Thank you.

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

      Install uBlock origin already

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

    Wow, liked and subed, thank you mate, this gold keep it coming

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

    Excel complete Training basic to advance level

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

    That is soooooo much easier than a VBA function!

  • @Daniel_Zhu_a6f
    @Daniel_Zhu_a6f 3 роки тому +14

    i remember, excel had impressive vector graphics edditing capabilities in 2003 version. in 2020 ms has added custom function definitions inside cells. a very logical way of spreadsheet editor development.

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

    Wow... great function in excel... thanks for sharing this knowledge with us and your wonderful presentation...

  • @miket3265
    @miket3265 3 роки тому +3

    I'm gonna show this to my PlusOne

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

    Interesting naming, because when i did calculus back in the days "Lambda" was the wavelength. Also used when i wanted to transpose a wavesheet and "see" it's values from the different angle.
    Funny how things change because ,, well i dont know why.

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

      Google what's lambda in any programming language.

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

    And I thought I was a pro in excel. There’s a saying “The more you know the more you’ll realise you don’t know…”

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

      Same here. I’ve been using Excel since ‘97 and MS Works and Lotus 1-2-3 before that. Videos like this put me to shame.

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

    This function is so powerful that there even is a song about it written by Kaoma in 1989!

  • @mptron3447
    @mptron3447 3 роки тому +4

    I have been waiting lambda calculus in spreadsheet for a long time... now I have to wait libreoffice include this

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

    The best tool for quickly playing around with small amounts of data just got a whole lot better!

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

    Lambda, Lambda… Sounds like the latest installment of the “Revenge of the Nerds” movie franchise. 🤪

  • @piphattsuriya-ek973
    @piphattsuriya-ek973 3 роки тому +1

    Many thanks, upper level of formulas

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

    Thanks Jason. Looks awesome! I've been waiting for it to hit my Insider laptop so I can tinker with it.. still waiting. Thanks for the preview :)) Thumbs up!!

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

    Good function. Thanks for the good explanation

  • @jtmh31
    @jtmh31 3 роки тому +4

    It is a powerful function; however, it is still only available to insiders. I'll have to come back and watch this video in six months when it finally becomes available to us. I had to do the same thing with XLOOKUP and LET.

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

      Yes. I generally try to get these new function training videos out early so people know what is coming in the future. My tips and tricks videos reference the released functions.

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

      @@SeleTraining Please do not take this as criticism of you. I'm more irritated at Microsoft. They made LET sound like it was available, and I was all excited. Only to find it was only available for insiders, and I had to wait 3 months or so. I've the same irritation about LAMBDA. Have a great day!

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

      @@jtmh31 If you have a Microsoft 365 Family or Personal subscription, it's easy to become an insider. See insider.office.com/en-us/join/windows

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

      do you know the timetable for us normies to get access to lambda?

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

      @@maxheithmar334 Microsoft never says when they will release it. It is in beta but it could be days or months.

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

    😎 Cool ! Took till 2021 to get this math power... Go Branden!

  • @danielmazur3203
    @danielmazur3203 3 роки тому +3

    There were times, 20+ years back, when one could do this with a VBA macro. I know well the reasons, why macros are in disrepute, but seeing custom defined functions as a new feature today is kind of depressing. And not only as a reminder, how old I am already. :)

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

    Great explanation of the LAMBDA function

  • @blackstarmaster
    @blackstarmaster 3 роки тому +3

    Most Powerful and Excel are two words which can not be combined! Lambdas in C++ are maybe powerful.

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

      excel (and, somewhat surprisingly, powerpoint) are turing-complete, so in principle, they can compute anything that is computable

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

    I had to startup Excel and check it out. Nice!!

  • @maxheithmar334
    @maxheithmar334 3 роки тому +3

    this is actually pretty sweet. gonna start using this alot

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

    Thank you, powerful function!!! Auto Like 👍🏻 & Save video

  • @tomr942
    @tomr942 3 роки тому +3

    Apart from the end example using the IF statement, I dont see the benefits of this function? For example your multiplyxy example, surely it would just be easier and quicker to do =A2*B2? Am I missing something?

    • @SeleTraining
      @SeleTraining  3 роки тому +11

      If you have a complex formula used throughout your spreadsheet it could save a bunch of time. Also, consider if you had to update the function you could then do it in one place rather than in every cell it is used.

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

      It allows you to perform a transformation and then use that value as a variable without needing to recalculate that value for each time you want to use it.

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

      @@SeleTraining This looks like the key detail. You put "=Property_Tax_Formula(A2,B2,C2)" in the D2 cell, and in the Name Manager screen you assign "Property_Tax_Formula" to a significant equation that you don't want to type out in each cell. This avoids the potential problem where the equation is changed and you might copy the new equation to almost all the locations where it is used but miss a few. By using the Name Manager to change the equation, you ensure that everywhere using 'Property_Tax_Formula' will be using the new equation.
      For example, you might have a property tax calculation that takes in total land area, waterfront property, and zoning code to determine the base tax value for a piece of land. One year the variables in the formula to determine the tax are changed. If you just copy and pasted the formula, you might make a mistake. But by changing the formula in the Name Manager screen you ensure that all cells using that formula will use the updated formula.
      (If I am understanding it correctly)

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

      @@toddkes5890 Yes. You can also save a set of LAMBDA functions with a spreadsheet and then copy the spreadsheet whenever you need to use them.

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

    feeling good to know about this formula

  • @TylerStanczak
    @TylerStanczak 4 роки тому +3

    Really helpful tutorial :)

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

    Fantastic 👍 use this often now

  • @mrmuranga
    @mrmuranga 3 роки тому +4

    awesome...
    very similar to python lambda

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

    thanks you tube! this is exactly what i was looking for while searching for a covid variant.

  • @NickKravitz
    @NickKravitz 3 роки тому +13

    When Excel implements sockets and smart pointers you know they are running out of feature ideas.

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

    MS Excel has been able to provide results such as this for decades - using either the macro cells or the later VBA macro scripts methods.
    Both these methods are still available but should be used with caution if sourced from a 3rd party due to the possibility of the script being malicious.
    As the new LAMBDA() function seems to be called and run from a cell, the complexity of the calculation will be somewhat limited.
    Most recent versions of MS Excel have a 32,767 characters limitation per cell, previous versions were limited to 255 characters per cell.
    Programmatically, having multiple clones or slight variants of LAMBDA() functions will be less elegant than writing and calling 1 VBA script.
    Debugging will be awkward as each cell will only be able to be viewed and edited 1 at a time.
    Like many MS improvements, a workbook that contains this new LAMBDA() function will not be backwards-compatible with organisations that still use earlier versions of MS Excel.
    Perhaps other MS Excel users and programmers will have different experiences and opinions on this, which of course I welcome.
    My own opinion is that LAMBDA() might be useful for some very small-scale and quick fixes but that for consistent and structured sheets, other methods should be employed.

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

      LAMBDA is a good answer for non programmers that are not comfortable with VBA. You also can define the LAMBDA formula in the name manager so it doesn’t have to be confined to a cell.

  • @spicystapler58
    @spicystapler58 3 роки тому +8

    Ok but we still can’t still do a double vlookup

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

      Yes you can, through index with multiple match

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

      Yes you can with Xlookup.

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

    Here I am, randomly found this video, thinking thermal conductivity was implemented as a function, I really was excited to see how....turns out name lambda can be used for different purposes, who would've thought.
    It's way easier to just write a vba script that'll do the same thing, on the other hand good function for people without programming background.

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

      having VBA in your file can be a pain if you're sharing the file (people don't activate VBA, mail apps send warning or even block the file..)

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

    *Maniacally cackles in a 30 year old Lisp dialect*

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

    WOW! I've been using VBA functions to do the same thing but you need to save the workbook as macro enabled, inviting possible security issues.
    With the lambda function you can bypass VBA functions completely avoiding any security issues... Correct me if I am wrong!? ;-)

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

    This is just like Anonymous/Lambda Functions in Common Lisp lol

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

    This.. solves so many of my issues

  • @budidarmawan6959
    @budidarmawan6959 3 роки тому +4

    was excited about this and then i checked, my company still deployed 2008version :(

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

    Excellent and innovative too. But it will take some time to adopt it in my D t D works. Thanks for your help. Cheers!

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

    Python coders: “noob”

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

      Python coders: “noob”
      Non-coders to Python coders: “STFU, nerd”

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

    Excel finally implementing features from the... *checks notes* 70s.

  • @shamusobi2748
    @shamusobi2748 3 роки тому +4

    lamda is such an old concept that I think microsoft intentionally delays adding new features so they have something to sell next year: buy Excel 2021...it now has a feature available a decade ago lol

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

      lambda is core to some languages that are more than 60 years old now.

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

    Great stuff this Lambda function, spreadsheets on the move!!! Cleaning data powerful tool.

  • @leopold7562
    @leopold7562 3 роки тому +7

    Oh well, another nail in the VBA coffin. It’s becoming a less and less useful skill.