You always manage to make the easy thing easy and the difficult thing easy. It always seems easy too. It's magical and brilliant. As always, a real spectacle. Thank you, Victor.
@ExcelMoments14 күн бұрын
Thanks for the kind words. I try my best. If it looks more difficult, then it's probably not worth a video 😀
@weslleyhenrique298914 күн бұрын
Fantastic! Tks for this content.
@ExcelMoments14 күн бұрын
You are welcome
@andrevanroy309914 күн бұрын
Excellent
@ExcelMoments14 күн бұрын
Thanks for the feedback
@williamarthur480114 күн бұрын
I'll have to have a play around with this, I did not know I had Regex , last time I tried to use if was still only in beta. thanks again for all your work.
@ExcelMoments14 күн бұрын
Playing around is a great idea. So many use cases
@chidinduuwaeziozi736014 күн бұрын
Great video, as always!
@chidinduuwaeziozi736014 күн бұрын
However, I was thinking differently. Doesn't the question have to do with the Student Data? I was thinking the question is to get the sum of all subjects for each student and sort it by subject. Like having three columns, the first is the student name, the second is the subject and the third is the scores and having the GROUPBY function return a total for each student.
@ExcelMoments14 күн бұрын
@ The question is to get the total score by subject; if I said it differently in the video, that's on me. Looking at the expected solution in columns D&E, you will see what is expected. What you have suggested could be another problem that we could choose to solve
@hagiasofia617914 күн бұрын
A happy coincidence indeed: a nonviolent way to learn more about REGEX might be to revisit some of the challenges and solve them again by using REGEX. Many thanks for that little push.
@ExcelMoments14 күн бұрын
Sounds like a plan. I have some more REGEX coming up. I trust that they would be useful too
@hagiasofia617913 күн бұрын
@@ExcelMoments Always!
@DataDashPro12 күн бұрын
You are the best and always love and learn soo much from you :)
@ExcelMoments12 күн бұрын
Thanks for the kind words
@nadermounir822813 күн бұрын
Excelleny Video Victor :)
@ExcelMoments13 күн бұрын
Thanks Nadie for your feedback
@JoseAntonioMorato13 күн бұрын
Dear Momoh, I request that you make more videos with examples of regular expressions. Thank you. 🤗
@ExcelMoments13 күн бұрын
@JoseAntonioMorato Thank you, sir. I have made a few already. I will be releasing them in the coming days
@B1897forzajuve12 күн бұрын
Amazing function and a great explanation. I am still struggling with lambdas, so maybe you can explain to me why this lambda does not work. =BYROW(B3:B7,LAMBDA(x,REGEXEXTRACT(x,"[a-z]+|[0-9]+",1,1)))
@ExcelMoments12 күн бұрын
When you use BYROW, the result should be one value/one cell/column for each row, so in this case, your answer should be 1 cell result for B3, 1 for B4 and so on. But the challenge is that your REGEX expression will split each row into multiple columns, e.g., English45Spain-23 will be split into 4 cells (English 45 Spain 23), and that means 4 columns on that row. BYROW can't do that, it needs some form of Aggregation, like a SUM, COUNT, AVERAGE, CONCAT/TEXTJOIN in the case of texts to ensure it is producing one value per row. Difficult to describe using text
@B1897forzajuve12 күн бұрын
@@ExcelMoments Thank you, so much. No, that was a great explanation. I will keep that in mind. BYROW and BYCOLUMN should produce a single cell result.
@ExcelMoments12 күн бұрын
@@B1897forzajuve So, to complete the thought, BYROW should return 1 column and the same number of rows as the source (N x 1), while BYCOL should return 1 row and the same number of columns in the source (1 x N)
@jazzista196712 күн бұрын
Great Example Victor...I have been using groupby and pivotby more often lately . Those regex expressions are pretty powerful . How can you learn how to put the pattern in the formula? Thanks for posting !
@ExcelMoments12 күн бұрын
Do you mean learning more about the REGEX patterns themselves?
@jazzista196712 күн бұрын
yes sir
@ExcelMoments12 күн бұрын
You probably just need a cheat sheet to start getting up to speed on it. For example, media.datacamp.com/legacy/image/upload/v1665049611/Marketing/Blog/Regular_Expressions_Cheat_Sheet.pdf
@jazzista196712 күн бұрын
Thanks. I did not know about this site. Great resource.
@ExcelMoments12 күн бұрын
@@jazzista1967 Just one of so many. You can check all over the internet, you will find so many of them