Small token of appreciation. Several views lately and almost always save to my excel playlist. And you’re so entertaining as well. Even a rugby reference in a video!
THANK YOU!! So many accounting softwares extract ledgers like this (with account heads between dates) and it has been so frustrating until now. This is REALLY helpful!
Great video!!✌ To solve with a formula: =LET(ar,A2:D196,h,A1:D1,d,A2:A196,f,D2:D196, a,IF(ar="","",ar),s,SEQUENCE(ROWS(a)), x,f="", k,XLOOKUP(s,FILTER(s,x),FILTER(d,x),,1), VSTACK(h,FILTER(HSTACK(a,k),NOT(x)))) And dates are dates (numeric), and room numbers , numbers, so we can do other filtering etc
Forgot to name the last column: =LET(ar,A2:D196,h,A1:D1,d,A2:A196,f,D2:D196,t,"Text Value", a,IF(ar="","",ar),s,SEQUENCE(ROWS(a)), x,f="", k,XLOOKUP(s,FILTER(s,x),FILTER(d,x),,1), IFNA(VSTACK(h,FILTER(HSTACK(a,k),NOT(x))),t))
Great approach for people trying to transition to power query and later on dax. I loved how you gave the1st option for excel beginners as well as 2nd one for intermediate learners. Cant wait to see how will you transition to simple dax!!!!!
You are welcome Tina. The rule when it comes to DAX is simple. Try to solve data problems first with SQL / Power Query or other source systems. If you try to develop DAX solution for this problem, you will do a lot of unnecessary stuff.
@@chandoo_ thank you Chandoo!!! I agree regarding power query - dont know how to start w swl really. For dax - maybe you could create sime simple intro to creating formula and writing code here - if you see the need. Not necessarily for this case but maybe other use cases.
This is great!! I'm also looking for a formula for the following: This is my issue: I need to keep my employees at 40 hours a week. So if on Thursday I do the time cards and let's say Monday thru Wednesday they are at 30 hours already. Assuming that on Thursday they will do 8 hours and they will only have 2 hours left for Friday; at what time on Friday they will go home when they get to 40 hours? So the formula that I need is: Accumulated hours ➕️ today's 8 hours; hours left for Friday equals at what time he will go home on friday.. Help!
You are welcome CDWU. You can use a formula like this to see how many hours they will have for Friday. =MIN(8, MAX(32-hourssofar, 0)) You can then add that to starting time to see what time the employee can leave on Friday.
Hi. Chando. Let's do your 2nd technique with an another simply solution. Firstly please add a column at the beginning of the page. you will scroll your columns. i mean your A column will be your B column. i don't know but CTRL+R didn't work while our single values in column A. i can reference cells better with this :) 1) filter blank cells from C,D or E columns. 2) choose your values from B column, and choose cells from F column in the same range. 3) Then press CTRL + R. 4)Then remove the filter. and refilter your values instead of blank cells from column C, D or E. 5) write "=F3", in cell F2 and scroll it down. And ta taaa :)
Hey Chandoo, Thank you for the great work you do and for your videos that are beyond helpful. I have a problem that maybe you can solve. If I wanted to sort quarterly dates in the format of 1Q22 (quarter, quarter letter indicator, year) from earliest to latest, how would you go about it?
You are welcome Miguel. If you just have text values of 1Q22, 2Q22, 1Q21, 3Q20, etc. in a column, you can use this formula (Excel 365). =SORTBY(data, RIGHT(data,2)+0, LEFT(data,1)+0) But a better option would be to extract the Q & Year and then use Sort options and set up two level sorting if it is a one off thing.
@@chandoo_ Super cool!! But what is "range" ?? If in B2 we set the "sentence" we want to "split" then range should be an empty string "" like in: =TRIM(REDUCE("", MID(B2,SEQUENCE(LEN(B2)),1),LAMBDA(a,v,a&IF(EXACT(v,UPPER(v))," "&v,v)))) This works fine for a single cell. My "range" can be column/row vectors or 2D arrays 😉 Your idea with EXACT is to be used if we have unusual capital letters like Ñ or others that are not found in an usual alfabet. So, embracing your idea with EXACT, a bullet proof formula that will work with any chars and also handling 2D arrays can be: =MAP(range,LAMBDA(x,LET(m,MID(x,SEQUENCE(LEN(x)),1),TRIM(TEXTJOIN("",,IF(EXACT(m,UPPER(m))," "&m,m)))))) For a single cell, everything that is after LAMBDA can work as a formula, no REDUCE needed =LET(x,B2,m,MID(x,SEQUENCE(LEN(x)),1),TRIM(TEXTJOIN("",,IF(EXACT(m,UPPER(m))," "&m,m)))) So , team work won. Half of donut to you. ✌😉
@@chandoo_ - I use various computing codes prepare reports but nothing can compete with excel when it comes to user friendly funtions! Excel team has done a great work in last 2-3 years!
Very valuable content on your you tube. I have an data of 1000 rows and 500 column and want to modify the data of random 200 rows ..i am filtering 200 rows using normal filter manually...is there any alternative to select 200 rows quickly ?
Hi Chandoo, I want to Your help, in my current role, I am facing lack of store produce issue, please tell me, where will I learn more Advanced Store produce ? Swift response
Hey Chandoo, Hope you're doing well... I have around 1K of Google Maps hyperlinks in my excel file from which I must extract the latitude and longitude of each. Considering that there are thousands, it can be quite challenging to do it manually... In any future video or in the comments, if you would be so kind as to share any formulas or tricks, that would be great. Thanks...
You can use the TEXTSPLIT() function (new in Excel 365) for these kinds of tasks or Power Query. I suggest learning a bit more about PQ using this video - th-cam.com/video/PiFAa_jjaEI/w-d-xo.html
What if there are dates (text datatype), instead of some words in the date column .. and there might not be any blank cells.. How to solve this .. ???? Is it must to use SQL for this or can we do it by using EXCEL OR POWER BI
Hi Chandoo !! I need help in creating a macro which can combine data from different tabs in one. However the header keep changing for files. Sometime it will have header in 2 rows sometime in 3. I want to write a macro which will check how many rows are header and from next row it will copy the data and paste in the main sheet with same header format. Please help.
Chandoo, in your conditional column, what does it mean when you select Output of Date? I am confused by this since date isn't the actual output in the conditional column. I hope you see this and respond...many thanks!
Hi Chandoo , seen your so many videos and it's very inspiring and informative for new commers .... It will be helpful if you could help me out with one problem or any experts viewers most welcome. I'm facing the weird issue , a client sent me file which has a its own theme but when I try to open same in my pc themes is getting changed to default automatically. Any suggestions how to stop default theme and keep the theme to client one🙇🙏
You are welcome Amit. I have never noticed this kind of issue. I suggest posting about it on a forum like the official Microsoft help site or stackoverflow.
I haven't tried it with blanks. But as far as I know, I think it just reads nulls and replaces them with the value from below. Kind of like bfill and ffill in Python Pandas.
Hello Chandoo. I follow your YT videos these are very informative. I have a unique problem in power bi. In which I want to calculate date from a date column by user input parameter. But that column doesn't get updated when I change user input parameter. Can you tell me how I can resolve this.
@@chandoo_ can you offer any assignments because my passion to become a data analyst and now I am work on it but I don't no how to implement all that I have learned so please help me to give any assignments like that chandoo bro
Thanks SR. That is ok. My courses are not for everyone. I believe knowledge should be free. But my bank says free videos are not an acceptable form of payment for mortgage. So I charge for some of my content.
I can’t believe he used personally identifiable data here. These are real people with real hotel stay dates. This has to be a violation of privacy or law. You should take this video (which is an excellent video btw) down and change the names in the data and reupload a new video
He is a professional, definitely he used fake data. There are a lot of random list generators engines online for names and almost any type of data. Hint: When names and surnames of same person look like they are from distinct cultures roots it is obvious that are random generated names.
Just checking... Do you want to see a Pandas tutorial on how to clean this data? Like the comment if you want to.
That's awesome
Looking forward 👌🏻
YES, definitely
yes, this is some next level for data analytics videos well done
Yes please
Small token of appreciation. Several views lately and almost always save to my excel playlist. And you’re so entertaining as well. Even a rugby reference in a video!
Hey @Hopspowered... thanks for that lovely gesture and appreciation of my work. 😍
I am lucky to have a teacher like you. keep up the good work.
I never comment on any YT video, but your videos are really interesting and informative. Kudos to such content and Thanks for this
I appreciate that!
2nd solution is awesome, I was thinking how data can be retained while it is being removed 😀.
I am glad you liked to Nirmal :)
I was familiar with the first technique but today I learned the second technique. I'm becoming awesome. Thanks Sir
Excellent
THANK YOU!! So many accounting softwares extract ledgers like this (with account heads between dates) and it has been so frustrating until now. This is REALLY helpful!
Hi Chandoo, Thanks a lot. i was looking for this solution and found this video by God's grace. Excellent, Appreciate it Bro.
I might have not done this using power query [might have used fiters and delete]......a really nice application. 👍
Hi Chandoo,I love 2nd technique .This will my life easy than before.Thank you very much.
Just started my journey into data analytics, thanks for these really interesting/intuitive videos!!
Learned power query from you and will keep learning from you. Boom
More power to you Arun ⚡
Great video!!✌
To solve with a formula:
=LET(ar,A2:D196,h,A1:D1,d,A2:A196,f,D2:D196,
a,IF(ar="","",ar),s,SEQUENCE(ROWS(a)),
x,f="",
k,XLOOKUP(s,FILTER(s,x),FILTER(d,x),,1),
VSTACK(h,FILTER(HSTACK(a,k),NOT(x))))
And dates are dates (numeric), and room numbers , numbers, so we can do other filtering etc
Forgot to name the last column:
=LET(ar,A2:D196,h,A1:D1,d,A2:A196,f,D2:D196,t,"Text Value",
a,IF(ar="","",ar),s,SEQUENCE(ROWS(a)),
x,f="",
k,XLOOKUP(s,FILTER(s,x),FILTER(d,x),,1),
IFNA(VSTACK(h,FILTER(HSTACK(a,k),NOT(x))),t))
Good one... 😎
Great approach for people trying to transition to power query and later on dax. I loved how you gave the1st option for excel beginners as well as 2nd one for intermediate learners. Cant wait to see how will you transition to simple dax!!!!!
You are welcome Tina. The rule when it comes to DAX is simple. Try to solve data problems first with SQL / Power Query or other source systems. If you try to develop DAX solution for this problem, you will do a lot of unnecessary stuff.
@@chandoo_ thank you Chandoo!!! I agree regarding power query - dont know how to start w swl really. For dax - maybe you could create sime simple intro to creating formula and writing code here - if you see the need. Not necessarily for this case but maybe other use cases.
easy but yet very valuable. thannk you
You are welcome Khalid.
Amazing solution!! How to text.combine for only single column e.g. QnA in multiple rows separated by ? Delimiter (Q ends with?)
good tips on data cleaning, Can't wait to apply this knowledge practically.. 👌🏻
You are welcome :)
Great video as always! Thanks Chandoo!
Glad you enjoyed it Chris.
Sir u don't need go to special. Just simply apply filter and choose blanks and press ctrl+ - boom.
😍 Love it.
@@chandoo_ is this sarcastic reply 😃😃
This is great!!
I'm also looking for a formula for the following:
This is my issue: I need to keep my employees at 40 hours a week. So if on Thursday I do the time cards and let's say Monday thru Wednesday they are at 30 hours already. Assuming that on Thursday they will do 8 hours and they will only have 2 hours left for Friday; at what time on Friday they will go home when they get to 40 hours?
So the formula that I need is:
Accumulated hours ➕️ today's 8 hours; hours left for Friday equals at what time he will go home on friday..
Help!
You are welcome CDWU.
You can use a formula like this to see how many hours they will have for Friday.
=MIN(8, MAX(32-hourssofar, 0))
You can then add that to starting time to see what time the employee can leave on Friday.
Hi. Chando. Let's do your 2nd technique with an another simply solution.
Firstly please add a column at the beginning of the page. you will scroll your columns. i mean your A column will be your B column. i don't know but CTRL+R didn't work while our single values in column A. i can reference cells better with this :)
1) filter blank cells from C,D or E columns.
2) choose your values from B column, and choose cells from F column in the same range.
3) Then press CTRL + R.
4)Then remove the filter. and refilter your values instead of blank cells from column C, D or E.
5) write "=F3", in cell F2 and scroll it down.
And ta taaa :)
Good one. 😎
Great!!! Thank you Chandoo!
एक्सीलेंट tricks 👍👍
Great stuff, Chandoo!
You are welcome Jeremy :)
Nice to learn 🙏
Amazing stuff 🎉!
Thank you Chandoo 🙏
You are welcome Saviss.
As always awesome!!
your content is good always.thanks
Glad you think so!
Hey Chandoo,
Thank you for the great work you do and for your videos that are beyond helpful. I have a problem that maybe you can solve. If I wanted to sort quarterly dates in the format of 1Q22 (quarter, quarter letter indicator, year) from earliest to latest, how would you go about it?
You are welcome Miguel. If you just have text values of 1Q22, 2Q22, 1Q21, 3Q20, etc. in a column, you can use this formula (Excel 365).
=SORTBY(data, RIGHT(data,2)+0, LEFT(data,1)+0)
But a better option would be to extract the Q & Year and then use Sort options and set up two level sorting if it is a one off thing.
Thanks, Chandoo! Question: HowWouldYouAddSpacesAtCapitalLetters?
In Power Query, you can split text when the case changes. You can then "merge" these columns with space as delimiter.
A formula, that works for any array/range:
=REDUCE(range,CHAR(SEQUENCE(26,,65)),LAMBDA(v,x,TRIM(SUBSTITUTE(v,x," "&x))))
Good one. Donut for you 🍩
One more I come up with...
=TRIM(REDUCE("", MID(B2,SEQUENCE(LEN(B2)),1),LAMBDA(a,v,a&IF(EXACT(v,UPPER(v))," "&v,v))))
@@chandoo_ Super cool!! But what is "range" ??
If in B2 we set the "sentence" we want to "split" then range should be an empty string "" like in:
=TRIM(REDUCE("", MID(B2,SEQUENCE(LEN(B2)),1),LAMBDA(a,v,a&IF(EXACT(v,UPPER(v))," "&v,v))))
This works fine for a single cell.
My "range" can be column/row vectors or 2D arrays 😉
Your idea with EXACT is to be used if we have unusual capital letters like Ñ or others that are not found in an usual alfabet. So, embracing your idea with EXACT, a bullet proof formula that will work with any chars and also handling 2D arrays can be:
=MAP(range,LAMBDA(x,LET(m,MID(x,SEQUENCE(LEN(x)),1),TRIM(TEXTJOIN("",,IF(EXACT(m,UPPER(m))," "&m,m))))))
For a single cell, everything that is after LAMBDA can work as a formula, no REDUCE needed
=LET(x,B2,m,MID(x,SEQUENCE(LEN(x)),1),TRIM(TEXTJOIN("",,IF(EXACT(m,UPPER(m))," "&m,m))))
So , team work won. Half of donut to you. ✌😉
My bad. Should have been REDUCE("" instead of REDUCE(range...
and yeah, I never eat half a donut. 😂
Ty chandoo, love u
😍😍😍
Omg thank u! This is so useful!
Glad it was helpful!
@@chandoo_ - I use various computing codes prepare reports but nothing can compete with excel when it comes to user friendly funtions! Excel team has done a great work in last 2-3 years!
YES!!!
Nice one. Thanks!!
Very valuable content on your you tube.
I have an data of 1000 rows and 500 column and want to modify the data of random 200 rows ..i am filtering 200 rows using normal filter manually...is there any alternative to select 200 rows quickly ?
Wow, Your video help me a lot :)
Thanks Elfrid.
Crazy tip
IT IS!!!
Love this!!
😎😎😎
Hi Chandoo,
I want to Your help, in my current role, I am facing lack of store produce issue, please tell me, where will I learn more Advanced Store produce ? Swift response
Not sure what you mean by "store produce". If you meant stored procedures, I am not the person to help. I don't use them.
Hey Chandoo,
Hope you're doing well...
I have around 1K of Google Maps hyperlinks in my excel file from which I must extract the latitude and longitude of each. Considering that there are thousands, it can be quite challenging to do it manually...
In any future video or in the comments, if you would be so kind as to share any formulas or tricks, that would be great.
Thanks...
You can use the TEXTSPLIT() function (new in Excel 365) for these kinds of tasks or Power Query. I suggest learning a bit more about PQ using this video - th-cam.com/video/PiFAa_jjaEI/w-d-xo.html
What if there are dates (text datatype), instead of some words in the date column .. and there might not be any blank cells..
How to solve this .. ????
Is it must to use SQL for this or can we do it by using EXCEL OR POWER BI
Hi Chandoo !!
I need help in creating a macro which can combine data from different tabs in one. However the header keep changing for files.
Sometime it will have header in 2 rows sometime in 3.
I want to write a macro which will check how many rows are header and from next row it will copy the data and paste in the main sheet with same header format.
Please help.
Awesome 👌
🔥🔥🔥
Chandoo, in your conditional column, what does it mean when you select Output of Date? I am confused by this since date isn't the actual output in the conditional column. I hope you see this and respond...many thanks!
Thanks for your question. The "Date" is just a placeholder for us to know which rows have dates and which ones don't.
Hi Chandoo , seen your so many videos and it's very inspiring and informative for new commers .... It will be helpful if you could help me out with one problem or any experts viewers most welcome. I'm facing the weird issue , a client sent me file which has a its own theme but when I try to open same in my pc themes is getting changed to default automatically.
Any suggestions how to stop default theme and keep the theme to client one🙇🙏
You are welcome Amit. I have never noticed this kind of issue. I suggest posting about it on a forum like the official Microsoft help site or stackoverflow.
@@chandoo_ Thank you very much for reply ❤️😊
I am French teacher , how I use French mix up with Ms Excel to get freelancing job
will you please give a suggestion for me
How fill up works. Will it reads the unique value as null and fills up. Can it be blank instead of null and will it works still.
I haven't tried it with blanks. But as far as I know, I think it just reads nulls and replaces them with the value from below. Kind of like bfill and ffill in Python Pandas.
Thank you 🙏
😍
Danke!
😍😍😍
Genuis! 👏
Hello Chandoo. I follow your YT videos these are very informative. I have a unique problem in power bi. In which I want to calculate date from a date column by user input parameter. But that column doesn't get updated when I change user input parameter. Can you tell me how I can resolve this.
Hi Omkar.. the column calculations don't update in runtime. They are calculated and set in model at the time of creation.
Superb. Learned something new!
It is awesome.
Great!
Awesome
Super
But company row are still get some blank value
That is expected as not all hotel bookings will be for companies.
@@chandoo_ can you offer any assignments because my passion to become a data analyst and now I am work on it but I don't no how to implement all that I have learned so please help me to give any assignments like that chandoo bro
Hello chandooo
Hello Art
You are awesome in excel , but your courses are too costly :D :D
Thanks SR. That is ok. My courses are not for everyone. I believe knowledge should be free. But my bank says free videos are not an acceptable form of payment for mortgage. So I charge for some of my content.
@@chandoo_ yes you should charge for your expertise
Can you help me with cleaning data. Where can I ping you???
I am not available for any 1:1 help Reza. Please post your questions in a forum.
🤯
Chandoo please don't ruin your videos with memes 😥
Hmm.. what is so ruinous about a joke or two? This is how most of my videos (and even articles) have been.
I can’t believe he used personally identifiable data here. These are real people with real hotel stay dates. This has to be a violation of privacy or law. You should take this video (which is an excellent video btw) down and change the names in the data and reupload a new video
He is a professional, definitely he used fake data. There are a lot of random list generators engines online for names and almost any type of data. Hint: When names and surnames of same person look like they are from distinct cultures roots it is obvious that are random generated names.
Thanks for your concern. This data is randomly made up. Why would you think these are real people.