Tip 5. Thank you! Until now I have made a helper column concatenating the two values I want to match on and using XLOOKUP. I never thought to use the old SUMPRODUCT syntax.
Example 3 in 1 formula: Option 1: =CHOOSE({1;2},XLOOKUP(D38&"*",staff[Name],staff[Name],,2),XLOOKUP(D38&"*",staff[Name],staff[Date of Join],,2)) Option 2: =TRANSPOSE(XLOOKUP(D38&"*",M5:Q39,{1,5},0)) Very good Content.
I always use xlookup.. on all my interview i ask candidate to filter uaing xlookup.if they dont know i teach them... every analyst should know this...xlookup.with concat.. and with if conditions..and isna.... it will be fun ... and easy to use..
Nice Video. Even names of film actors are creative( Rai as Row,Bachan as function ,khan as scan ,kanth as coth,Bill as Fill)... Trick 9 was innovative... CHOOSECOLS was not working in my excel so used index(xlookup(condition),1,{1,5}) then it worked.
Oh my god!! The mocked up data is surely fun to read. Time you invested to get them so humorous definitely needs a praise!! I am liking this salt and pepper look of yours.
Love your informative videos and your humour, Chandoo! 🙂 A third option for trick 7: =TRANSPOSE(XLOOKUP(TRUE,staff[Salary]=MAX(staff[Salary]),staff)) I initially tried with 1 instead of true, but it returned an NA (probably because there's no operation so the TRUE value is not converted into a number)
@chandoo, as always thank you for the videos with awesome knowledge. A suggestion if I may, generally we watch the videos on our free time, not when we are nose deep in work, so what I do is I try to keep a summary of the stuff that I learn from the video in an excel, for easier reference further down the line, where I know I saw a solution, but I am not able to do it fully on my own. so in the case of the wildcards where you did xlookup(1,xxxxx) a few lines of text attached to the downloadable workbook would be very helpful.
Hi Chandoo, ✓ For Example 5 (2 conditions), I used: =XLOOKUP(D67 & D68, staff[Gender] & staff[Job Title], staff[Name]) ✓ For Example 7, inspired by Your previous tricks, I used the following: =TRANSPOSE(XLOOKUP(TRUE, staff[Salary]=MAX(staff[Salary]),staff)) ✓ For Example 9, I used: =CHOOSEROWS(FILTER(staff[Name], staff[Job Title] = D126), 2) ✓ My formula for the challenge (Example 3) was SAME as Your's Truly 😁 =TRANSPOSE(CHOOSECOLS(XLOOKUP(D38 & "*", staff[Name], staff[[Name]:[Date of Join]], , 2), 1, 5)) Best Wishes!
Hey Mr. Candoo (Purna D.), loved your video on XLOOKUP! Quick tip: In math, comparisons with weak inequality ("higher than") often come before "or equal to." So in example 4, "Salary Higher than or equal to..." might be clearer. Thanks for the awesome content!
Excellent video as always, and I just upgraded from Excel 2010 to Excel 2021 which now gives me XLookup. It does not provide the Take function though, so I'm puzzled at how to get just the first row in your Transpose(Take(Sort))) example. I saw where the Offset function can be used in lieu of Take, but though I've used Offset for years creating Dynamic Formulas the old way, I have not figured out the correct formula yet.
Hi Chandoo, This was an excellent video. Given below are my answers (BTW I did not see your solution in the end of the video) Challenge: One formula to get both results =TRANSPOSE(XLOOKUP(D38&"*",staff[Name],CHOOSE({1,2}, staff[Name],staff[Date of Join]),,2)) Alternate Solution for Example 6 to get the two people joined in those dates: =FILTER(staff[Name],(staff[Date of Join]>=D85)*(staff[Date of Join]
Hi sir, a suggestion of one video to you sir, meru Trading Journal Dashboard in Excel, create cheyandi sir, it will be helpful to Traders and Investors along with DA's. Regards, Vin
14:28 I can use filter with max function and then use index to find the guy with max salary assuming there are multiple guys with the same salary or this could be the case with the joining date example as well.
You can. In case of multiple people with max salaries (or anything similar), and you just want to see one of them, you use XLOOKUP as it will be faster than FILTER.
Q3 : =xlookup("John*";Steff[Name];Hstack(Staff[Name];Staff[Date]);;2) 🙂 Btw thanks for all your impressive videos and the editing work is very very appreciate Q7: The sort method is not completly equivalent with the Xlookup. If you have a text in a cell (like "Information missing") the sort fonction gives you tne name of the first instance of the personn with "information missing". Two methods possible with Xlookup :=transpose( xlookup(1E+300;Staff[Salary];Staff;;-1)) or =transpose(1;rank(Staff[salary];Staff[Salary];0);Staff). But Filter will be much better 🙂
Example 5: I have done it with the following formula: =XLOOKUP(D68&D67, staff[Job Title]&staff[Gender], staff[Name],,0) I don't know which one is efficient?
11:43 you didn't give a solution on how to make it return multiple values. Although other parts of the video are fantastic. But Im curious if xlookup can return multiple rows or we need to go the usual Index Large route.
@@adityamohan7366 FILTER in the native "truth" (TRUE) seeker. Can be done but still will need filter, so it's like turning the building if you want to screw in a light bulb.😉
The tricks are very helpful. I tried practising with the dataset provided, but in each and every tricks, I have got #NAME? error. I don't know why. Please help.
Example 5 - the formula "=XLOOKUP(D67&D68,staff[Gender]&staff[Job Title],staff[Name])" is shorter & clearer IMHO Alternate Example 7: " =TRANSPOSE(FILTER(staff,staff[Salary]=MAX(staff[Salary])))"
Tip 5. Thank you! Until now I have made a helper column concatenating the two values I want to match on and using XLOOKUP. I never thought to use the old SUMPRODUCT syntax.
Example 3 in 1 formula:
Option 1: =CHOOSE({1;2},XLOOKUP(D38&"*",staff[Name],staff[Name],,2),XLOOKUP(D38&"*",staff[Name],staff[Date of Join],,2))
Option 2: =TRANSPOSE(XLOOKUP(D38&"*",M5:Q39,{1,5},0))
Very good Content.
Thanks for sharing it is very handy for users not having choosecols
What a Rock Star you are!
I always use xlookup.. on all my interview i ask candidate to filter uaing xlookup.if they dont know i teach them... every analyst should know this...xlookup.with concat.. and with if conditions..and isna.... it will be fun ... and easy to use..
Nice Video. Even names of film actors are creative( Rai as Row,Bachan as function ,khan as scan ,kanth as coth,Bill as Fill)... Trick 9 was innovative... CHOOSECOLS was not working in my excel so used index(xlookup(condition),1,{1,5}) then it worked.
Thank you! Now I won't have to concatenate multiple columns to create a key to match up my data. Your videos are always SO helpful!
Oh my god!! The mocked up data is surely fun to read. Time you invested to get them so humorous definitely needs a praise!! I am liking this salt and pepper look of yours.
Chandu garu clear ga baga chuputunaru
Love your informative videos and your humour, Chandoo! 🙂
A third option for trick 7: =TRANSPOSE(XLOOKUP(TRUE,staff[Salary]=MAX(staff[Salary]),staff))
I initially tried with 1 instead of true, but it returned an NA (probably because there's no operation so the TRUE value is not converted into a number)
Highest Salary Q7 = TRANSPOSE(FILTER(staff,staff[Salary]=MAX(staff[Salary])))
@chandoo, as always thank you for the videos with awesome knowledge. A suggestion if I may, generally we watch the videos on our free time, not when we are nose deep in work, so what I do is I try to keep a summary of the stuff that I learn from the video in an excel, for easier reference further down the line, where I know I saw a solution, but I am not able to do it fully on my own.
so in the case of the wildcards where you did xlookup(1,xxxxx) a few lines of text attached to the downloadable workbook would be very helpful.
The names in the data are AWESOME.
Hi Chandoo,
✓ For Example 5 (2 conditions), I used:
=XLOOKUP(D67 & D68, staff[Gender] & staff[Job Title], staff[Name])
✓ For Example 7, inspired by Your previous tricks, I used the following:
=TRANSPOSE(XLOOKUP(TRUE, staff[Salary]=MAX(staff[Salary]),staff))
✓ For Example 9, I used:
=CHOOSEROWS(FILTER(staff[Name], staff[Job Title] = D126), 2)
✓ My formula for the challenge (Example 3) was SAME as Your's Truly 😁
=TRANSPOSE(CHOOSECOLS(XLOOKUP(D38 & "*", staff[Name], staff[[Name]:[Date of Join]], , 2), 1, 5))
Best Wishes!
FILTER supremacy. ❤❤
hats off Bro!!! My Skills now from 🚲to 🚀😆😆
You are looking Rock Star ⭐⭐⭐⭐⭐
Hey Mr. Candoo (Purna D.), loved your video on XLOOKUP! Quick tip: In math, comparisons with weak inequality ("higher than") often come before "or equal to." So in example 4, "Salary Higher than or equal to..." might be clearer. Thanks for the awesome content!
Thanks for the tip. I will keep it in mind next time I use that.
Excellent video as always, and I just upgraded from Excel 2010 to Excel 2021 which now gives me XLookup. It does not provide the Take function though, so I'm puzzled at how to get just the first row in your Transpose(Take(Sort))) example.
I saw where the Offset function can be used in lieu of Take, but though I've used Offset for years creating Dynamic Formulas the old way, I have not figured out the correct formula yet.
The clarity. Thank you Chandoo.
You're most welcome
The names in the table has me in stitches😂🤣, This is very impactful as always, Thank you Chandoo👍
Hi Chandoo,
This was an excellent video.
Given below are my answers (BTW I did not see your solution in the end of the video)
Challenge: One formula to get both results
=TRANSPOSE(XLOOKUP(D38&"*",staff[Name],CHOOSE({1,2}, staff[Name],staff[Date of Join]),,2))
Alternate Solution for Example 6 to get the two people joined in those dates:
=FILTER(staff[Name],(staff[Date of Join]>=D85)*(staff[Date of Join]
Anna
Best video when compared to your old videos.
But SQL course 50 queries daggara aagipoindi.
Please explain in Telugu channel also.
Great videos 📹 👌 👏 👍. How long do these videos take to put it together?
Another rockin' video. Thanks Chandoo!
Excellent..🎉 Cool look 😎
Hi sir, a suggestion of one video to you sir, meru Trading Journal Dashboard in Excel, create cheyandi sir, it will be helpful to Traders and Investors along with DA's.
Regards,
Vin
Dear sir please bring video tutorial on data cleaning on Excel to get deep knowledge of it.
@Chandoo how to apply x lookup or vlookup while looking for data between multiple sheets?
X-cellent thanks Chandoo!
Amazing, thanks...
14:28 I can use filter with max function and then use index to find the guy with max salary assuming there are multiple guys with the same salary or this could be the case with the joining date example as well.
You can. In case of multiple people with max salaries (or anything similar), and you just want to see one of them, you use XLOOKUP as it will be faster than FILTER.
Great Video Chandoo!!! Thanks :) :)
That video was GOLD! thanks!! (love the names ;) )
Hello 👋👋👋👋👋👋👋 Sir
Which Version are you using please tell me Sir......
I am using Excel 365 in this video.
Excellent Chandoo
Thank You Sir
This is brilliant 😎👊
Excelente video como siempre, muchísimas gracias
You are awesome !!!
Rocking 👍
Hi Chandoo... looking TAPORI😂
but great help as usual...
Thank you Chandoo!
Any time
Q3 : =xlookup("John*";Steff[Name];Hstack(Staff[Name];Staff[Date]);;2) 🙂
Btw thanks for all your impressive videos and the editing work is very very appreciate
Q7: The sort method is not completly equivalent with the Xlookup. If you have a text in a cell (like "Information missing") the sort fonction gives you tne name of the first instance of the personn with "information missing".
Two methods possible with Xlookup :=transpose( xlookup(1E+300;Staff[Salary];Staff;;-1)) or =transpose(1;rank(Staff[salary];Staff[Salary];0);Staff).
But Filter will be much better 🙂
Great use of HSTACK...
Of course, if your data has missing or incorrect values, sorting alone can't help.
Great 😃👍
Example 5:
I have done it with the following formula:
=XLOOKUP(D68&D67, staff[Job Title]&staff[Gender], staff[Name],,0)
I don't know which one is efficient?
Impressive video sir
Th😊nks
Thank you Chandoo. I needed a good laugh and some great analysis tips today.
This was a fantastic learning experience how to use formulas and It will add value to my life
Great, this is amazing
That was ROCK, Master ;-)
I love your Humor!!! Awesome entertaining premium content 😊 Thank you, Chandoo!
You are welcome Philip...
Very nice video, well done
What an into Chandoo Bhai. ❤
11:43 you didn't give a solution on how to make it return multiple values. Although other parts of the video are fantastic. But Im curious if xlookup can return multiple rows or we need to go the usual Index Large route.
=FILTER(staff[Name],(staff[Date of Join]>=--"20-Mar-22")*(staff[Date of Join]
@@Excelambda this works. But do you know if we can still do it with Xlookup??
@@adityamohan7366 FILTER in the native "truth" (TRUE) seeker. Can be done but still will need filter, so it's like turning the building if you want to screw in a light bulb.😉
That was Trick #10 - the FILTER option.
Perfect!
The tricks are very helpful. I tried practising with the dataset provided, but in each and every tricks, I have got #NAME? error. I don't know why. Please help.
May be you misspelled something or you don't have xlookup.
Great video!!
Binary search can save lives when comes to speed , for sorted sets.
Anyhow, the best XLOOKUP trick is the FILTER 😂✌
😂
Can we use Max formula for getting person with highest salary with Xlook up
You can :)
You've just answered SOOOO many of my questions in one go! Fantastic job, and loved the funny names too! ♥
Amazing thumbnail 😂
Glad you think so. I had so much fun shooting this video and making the thumbnail + edits.
You rock Chandoo 🤙
One like for your entry 🎉
Nice look style and cool beard
the way he wrote actors, politician and cricketer's name 🤣
Happy Diwali
Sir
Which version of excel are you using Please comment
I use Excel 365 in most of my videos. XLOOKUP is only available in 365 or Excel on Web.
I can tell you are working on your guitar tracks..
Thanks, Chandoo. Awesome work.
Good,One friendly advice,don't overuse visual effects. !!
Thank you. What part of the visual effects in the video felt overused to you?
Excellent content, as always :)
hilarious names 🤣😂
How are you keeping a straight face and not cracking up reading the names, like what the heck is Shahrukh scan, choosevelt?!!!😭😭😭😭😭
Thanks, Chandoo. It still amazes me that I can be on the complete opposite side of the world and get notified within 15 seconds!
Example 5 - the formula "=XLOOKUP(D67&D68,staff[Gender]&staff[Job Title],staff[Name])" is shorter & clearer IMHO
Alternate Example 7: " =TRANSPOSE(FILTER(staff,staff[Salary]=MAX(staff[Salary])))"
Le me who uses office 2007 😀🙃
I missed XLOOKUP inside XLOOKUP.
Example no 5 does not work in excel
🤣🤣🤣🤣🤣🤣
The video is not clear
5. =XLOOKUP($D$67&$D$68,staff[Gender]&staff[Job Title],staff[Name])