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.
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)
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.
@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.
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..
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 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
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!
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]
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.
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])))"
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 🙂
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.
What a Rock Star you are!
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
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.
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!
Another rockin' video. Thanks Chandoo!
Great Video Chandoo!!! Thanks :) :)
That video was GOLD! thanks!! (love the names ;) )
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)
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.
@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 table has me in stitches😂🤣, This is very impactful as always, Thank you Chandoo👍
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..
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.
X-cellent thanks Chandoo!
Excellent..🎉 Cool look 😎
Highest Salary Q7 = TRANSPOSE(FILTER(staff,staff[Salary]=MAX(staff[Salary])))
This is brilliant 😎👊
The clarity. Thank you Chandoo.
You're most welcome
That was ROCK, Master ;-)
You've just answered SOOOO many of my questions in one go! Fantastic job, and loved the funny names too! ♥
hats off Bro!!! My Skills now from 🚲to 🚀😆😆
The names in the data are AWESOME.
You are looking Rock Star ⭐⭐⭐⭐⭐
Excellent Chandoo
You are awesome !!!
FILTER supremacy. ❤❤
Hi Chandoo... looking TAPORI😂
but great help as usual...
Chandu garu clear ga baga chuputunaru
Thank you Chandoo. I needed a good laugh and some great analysis tips today.
Great videos 📹 👌 👏 👍. How long do these videos take to put it together?
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.
Very nice video, well done
Hello 👋👋👋👋👋👋👋 Sir
Which Version are you using please tell me Sir......
I am using Excel 365 in this video.
Excelente video como siempre, muchísimas gracias
I love your Humor!!! Awesome entertaining premium content 😊 Thank you, Chandoo!
You are welcome Philip...
Thanks, Chandoo. It still amazes me that I can be on the complete opposite side of the world and get notified within 15 seconds!
Anna
Best video when compared to your old videos.
But SQL course 50 queries daggara aagipoindi.
Please explain in Telugu channel also.
Impressive video sir
Great, this is amazing
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
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!
Amazing, thanks...
Great 😃👍
Excellent content, as always :)
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]
Rocking 👍
Dear sir please bring video tutorial on data cleaning on Excel to get deep knowledge of it.
You rock Chandoo 🤙
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.
@Chandoo how to apply x lookup or vlookup while looking for data between multiple sheets?
Thanks, Chandoo. Awesome work.
For tip number 5, you can just actually use "&" for referring cell. Example:
=XLOOKUP(d7&d8,staff[gender]&staff[job title],staff[name])
Thank you Chandoo!
Any time
What an into Chandoo Bhai. ❤
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?
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.
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.
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.
Nice look style and cool beard
Can we use Max formula for getting person with highest salary with Xlook up
You can :)
Great video!!
Binary search can save lives when comes to speed , for sorted sets.
Anyhow, the best XLOOKUP trick is the FILTER 😂✌
😂
Perfect!
This was a fantastic learning experience how to use formulas and It will add value to my life
Thank You Sir
Amazing thumbnail 😂
Glad you think so. I had so much fun shooting this video and making the thumbnail + edits.
Th😊nks
Good,One friendly advice,don't overuse visual effects. !!
Thank you. What part of the visual effects in the video felt overused to you?
Happy Diwali
One like for your entry 🎉
the way he wrote actors, politician and cricketer's name 🤣
I can tell you are working on your guitar tracks..
hilarious names 🤣😂
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])))"
Example no 5 does not work in excel
How are you keeping a straight face and not cracking up reading the names, like what the heck is Shahrukh scan, choosevelt?!!!😭😭😭😭😭
Le me who uses office 2007 😀🙃
I missed XLOOKUP inside XLOOKUP.
🤣🤣🤣🤣🤣🤣
The video is not clear
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 🙂
Great use of HSTACK...
Of course, if your data has missing or incorrect values, sorting alone can't help.
5. =XLOOKUP($D$67&$D$68,staff[Gender]&staff[Job Title],staff[Name])