I don't use VLOOKUP anymore. I use this instead....
HTML-код
- Опубликовано: 7 авг 2024
- 💥Get my XLOOKUP course & master this function 👉 chandoo.org/wp/lookups-for-da...
VLOOKUP is the most used Excel function out there. But here is a secret. I no longer use it!!!
That is right. I broke up with VLOOKUP.
I use XLOOKUP now. It is a new function in Excel 365.
So in this video, let me introduce you to my new crush 😍 - The XLOOKUP.
In this video, learn all about:
👉 What is XLOOKUP and how it's better than VLOOKUP
👉 Using XLOOKUP in business situations
👉 Errors & XLOOKUP (if not found option)
👉 XLOOKUP with tabular data
👉 Wildcard (pattern) matching with XLOOKUP
👉 Returning multiple values with XLOOKUP
👉 XLOOKUP vs. HLOOKUP
Video topics ⏱👇
==============
0:00 - VLOOKUP & XLOOKUP - Quick examples
2:13 - Difference between VLOOKUP & XLOOKUP
2:30 - Using XLOOKUP instead of INDEX + MATCH
3:32 - Dealing with Errors (#N/A) using XLOOKUP
4:57 - XLOOKUP with Tabular Data (tables)
5:40 - Wild card (pattern matching) with XLOOKUP
7:40 - Returning multiple values with XLOOKUP
9:10 - XLOOKUP works horizontally too!!!
Example file (with many many XLOOKUPs) 🟩👉
=======================================
Here is a sample file with many many XLOOKUP examples - chandoo.org/wp/wp-content/upl...
If you want more, check out this article: chandoo.org/wp/xlookup-examples/
Or join my mini-course on various lookup functions in Excel here - skl.sh/3hbR49d
Watch next 👨💻👩💻👉
================
FILTER function - • I don’t use filters in...
Spill Behaviour in Excel (# operator) - • Excel Dynamic Arrays a...
VLOOKUP explained - • Excel VLOOKUP - Compl...
INDEX+MATCH explained - • Excel's INDEX + MATCH ...
#excel #xlookup
~
What does Charles Xavier use to find mutants?
XLOOKUP of course 🤣 - Наука
Great video!!
Still VLOOKUP is versatile when it comes to column indexes.
For example, in "XLOOKUP (table)" spreadsheet, if we set in the range C5:F5 : Name, Start date, Salary, Department, to extract the values corresponding to those columns we can use in C7:
=VLOOKUP(C6,staff,XMATCH(C5:F5,staff[#Headers]))
or
=VLOOKUP(C6,staff,{2,6,5,4})
That is a GREAT tip... Donut for you Exceλambda 🍩
I normally don't mind breaking such lookups in to separate formulas. If I am trying to combine two tables, I always try the "table relationships" or "power query" first before even considering any lookups.
What if the date has 2 employees joined.
Will xlookup show both? Or just the first one?
Just the first one. You need to use FILTER or something else to get all matches. See this video - ruclips.net/video/ma7u0sUIM-A/видео.html
@@sandeeepkiran1130 Hi, like Chandoo said, we can use FILTER, do this little experiment, set these values in the following ranges:
A1:A6 B1:B6 D1:D2
a 1 b
b 2 c
b 3
c 4
c 5
d 6
Lookup vector (lv) D1:D2, lookup array (la) A1:A6 (has dups) , return array (ra) B1:B6 (can be any array with more than 1 clm)
- formula similar to xlookup functionality in B8 or anywhere:
=FILTER(B1:B6,ISNUMBER(XMATCH(A1:A6,D1:D2)))
- or define a lambda that does the lookup: Duplicate Xlookup: DXL(lv,la,ra)
=LAMBDA(lv,la,ra,FILTER(ra,ISNUMBER(XMATCH(la,lv))))
-call
=DXL(D1:D2,A1:A6,B1:B6)
Both, formula and function will extract the corresponding sections of "ra" for all matches with duplicates or not.
Hope that helps.✌😉
No need to say that this concept works also for arrays oriented horizontally. The only rule, since we use also XMATCH in the construction, both lookup vector and lookup array (lv and la) should be 1D arrays, no matter if they are horiz or vert.
I agree Chandoo. Once XLOOKUP came out, I haven't used VLOOKUP since. Great video
The brave new world... XLOOKUP and FILTER changed the way I approach my spreadsheets now.
This is fantastic! I have been dreaming for these simple useful features for several decades. Finally, my dream came true. Thank you so much!
I find your step by step instructions very useful and relatable to a practical scenario. Keep up the good work!
Awesome Chandoo! Thanks for the great lookup examples both old and new. Thumbs up!!
One of the best tutorials I've seen. Love your excel and PBI videos!
Wow, thanks!
Wow until I watched this video Xlookup has been complex for me to understand. You explained everything so simply and thank you
Master class.. Way back I learn from you in excel webpage.. Now you are on youtube.. We are expecting a fire works..🔥🔥
Very well presented. I can not wait for my next vlookup project to try xlookup. Thank you
Thanks Chandoo, this is awesome. I look after so many things in RUclips but never really subscribed anything. After watching your video today, I instantly subscribed and clicked on like as well. This is really helpful and presented very nicely. Appreciate it, god bless you!
Cool 😎
I started at a new company that uses office 365. Old company still used 2010 old excel. Lots to learn with new excel features.
Congrats on your new job. I suggest catching up on "dynamic array functions" too. See this video - ruclips.net/video/ONaS7IMKJPM/видео.html
great sir I believe you are the first website i used to learn excel at all.& I am very happy to see again chandoo excel expert.
Thanks and welcome
Great video by great Chandoo .. thank you for this..
Thanks Chandoo, great video 😃
Super video and great information for digital world 🌍 .
Chandoo help! I have a lot of things to lookup, I have multiple tables and I have to add my lookup results together! Not only that but there's many totals I want to calculate and put into a new table!
Very useful, I've watched a few of your videos and I'm a fan so I clicked the subscribe button for more excel tips :p
wow you teach in such a simple manner !!!
Epic Knowledge!... for Day 2 day usage. Thanks!! Subscribed!!!
You can also return multiple resuts in VLOOKUP with column index numbers surrounded by squiggly brackets as array constants.
Great stuff, Chandoo. Thanks!
Glad you liked it!
This is Incredible !! simply the superb replacement of INDEX MATCH + VLOOKUP very powerful!! thanks a chandoo !! This is helping me a lot !! Great Explanation with sample workbook !! the uniqueness in you is providing the entire workbook for practice which helps a lot by watching the video and on fly implementing them !! Great Keep them coming chandoo!!
Very usefull thanks . Will sure learn many things from your videos
Good explanation Chandoo..
Very well explained... extremely high standard ....mush better than paid professional.
This is very helpful. Thanks for the video
Learned something new today, Thank you.
Great tutorial and very apt use cases. Thanks for sharing
Thanks for watching!
Thank you so much chandu you saved me
woww nice vids, another learning :)
We can use choose() function with vlookup to give result which are on left side
Thank you Uncle, you are very Humble,,,
Very informative. Thanks for sharing
Sir first of all i would like to tell you tht your videos are amazing and very nicely explained, i also got a query wht does (* ) means here when u used in xlookup ?? Is it same like And condition in the filter video?
Even I hate VLOOKUP and this video is best ever video as XLOOKUP tutorial
Awesome 👌
Great Respected Sir, Mr. Chandooo !!!!
August Way to Execute the knowledge !!!!
So nice of you
Interesting to learn this new function. Can it return multiple date of joining based on the example in your video. If there are multiple people joining the same date? Thanks much appreciated 👍
Thank you nice easy to understand tutorial
Sir you are a real champion
Awesome video!
Fantastic ! Thank you Chandoo !!
Glad you liked it!
Amazing, thank you
It would be nice if there was a “match formatting indicator” in the formula to match the formatting from where our result derives so that you don’t have to correct the formatting in your formula result. So if the formatting in the result column was a date or currency, a match formatting indicator would automatically ensure that your result matched the formatting of the column from where the result derived. This would be nice because almost nobody would want a date answer returned in a Juliane date or currency returned without commas.
Damn you just earned a new subscriber. This is a really powerful tool.
Always thought why vlookup doesn’t allow me to select the query column and return column and it took I don’t know how much since your video is news to me, thank you!
awesome man, will save a lot of time and effort for me
Glad I could help
Brilliant, thanks
Thanks for the video
Index/match got its own function. Wow I didn’t even realize. Will start using this now!
Welcome to the brave new world
Excellent! Vlookup is powerful but is painful if not done correctly. xlookup looks better.
3:47 into the video, and I stopped playback to subscribe. Great info that’s easy to follow, with practical examples.
Welcome aboard Rood😀
Same here! Ever since Xlookup came on the scene, I stopped using VLookup AND index match - Xlookup is much more efficient!
😎
Love this, no more iferror!
YES!!!
Thankyou!
Great Chandoo! 👍
Thanks Usman ji.
Hi sir. Can you help me? What i wanted in my ghant chart is that when i add a holiday, all activities will adjust even if the other activities did not fall onto the holiday date.. can it be possible?? Love the video by the way.
Very helpful
Awesome.
Time saver
You are welcome Aman.
Simplypy to understand this way in Case by Case
Thank chandoo
You are welcome Amir.
This is awesome! Thank you!
You're very welcome!
Thanks a lot boss
Thank you so much for your hard work. I would like to confirm that xlookup is also in excel 2021 pro plus version.
Woohoo... That is a good news indeed. I have switched to 365 many moons ago so not keeping up with fixed versions. Thanks for letting us know :)
yes I also always use xlookup instead of vlookup, great experience sir
The best!
Thank you
Great video. Getting error with # Name? using excel 2010. do not work in 2010 version.
Hi Chandoo,
What are the limitations of xlookup, if any?
I have a filter for my column, and i am trying to select a keyword manually from the manually, so is there any option so that i can put this keyword in some cell and write some filter formula so that it will automatically filter the keyword from the list?
Superb 🙂
Thank you for this explanation. I have another scenario that I would like some clarification on. What if in Column A, I have e-mail addresses of people, and then in Column B, I have text with data in it as follows separated by comma's e.g. pizza, pasta, potatoes. E-mail adress 1 has pizza, potatoes, E-mail address 2 has pasta and E-mail 3 has pasta, potatoes. I would now like to make 3 additional separate columns Pizza and Pasta and Potatoes with in these columns the ' lookedup ' e-mail addresses. In the colunm name Pizza, only e-mail addres 1 would be mentioned. In Column Potatoes, E-mail 1 and E-mail 3 would be shown and so on. How to go about? Can this be done with XLOOKUP? Or is some other formula needed? Thank you for your reply!
Hi Chandoo, have you used Xlookup for multiple criteria, may 2D or 3D (ie. search for criteria that is vertical and horizontal to get the Return Value). Thank you for your nice work!
I do. I explain these and many other advanced concepts in my mini-course here - chandoo.org/wp/lookups-for-data-analysis/
Hi Chandoo, so basically only when we convert the range to table, we can return the entire row correct? Can we return a row when we are using normal data range instead of converting to table? Thanks in advance!
You can. FILTER(a1:a10, b1:b10>5) returns the A1:A10 values where B column value is >5
good shit bruh, keep it up
I think it was mentioned already but I use variables for column number and this does not seem to be possible in xlookup.
thank you
Chando hi, good presentation.
We can use Vlookup with different directions by using Choose function like =Vlookup(X,A1:C100,Choose({2,1},Array-1,Array-2),0). It provide us to go opposite direction like XLookUp.
However, when we change column sequence or not sorted range, VLookUp is not giving us the correct result.
So,
I would like to learn just LookUp function because it is being used to find different matches as same value. How can we achieve it?
Could you please prepare LookUp video for it.
Thank you 🙏
Thanks Emre... The VLOOKUP(..CHOOSE()) is a good trick and I've used it in the past. I suggest watching the FILTER video for this. ruclips.net/video/JuTdj2j-9Kg/видео.html
For different matches of same value use instead: UNIQUE+FILTER (you can also use transpose to list values across)
Legends know that Chandoo has already made a video showing how he replaced index match with xlookup way back
OG!!!
Yes, I have few other XLOOKUP videos on the channel. But I feel that most of our new followers are not familiar with XLOOKUP. So I made another video (with more tips) :)
@@chandoo_ You are a Legend Chandoo. Keep them coming.
Superb video
Thanks Subranjit...
hi Chandoo hope you are well. I like how you dont have to say exact match etc... i just need to practice and change my habits... i still do some lotus 123 lol
All good here Silvana... 😀 Wow, someone from Lotus times.
@@chandoo_ yes lol every time excel brings out a new version it hides our old lotus backstokes further and further away but i can still find some ha
Hi, I would like to learn excel from starting from basic, pls guide me.
Hi Chandoo, thank you for this!! XLOOKUP is a game changer. Just one issue- I just used it to return a date on the cell. However, the source data for that particular lookup value is blank. But the XLOOKUP returns 1/0/1900. Can you share how I can have the cell come out as blank if the source data is blank?
You are welcome Judith.
Excel doesn't have true BLANK values. When a formula finds blank, it returns 0. Which for dates, treated as 1/0/1900. You can try ISBLANK(XLOOKUP(..)) to check if the result of XLOOKUP is indeed blank and then do something.
Another technique is to use File > Options > Advanced > "Display options for this worksheet" > Show a zero in cells that have zero value and unchecking it. But it will also remove any actual zeros from the screen.
Awesome!!! Thank you!!!!
Welcome Sachini...
Hello Chandoo from 2:47, if there are more than one person starting working on the same date, what results would Xlookup will return? Thanks for making the videos about excel.
Xlookup (and all other lookups in Excel) just return the first matching value. If you want to see all results, you can use FILTER. Here is a video about that - ruclips.net/video/JuTdj2j-9Kg/видео.html
Can do Chandoo does it again. Fantastic video.
Thanks again!
We can use lookup formula also
Thank you, I found this useful. I have been using =ifna(index...(match), It works well but looks messy. I will use xlookup in the future. Thank you
Glad it was helpful!
Only issue with xlookup is that I can’t share the spreadsheet to people with older Excel versions. I have to think whether the file will be shared before I decide between vlookup and xlookup. Thanks for the awesome tips.
You could break the links in your sheet, if you have to share and if other users don't need to understand the underlying function you used.
That is a good point. Yeah, if I working with a client that doesn't have XLOOKUP, I just revert to either VLOOKUP or INDEX MATCH as needed.
From few days when ever I use xlookup, in data if i have error result after that would be error in rest of the line items. Any idea why?
Truly Amazing👍
You are welcome Adi... 😀
What if more than one matching information available? how to return 2 or more details?
Wow too good formula...
can vlookup use in same excel file, in 2 different sheets....
I am getting sick of these tips that only work in Office365.
It is great, but why would I use a program that will never be mine?
Anyway, great video and explanation.
Hi sir i beend using xlookup for while but at some point even xlookup fails example if we want to lookup value for one single column xlookup fails but vlookup runs fine example in one workbook i have employee id and in another work book i have same employee and want to get which are duplicate via formula with out using condition formatting function so xlookupfails or may be i dont knw how to reconstruct the formula could you help
how to use it to retrieve multiple values from the same column, is it possible?
I use INDEX and ROW and it's so long formula
You are simply amazing
Thank you so much 😀 You are awesome too :)
You are an angle of education.
Just a wish, "Allah bless you"
😊 Thank you Mr Azim
What if I have more than one return, how can make sure there are no other value may match the criteria, assuming the look up not unique
Thanks 🙏
You are welcome Taizoon...
hi can anybody tell me that if start date is more then 1 or more then we need all the details how we can sort that ?? i am using only Excel 2019
Currently the only limit that I faced is that it can't simultaneously work on multiple rows and colum range. In that I have to apply XLOOKUP in adjacent column because I extract values for multiple row values spanning over multiple column.
If your adjacent column is a SPILL Range, then you can also use XLOOKUP like this:
=XLOOKUP(a1#, lookup arry, result array) and it will automatically extend to the number of rows needed as per A1#
@@chandoo_ Oh let me try that also.
If multiple person joined same date.how we can find out..is xlook up return multiple values for a single date.