Komentáře •

  • @LeilaGharani
    @LeilaGharani Před 5 měsíci +1

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

  • @rigelabanes699
    @rigelabanes699 Před 2 lety +3

    YOU ARE HEAVEN SENT!!! I wish you have an Excel book for ordinary Joes like me.

  • @HeatherMajors
    @HeatherMajors Před 2 lety +20

    This is more complex than anything I am currently using excel for but I love these videos. When I do need to get back into Excel I know I can come right back to these videos and refresh my mind.

  • @cdyard1
    @cdyard1 Před 2 lety +5

    I love these videos about the new functions even if I'm unable to use them (or even to understant how they work).

  • @andrewcharlesmoss
    @andrewcharlesmoss Před 2 lety +10

    This is really impressive!

  • @awesh1986
    @awesh1986 Před 2 lety +1

    Leila you make these complex problems so easy. You are just awesome

  • @JHatLpool
    @JHatLpool Před 28 dny

    Nice, clear demonstration. Thanks !

  • @SolidSnake59
    @SolidSnake59 Před 2 lety +1

    Thank you. I like when you are taking excel formulas to the next level.

  • @pedroemanuelrebelo2182

    These tips are awesome. In a "simple" way we have this information without more. Congratulations on clarity.

  • @tifouraamina1761
    @tifouraamina1761 Před 2 lety +1

    Honestly, the lamda function is my favourite 😊thanks Leila you're the best

  • @pauldadzie6991
    @pauldadzie6991 Před 2 lety

    Best channel ever!!!! I actually got a promotion using all your videos and improving my office skills. I can't thank you enough.

    • @LeilaGharani
      @LeilaGharani Před 2 lety

      Wow, that's great to hear! Congrats on the promotion, Paul!

  • @krn14242
    @krn14242 Před 2 lety +1

    Thanks Leila, great explanation.

  • @LarsHHoog
    @LarsHHoog Před 2 lety +26

    I'd simply put a pivot table next to the table and use sum and running total options

  • @sasavienne
    @sasavienne Před 2 lety

    Simply amazing.
    Stunning.
    Thank you

  • @chrism9037
    @chrism9037 Před 2 lety +1

    Excellent thanks Leila!

  • @alanlamb6047
    @alanlamb6047 Před 2 lety +12

    For some calculations, the LAMBDA approach offers some real benefits
    In this instance, I would prefer the YTD to be calculated in the original sales table:
    Add a new calculated column (YTD) in the Sales table
    =IF(MONTH([@Month])=1,[@Sales],[@Sales]+INDEX([YTD],ROW([@Sales])-ROW(Sales[[#Headers],[Sales]])-1,1))
    Essentially it says, if month is Jan, use sales, otherwise add sales to prior YTD total
    Alternatively
    =SUMPRODUCT((YEAR(INDEX([Month],1,1):[@Month])=YEAR([@Month]))*INDEX([Sales],1,1):[@Sales])
    Note, INDEX([Month],1,1):[@Month] is the range from the first row to the current row

  • @martinilopez1
    @martinilopez1 Před 7 měsíci

    your knowledge is from another world! hahaha thank you lei :)

  • @HoppiHopp
    @HoppiHopp Před 2 lety

    This was extremely helpful. Thanks to scan plus lambda I was able to calculate values adding up per month and finally finding the month with the highest value without pivot and fully dynamic.

  • @KrishnaKumar-zn9kg
    @KrishnaKumar-zn9kg Před 2 lety

    Very nice. Opens up immense possibilities.

  • @a.achirou6547
    @a.achirou6547 Před 7 měsíci

    Excellent. Thank you Leila !!

  • @crp7062
    @crp7062 Před rokem

    Excellent explanation of SCAN. I am an old-school LISP programmer. I am so glad that finally functional programming has arrived in Excel. Thus I prefer single-cell formulas. Thanks to your video I can add SCAN to my kit of powerful tools.

  • @gvinodnair
    @gvinodnair Před 2 lety +1

    Brilliant 🤟🏼

  • @xcellent38
    @xcellent38 Před 2 lety

    Thank you for sharing with us the news!

  • @g.muthukumar
    @g.muthukumar Před 2 lety

    For Finally Scan function is used for Cumulative calculation, I love this formula, Thanks for your videos
    😊

  • @stevenlwi1072
    @stevenlwi1072 Před 23 dny

    Leila, thanks for all the great videos.
    Just to answer your question on alternative ways to calculate YTD balance, I would have used the following formula
    =IF(MONTH([@Month])=1,0,OFFSET([@YTD],-1,0))+[@Sales]
    Or, the rows are not sorted, then will use Sumifs
    =SUMIFS([Sales],[Month],"=" & DATE(YEAR([@Month]),1,1))

  • @irajabaly
    @irajabaly Před 2 lety

    wonderful helpful function and best quality course . Thank you lovely and talented Leila

  • @shashibhusanpandit7188

    I like when you are taking excel formulas to the next level.
    Leila Gharani

  • @karimelhamy8425
    @karimelhamy8425 Před rokem

    I am so sad I only found you lately ; you are my excel superhero 🎉

  • @PopeLando
    @PopeLando Před rokem

    I needed a way to reference another cell not via a fixed reference but a way of calculating whichever other cell I needed. Google did not find the OFFSET function for me, and it's exactly what i was looking for, so thank you!

  • @irfandaud7380
    @irfandaud7380 Před 2 lety

    Tried, working , great solution.

  • @GarthShaner
    @GarthShaner Před 2 lety

    Ok, that is super slick! As always, thanks for the awesome tutorial!

  • @wayneedmondson1065
    @wayneedmondson1065 Před 2 lety

    Hi Leila. Great example of how to use SCAN and LAMBDA to create a useful result for a real world challenge! Thanks for sharing :)) Thumbs up!!

  • @yogibearstie
    @yogibearstie Před 2 lety

    Thank you. This will be useful, once released, for a 26 year monthly Excel I maintain to have running FYTD. Actually even more used for FYTD since it is everywhere.

  • @emmafeng55
    @emmafeng55 Před 2 lety +1

    I can see that I need to replace some of my formulas for existing files. Thanks Leila!🥰

  • @kebincui
    @kebincui Před 11 měsíci

    Wonderful tutorial 👍🌹❤

  • @markus_aurelius_888
    @markus_aurelius_888 Před 2 lety

    Thanks, really useful 👍

  • @dlep9221
    @dlep9221 Před 2 lety +1

    Leila you are an Excel formula magician! 😄

    • @Yachid
      @Yachid Před 2 lety +1

      Leila~, the Excel Goddess!

  • @drsteele4749
    @drsteele4749 Před 2 lety

    Leila, this is a monumentally powerful function! I'm trying to get it to determine streaks in a list, like winning streaks for sports teams or stock markets.

  • @modalities
    @modalities Před 2 lety

    Very impressive explanation Leila. I have the beta on my home PC, and looking forward to an update at work.

  • @SyedMuzammilMahasanShahi

    Thanks for this amazing tutorial.

  • @dontown1531
    @dontown1531 Před 2 lety

    Wow! Another new function. As MS only update the Whats New on Fridays I got to find out a day early. I've been using Excel since 1993 (ver.5) Always something to learn. Thanks for this ❤

  • @keishrich
    @keishrich Před 2 lety

    Yeah! Another great function to use for model building. ,😃

  • @shashankjain9482
    @shashankjain9482 Před rokem +1

    U always have something that i am seeking for.

  • @cenevspeed
    @cenevspeed Před 2 lety +5

    My Diwali just became a bit more knowledge-packed! The explanation you gave at 2:46 was just perfect. It reminded me of the Fibonacci Sequence but the 2nd number is hidden :o. I really like your thumbnail (gotta learn from yours). The offset function was new to me... Thanks!

  • @forgetittube5882
    @forgetittube5882 Před 2 lety +30

    Another wonderful function that no one except a small subset of “insiders” can try out. This one depends on lambda, which over an year after announced, still haven’t reached all insiders, forget anyone else.
    So far, vaporware at’s worst.

    • @davidferrick
      @davidferrick Před 2 lety +1

      Agree completely, very frustrating all the insider features that I want to get my hands on and still not available.

    • @LeilaGharani
      @LeilaGharani Před 2 lety +3

      Agree - It's frustrating when it take so long for them to roll out.

    • @robertbenz8260
      @robertbenz8260 Před 2 lety +1

      Its worse than vaporware. I got v2110 64bit and lambda let alone this scan function are no where to be found. Yet Microsoft has done something with the calculation engine - what I don't know. I do know that the calculation engine as measured by the time to calculate a sheet of Excel past version v1908 is over a 100 times slower, so darn slow that in my VBA application I must force the sheet manual calculate, otherwise after a minute or two of a sheet being updated with data the Excel hangs then suddenly crashes.? I had to revert many a workstation back to an older version until I finally figured out that MS has jacked up the calculation engine (apparently for the new yet to be released functions), disabling the autocalculate. As for Lambda, seems like a capability that would be better suited in VBA?

  • @nonoobott8602
    @nonoobott8602 Před 2 lety

    Thanks so much Leila for this video. I better understand how the new SCAN function works with this use case

  • @dhiyaneshwarchess12Pro
    @dhiyaneshwarchess12Pro Před 2 lety +1

    Fabulous video!🤗🤗🤗🤗

  • @sherlockholmes6256
    @sherlockholmes6256 Před 2 lety

    Thanks for this help me so much, good video 👍👍👍👍👍

  • @sachinrv1
    @sachinrv1 Před 2 lety +2

    Thanks Leila for this brilliant video. Viewers should first watch your OFFSET and LAMBDA video to get the context; then they can move to this video. Love form India, Happy Diwali and wish you and your loved ones healthy and prosperous year ahead !

  • @umesh2403
    @umesh2403 Před 11 měsíci

    Good one❤

  • @rajsahu1029
    @rajsahu1029 Před rokem

    Nice function

  • @GeertDelmulle
    @GeertDelmulle Před 2 lety +5

    Leila, there's no need for the "0*a+b"-trick, just putting "b" in the last argument will work just fine for the reset:
    =SCAN(0,Sales[Sales],LAMBDA(a,b,IF(MONTH(OFFSET(b,,-1))1,a+b,b)))

    • @LeilaGharani
      @LeilaGharani Před 2 lety +2

      Smart! Thanks for sharing Geert! 🙌

  • @nafiurpial7209
    @nafiurpial7209 Před 2 lety

    Interesting!

  • @shahzadhussain6824
    @shahzadhussain6824 Před 2 lety

    You are wonderful mam ❤️❤️❤️❤️

  • @metime1209
    @metime1209 Před 2 lety +2

    Nice information 👍

  • @kmanoj392
    @kmanoj392 Před 2 lety

    Very good

  • @merbouni
    @merbouni Před 2 lety

    Excellent 👌

  • @jorgebotao9700
    @jorgebotao9700 Před 2 lety

    excellent

  • @fermbizzfermdiggity6790

    Never knew about this SCAN function. Maybe in the near future I can use this. I need to create a list of possible functions with a link to her vids. Thank you!

  • @komanguy
    @komanguy Před 2 lety

    Excellent video. Looks like DOSUBS function of my hp48G!

  • @Jill_Liu
    @Jill_Liu Před rokem

    Thanks Leila for your great explaination, it is will be an alternative for fixed asset depreciation calculation. right?

  • @DemetriPanici
    @DemetriPanici Před 2 lety +4

    I've seen some tutorials on this and think it's a pretty amazing function!

  • @brianfoster6605
    @brianfoster6605 Před 2 lety

    Thank you! I see daily use for this, but I need to drill down deeper. Example: 20 different sales people within each month. YTD for the salesperson. I’m certain I can get there eventually.

  • @samanthadaroga4811
    @samanthadaroga4811 Před rokem

    Quite interesting

  • @Marcin2824
    @Marcin2824 Před 2 lety

    amazing

  • @MuhammadAmir12358
    @MuhammadAmir12358 Před 2 lety

    I have just ❤️ to pass you 👍👍👍

  • @raoarif9529
    @raoarif9529 Před 6 měsíci

    ❤nice

  • @hansklein3649
    @hansklein3649 Před 2 lety

    Actually is working with functions like lambda not so complicated in case, you don't lose yourself by defining the variables or under functions, which should cooperate with each other. It is so satisfying to see how the values change when their source gets updated.

  • @WebberJason
    @WebberJason Před 2 lety +7

    Great intro to SCAN thanks Leila!
    For those without / nervous about SCAN, one could also try something like:
    =SUMIFS(sales,dates=DATE(YEAR(@dates),1,1))
    Need to check my syntax but I think that general idea should work for YTD figures.

  • @BigDadio1967
    @BigDadio1967 Před 2 lety

    I have good number of sheets I will be updating to include this function. Thanks for the insight!

  • @thamilanban
    @thamilanban Před 2 lety

    Thanks Leila. Is this released intending to make the recursive lambda easy?

  • @christoslefkimiotis9889

    I really try to understand the reason for using functions very few will understand. Unless is for personal and only use when you build something for your manager, a colleague etc they need to understand what they are looking. The lambda λ function or the scan function etc despite being a powerful tool to the hands of a developer they can easily put off the ultimate user of a file. All these functions are powerful and versatile but must be addressed and presented (by Microsoft not you of course) in a more understandable and appealing way to the general public. Nice video.

  • @paulmartin4894
    @paulmartin4894 Před 10 měsíci

    @Leila Gharani, I'm having trouble finding more complex uses of SCAN. Have you covered SCAN further? Or know of where I can find more complex examples?

  • @mahmoudradwan6388
    @mahmoudradwan6388 Před 2 lety

    I like you so much 😊

  • @WarrenGuan
    @WarrenGuan Před rokem

    Just come across this scan functio when I press =S in a cell. Nice video.

  • @xloneclick
    @xloneclick Před 2 lety

    Thanks for this clear explanation but a little complex. maybe easier by VBA.

  • @MrSahilspm
    @MrSahilspm Před rokem

    this is awesome and very interesting. I have only one query can this scan function worked horizontal also?

  • @Giovanni-vx8xl
    @Giovanni-vx8xl Před 2 lety

    Thanks for yet again a usefull video i! do you have a video about basic DAX Power BI pls? thanks Giovanni

  • @kashmoney1
    @kashmoney1 Před 2 lety +1

    Happy Diwali Leila!🎉🥰

  • @edersilvarodrigues
    @edersilvarodrigues Před 2 lety

    Obrigado 🥰🥰🥰🥰🥰🥰🥰🥰

  • @ProfectusLearning
    @ProfectusLearning Před 2 lety +1

    Nice demo of scan function. But what happens when someone sorts the data such that months are not in ascending order anymore? To fully exploit the potential of DAs we need functions that are not affected by order of data. I would prefer to do this with a recursive Lambda or a N*N matrix transformation (although it would result in lot of redundancies)

    • @paulfelce8757
      @paulfelce8757 Před rokem

      Use the sort function on the data before the scan?

  • @Phoenixspin
    @Phoenixspin Před rokem

    "Aren't really for everyone" - so honest.

  • @venkatasivakrishnaabburi3633

    Ho to deal the situation where our arrays are horizontal spreading to multiple monthly ans yearly columns. Are we able to achieve the yearly sums through dynamic formulas. I find difficulties using dynamic arrays when we have months and years data.

  • @abdelkrimmesaiahmed662
    @abdelkrimmesaiahmed662 Před 2 lety +2

    If the dates are in column A and Sales are in column B this formula will work perfectly
    SUM(IF(YEAR($A$2:A2)=YEAR(A2),($B$2:B2)))

    • @jazzista1967
      @jazzista1967 Před 2 lety +1

      Very nice solution Abdelkrim MESAI AHMED if you don't have the SCAN function. I do have it and tried in a fake data set and used an alternative solution from Rico S a few posts above Thanks for sharing

    • @LeilaGharani
      @LeilaGharani Před 2 lety +2

      If you don't have a table then yes. In this case we have data organized in a table - so the advantage of a using a function that spills is the result is automatically updated once we get new data without pulling down the formula. But of course this is just one way among many.

  • @mikaya2008
    @mikaya2008 Před 11 měsíci

    Great video, well explained. Unfortunately, I cannot get it to work in a Table. You use it adjacent to the Table, but I don't see it being used like that in practice.

  • @anthonyjoe6275
    @anthonyjoe6275 Před 2 lety

    Wonderful function.... ...more then that beautiful voice u have..... lucky boyfriend or husband.
    Hey this is Anthony Joe Indian live from Fiji Island 🤟

  • @andrewwerner5992
    @andrewwerner5992 Před 2 lety

    XLOOKUP could replace offset if each monetary value only occurs once in the 'Sales' column. Or better yet provide the 'Month' column instead of the 'Sales'. and everywhere you use 'b' in the LAMBDA formula, replace it with an XLOOKUP in the other direction

  • @eriklehman3175
    @eriklehman3175 Před 2 lety

    this is off topic regarding the video. i would like to know if it's at all possible to to drag and drop a file path (like a link) without having to navigate to the file and going through multiple directories to get to the file i want.

  • @vesaruusunen5685
    @vesaruusunen5685 Před 2 lety +1

    I wonder why MS doesn't include status of these new functions in MS roadmap. It would be more easy to follow when something is rolling out for everyone. Now I just need to keep list of what I have heard and check if that has reached me.

  • @balarajen7428
    @balarajen7428 Před 2 lety

    Hi Leila, I would like to know that how to send emails from "get a row from excel" in power automate but from multiple rows.. pls guide.. thanks in advance

  • @sane7263
    @sane7263 Před 2 lety +1

    We can use Index+Sequence function instead offset

  • @farzinm2870
    @farzinm2870 Před 2 lety

    hi could you tell me how to scan ducoment in execl and add link of ducoment to cell
    I wnat to when I push scan command bottom start scanner to work and scan my document
    thanks

  • @allistairjoseph8169
    @allistairjoseph8169 Před 2 lety

    Since it's getting close to the end of the year how about some tips on how to layout yearly reports

  • @chh8860
    @chh8860 Před 2 lety +7

    At the 7:56 mark " ... Honestly ... I'm not sure these Lambda Helper functions are for everyone ...". WHEW!!! 😵🥴.
    I knew I was in BIG trouble when 'Lambda' appeared in equation. My initial reaction was " ... oh gawd ... 😬 ... as my palms got sweaty and I could feel heart palpitations. A mug of hot coffee (on a cold Maryland morning) only made it worse.
    Once again, I loved the ease with which Leila gracefully glides through the presentation. But I will stick with @Sum while anchoring the first cell, and (hope to) figure out an @IF function to address the new year (which I think Leila taught us once before ... I think ... 🤔).

    • @LeilaGharani
      @LeilaGharani Před 2 lety +3

      These functions are definitely not for everyone - me included 😁

    • @BHhaaf
      @BHhaaf Před 2 lety

      You can always use IF(MONTH(A2)1,E2+B2,B2) and then drag the function down. I believe the only thing this function improves is the need to drag the function down, right?

    • @pmlover1810
      @pmlover1810 Před 2 lety +1

      @@BHhaaf good question, yeah I think she mentioned the function will spill the formula for you. But I like your alternate solution lol

  • @deryansyah
    @deryansyah Před 2 lety

    what lambda formula if i have 1 other parameter such as name product? so i want to calculate every sales of product year to date?

  • @taizoondean689
    @taizoondean689 Před 2 lety

    Really great but lamda is difficult can you please prepare one more video on Lamda. Have watched your Video on Lamda but was little difficult....... please if you can 🙏

  • @nichirenbuddhism
    @nichirenbuddhism Před rokem

    Does this work across i.e. can I get it to spill across?

  • @madtraveler9529
    @madtraveler9529 Před 2 lety

    How we will apply in debit, creadit and balance situation?

  • @ashokwwf
    @ashokwwf Před rokem

    Pardon my ignorance. I could have done this using a simple excel formula which is much easier to understand than use Scan, offset, Lambda etc. What's the usecase for SCAN function?

  • @philwongnz
    @philwongnz Před 2 lety

    Long time fan of your channel, as a financial modeller and I had been working with Excel for nearly 20 years your vids are great!
    I am still trying to figure out SCAN formula, but personally for the sake of spill, can't we put the YTD column in a table and let it spill by simply summing up what the top value is and have an IF statement to check if it's Jan (or whatever the year starts) before summing? Is great to learn new formulas but I think we are over engineering something which IMHO relatively simple. Also a lot of people don't know how to use LAMDA (or even have it yet) so a lot of the time I have to get around problems with old school methods as my clients' Excel varies.

    • @LeilaGharani
      @LeilaGharani Před 2 lety +1

      Thanks Phillip - agree. One advantage of using a function that spills is that you write it once and it automatically updates once we have new data added to our table.

    • @philwongnz
      @philwongnz Před 2 lety

      @@LeilaGharani thanks for replying, but that's what I mean. If we put both the input data and the formulas in the same table (I will put the formula on the right just like you), if the input data has more rows, the formulas on the right will spill to reach to the same ending row as the input data. As an extra measure (I was working at a spreadsheet risk project) I would colour code the cells which has formulas to indicate they are not inputs just so the user knows not to touch or over write them. I use this setup up all the time and then further manipulatie my data by referencing the table as a range so my ranges in the referencing formulas will update, e.g. You don't need to do 1:10000 rows for an xlookup when you can reference the table column, so it should speed up your model as we only looking up rows we need.