How to Calculate YTD (Year to Date) Values in Excel using the SCAN function

How to Calculate YTD (Year to Date) Values in Excel using the SCAN function

Leila Gharani

2 года назад

181,041 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@muhammadfahimullah4595
@muhammadfahimullah4595 - 18.12.2023 11:19

If I write Sales in Rows .. Than How I use Lamda Function? PLZ Somebody Help me

Ответить
@martinilopez1
@martinilopez1 - 06.12.2023 20:35

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

Ответить
@venkatasivakrishnaabburi3633
@venkatasivakrishnaabburi3633 - 01.12.2023 13:07

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.

Ответить
@a.achirou6547
@a.achirou6547 - 30.11.2023 17:29

Excellent. Thank you Leila !!

Ответить
@paulmartin4894
@paulmartin4894 - 12.09.2023 13:24

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

Ответить
@mikaya2008
@mikaya2008 - 14.08.2023 23:51

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.

Ответить
@kebincui
@kebincui - 13.08.2023 19:00

Wonderful tutorial 👍🌹❤

Ответить
@umesh2403
@umesh2403 - 27.07.2023 05:57

Good one❤

Ответить
@PopeLando
@PopeLando - 13.07.2023 10:05

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!

Ответить
@ashokwwf
@ashokwwf - 08.07.2023 14:09

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?

Ответить
@samanthadaroga4811
@samanthadaroga4811 - 08.06.2023 21:53

Quite interesting

Ответить
@MrSahilspm
@MrSahilspm - 26.05.2023 19:40

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

Ответить
@WarrenGuan
@WarrenGuan - 02.05.2023 17:21

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

Ответить
@Phoenixspin
@Phoenixspin - 18.03.2023 00:42

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

Ответить
@karimelhamy8425
@karimelhamy8425 - 11.03.2023 15:56

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

Ответить
@crp7062
@crp7062 - 04.03.2023 13:57

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.

Ответить
@raghuram5446
@raghuram5446 - 29.01.2023 05:19

copy paste kiya app dusara channels se

Ответить
@michaelmaynard9166
@michaelmaynard9166 - 29.01.2023 02:54

What’s the point of the 0*a? It’ll always be 0

Ответить
@nichirenbuddhism
@nichirenbuddhism - 25.01.2023 20:42

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

Ответить
@norbertfranqui
@norbertfranqui - 08.01.2023 01:18

Honestly, I am still not seeing the value of the LAMBDA function or its helpers. It feels like I could have done anything that these functions do in a more intuitive matter. For example, in this case I would have just written the array formula =SUM((--YEAR($A$2:A2)=YEAR(A2))*$B$2:B2) and dragged it down. It seems more intuitive to read later to remember what I was trying to do, and the same thing would go to someone else - I'd have to run every LAMBDA that someone else did myself to understand what the user did (and that it's free of bugs/limitations).

I guess if you have a big workbook that many people use for repetitive tasks, you could develop the formulas for later use, but then people have to remember the function name, and it'd only work on that workbook. The fact it's also auto-extending the formula to the length of data is handy, but having a table in Excel would do the same thing...

Ответить
@rajsahu1029
@rajsahu1029 - 30.11.2022 18:56

Nice function

Ответить
@Jill_Liu
@Jill_Liu - 20.11.2022 02:01

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

Ответить
@Serraomomma
@Serraomomma - 19.11.2022 23:54

You did not say if the excel file you are working on will attach itself to the email prior to send.?

Ответить
@shashankjain9482
@shashankjain9482 - 08.10.2022 16:54

U always have something that i am seeking for.

Ответить
@rubenwelten7300
@rubenwelten7300 - 13.09.2022 00:08

Not feeling super comfy with LAMBDA yet. Although not perfect I managed to find a solution to replace the OFFSET function.
New updated formula would look like this: =SCAN(0,Sales[Sales],LAMBDA(a,b,IF(MONTH(INDEX(Sales[Month],ROW(b)-1))<>1,a+b,b)))

Please let me know if you found a better solution! 😉

Ответить
@Monica-wj5ti
@Monica-wj5ti - 08.08.2022 21:08

You forgot to put the automatic subtitles. Could you please so kind put them?

Ответить
@vasif74
@vasif74 - 23.06.2022 07:13

UDF dead! Long Life to Lambda!

Ответить
@farzinm2870
@farzinm2870 - 12.06.2022 02:51

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

Ответить
@irfandaud7380
@irfandaud7380 - 18.04.2022 11:37

Tried, working , great solution.

Ответить
@xloneclick
@xloneclick - 06.04.2022 15:34

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

Ответить
@jorgebotao9700
@jorgebotao9700 - 17.03.2022 21:48

excellent

Ответить
@rigelabanes699
@rigelabanes699 - 17.03.2022 00:49

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

Ответить
@g.muthukumar
@g.muthukumar - 15.03.2022 01:33

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

Ответить
@balarajen7428
@balarajen7428 - 12.02.2022 09:53

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

Ответить
@kmanoj392
@kmanoj392 - 01.01.2022 19:01

Very good

Ответить
@magnificencetv7424
@magnificencetv7424 - 28.12.2021 20:10

this is more confusing than a number theory seminar at harvard

Ответить
@allistairjoseph8169
@allistairjoseph8169 - 22.12.2021 13:21

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

Ответить
@joeblow9284
@joeblow9284 - 01.12.2021 01:21

Monthly data is horizontal, NOT vertical.

Ответить
@komanguy
@komanguy - 29.11.2021 14:37

Excellent video. Looks like DOSUBS function of my hp48G!

Ответить
@fhdjam
@fhdjam - 26.11.2021 20:20

Why is my excel not recognising the scan function? It doesn't come up.

Ответить
@irajabaly
@irajabaly - 24.11.2021 13:48

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

Ответить
@HoppiHopp
@HoppiHopp - 24.11.2021 12:46

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.

Ответить
@jtmh31
@jtmh31 - 16.11.2021 23:04

Is there any idea of timeframe for this to reach actual Enterprise subscribers? I mentioned this in a response below, that I'm almost to the point of downvoting these types of videos. I love tips; however, tips for functions that aren't even available make no sense. I might as well bookmark this and watch it again in a years time when Microsoft makes it available. Please do not take this as disrespect. I've watched many of your videos that offered great insights to functions and features I can actually use. This does nothing to assist me with my day to day.

Ответить
@Htheory419
@Htheory419 - 12.11.2021 16:42

I am not sure it is simplier but without lambda fonction and (unfortunately?) without Table you can use: SUM(B$2:B2*--(YEAR(A$2:A2)=YEAR(A2)))
with A the column of dates and B the values of sales (or whatever). Without Table you have to drag it till your last line or the entire column ...

Ответить
@deryansyah
@deryansyah - 12.11.2021 13:53

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?

Ответить
@chronis69
@chronis69 - 11.11.2021 21:40

do you really need the a*0 in the OFFSET? why not just give the accumulator b when the year rolls over?

Ответить
@fermbizzfermdiggity6790
@fermbizzfermdiggity6790 - 11.11.2021 18:43

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!

Ответить
@alrahimtajuddin
@alrahimtajuddin - 11.11.2021 14:25

I always use cumulative function all the time. I just want to say this is absolutely ridiculous. there is a very simple way to do cumulative. i always do it like this formula Column B first formula first cell =A1, then in cell B2 you would do =B1+A2 and drag this formula down till where ever you need. Means what kind of ridiculousness is this video!!!!

Ответить
@arraymac227
@arraymac227 - 11.11.2021 06:38

All this effort for +\X , around since the 1960s?

Ответить