Mark, you are an angel, you have helped me so much in my professional life and thanks to you I have progressed in the workplace. God bless you, thank you always for all the help, amazing man and so much fun that you share your genius with us!
@ExcelOffTheGridКүн бұрын
Thank you for those kind words. I really appreciate that. 😁
@vida1719Күн бұрын
What a creative name - SUPERXLOOKUP and great functionality! I think Microsoft should buy this function from you!
@ExcelOffTheGridКүн бұрын
Maybe one day they will give is an array-of-arrays compatible version.
@JoseAntonioMoratoКүн бұрын
Dear Mark. Its SUPERXLOOKUP function is very good, but it needs to be named in the workbook. With the INDEX and XMATCH functions, existing in any Excel, you can obtain the same results: =IFERROR(INDEX(Data,XMATCH(H6:H9,Data[Item]),XMATCH(I5:L5,Data[#Headers])),0) =IFERROR(INDEX(Data,XMATCH(H13:H20,Data[Item]),XMATCH(I12:K12,Data[#Headers])),0) 🤗
@ExcelOffTheGridКүн бұрын
INDEX/MATCH/MATCH is a 2-way lookup. The solution in the video is a 1-way lookup which spills into 2 dimension. So they are different and will serve different use cases.
@JoseAntonioMoratoКүн бұрын
@@ExcelOffTheGrid I was referring to the difficulty of always having the SUPERXLOOKUP function available, while the INDEX and XMATCH functions are always available and you get the same spilled results. 🤗
@thomasgormanableКүн бұрын
Recently discovered how Lambda functions work, and this is a great example, did not know that copying and pasting the formula would carry the formula over, great tip!
@ExcelOffTheGridКүн бұрын
Copy/Paste is the easiest way I've found without using anything advanced. You can also copy and sheet, and it will move all your LAMBDAs at once.
@Martinrd72Күн бұрын
Just sent the link to this video to my work email. Will be trying this out tomorrow. Great work, exceptional!
@ExcelOffTheGridКүн бұрын
Great stuff... give it a go. 👍
@IvanCortinas_ESКүн бұрын
Tons of talent, Mark. Excellent resolution, which also controls errors. Awesome. Thanks for sharing.
@ExcelOffTheGridКүн бұрын
My pleasure! I'm glad you liked it Ivan. 😁
@kdfarmery20 сағат бұрын
Mark - this is superb - thank you.
@QuidisiКүн бұрын
Can't wait for the SuperDuperXLOOKUP video coming out where Mark builds a formula that spills not only on the X and Y axis, but also the Z axis! 😁
@ExcelOffTheGridКүн бұрын
That would be amazing to spill 3 dimensionally... we can dream.
@weslleyhenrique2989Күн бұрын
Incredible! I love videos that use formulas.
@ExcelOffTheGridКүн бұрын
Glad you like them!
@teoxengineer20 сағат бұрын
So EXCELlent presentation....It contains everything (XLOOKUP function evaluation from excel team 😉)
@vinothkumarmanoharan23177 сағат бұрын
Awesome Explanation
@ziggle314Күн бұрын
I have immediate use for this function. Thanks a bunch!
@ExcelOffTheGridКүн бұрын
Awesome, I'm glad you can put it to good use.
@stevereed5776Күн бұрын
Outstanding Mark, what a great solution. Thank you
@ExcelOffTheGrid23 сағат бұрын
Thanks, I'm glad you like it.
@mohammedelsakally54018 сағат бұрын
Brilliant Mark, Thank you so much 🎉
@DataVisualisation2 күн бұрын
... once again, well explained. You should work as a motivational trainer for LAMBDA and LET. The way you explain should get even the last one out of the couch and into the learning mode.
@ExcelOffTheGridКүн бұрын
I'm still learning all this stuff myself, and it's certainly a lot of fun.
@DataVisualisationКүн бұрын
@ExcelOffTheGrid ... we can do this together from the next week 😉 ... I sign up for a membership 🏁 ... my way to support you
@martyc5674Күн бұрын
Nice one Mark- this really would be a great built in function.
@ExcelOffTheGridКүн бұрын
Maybe one day Microsoft will add something similar.
@franzzzisКүн бұрын
incredible.. very impressive, thank you for your work
@ExcelOffTheGridКүн бұрын
Thanks, I'm glad you liked it.
@renatovianello8742 күн бұрын
Mark, u are not human! 👏👏👏👏👏
@ExcelOffTheGridКүн бұрын
Thanks 😁
@flaviogarlatticostaКүн бұрын
Mark sei stratosferico ! grazie.
@ExcelOffTheGridКүн бұрын
Google translate came to my rescue. Thank you. 😁
@umarhassan1807Күн бұрын
Can't wait for your next formula. Superb! Thanks a lot.
@ExcelOffTheGridКүн бұрын
I might call it NEXTLEVELSUPERXLOOKUP()... or maybe that's a step to far 😂
@ToanNguyen-q8l6d13 сағат бұрын
Really amazing!!! Thanks Mark
@johnhackwood1568Күн бұрын
Hats off Mark that is pure awesomeness. The LET was fantastic but then the LAMBDA, too good. But what about poor FILTER function, is your custom formula walking its side of the street? I am wondering what are the pros and cons to a FILTER based formula alternative. ISOMITTED as well when did that come in, nice.
@ExcelOffTheGridКүн бұрын
FILTER is based on data order and not the order of the values you've requested, it also includes all values (not just the first / or last), it does not return anything for values that don't exist and it also doesn't fully support wildcard characters. So, it could be partially possible with FILTER but would be significantly more complex and only part of the solution.
@geoffsmileКүн бұрын
Thanks a bunch. This will help me a ton. with this method, I hope you could also help replicate the PIVOTBY and GROUPBY functions as they are still not available to old versions of excel.
@ExcelOffTheGridКүн бұрын
I'm glad you can use it. In terms of alternatives to GROUPBY/PIVOTBY there are some simple scenarios which can be replicated in other ways. But those formulas are so complex that I wouldn't even try.
@MounaSammoud-t8d20 сағат бұрын
this is awesome thanks for sharing Mark 😊☘
@deepakmirchandani1348Күн бұрын
great job, sir, thanks for such an excellent formula.
@ExcelOffTheGridКүн бұрын
You are most welcome - I'm glad you liked it.
@fongfattchee282Күн бұрын
OMG. Stellar tip! Very nice.
@ExcelOffTheGridКүн бұрын
Thank you! Cheers!
@mrprakashraobsКүн бұрын
Hats off to Mark, excellent formula that i use it to lot extent. I request you to enhance with one more way where It lookups h2:h9 in a:a and returns value based on column headder line in hotizantal (q1, q3, q5) lookup. Hope you get this.
@ExcelOffTheGridКүн бұрын
A full column lookup... 🤔 Sounds like you might need the new TRIMRANGE function to become generally available.
@DinoDelightКүн бұрын
Thats amazing, thank you, would this be saveable in a personal workbook so you dont have to copy it from a previous workbook?
@ExcelOffTheGridКүн бұрын
You could save it in a personal workbook. No issues there. You could easily write a macro to add it to the name manager.
@mouhammadwasseemshaabani47Күн бұрын
Brilliant, just brilliant!
@ExcelOffTheGridКүн бұрын
Thank you.
@stefankirst32342 күн бұрын
Incredible!!! Thanks a lot!
@ExcelOffTheGridКүн бұрын
You're welcome.
@nazarkamal8831Күн бұрын
Superb spreadsheet ❤❤❤ Excel
@ExcelOffTheGridКүн бұрын
Thanks, I'm glad you liked it.
@mikeparker3865Күн бұрын
Brilliant!💡
@ExcelOffTheGridКүн бұрын
Thanks. 😁
@martinargimon7302 күн бұрын
Thx. Excellent tip !
@ExcelOffTheGridКүн бұрын
Thank you.
@realvaticanКүн бұрын
I think the Index function is volatile which could lead to poor performance. I have been using drop(Reduce("", keys, lambda(key, acc, vstack(acc, xloolup(key, in,return)))) ,1) which i think is probably slower but so l at least not volatile Edit: Index isn't volatile I was thinking of offset
@ExcelOffTheGrid23 сағат бұрын
INDEX isn't volatile (you might be thinking of OFFSET), so it should be faster.
@realvatican22 сағат бұрын
@@ExcelOffTheGrid I was getting mixed up with offset! I'll leave the comment since it's a useful alternative technique to this sort of problem (e.g. works with jagged arrays in 2d filter) but I like your formula more for this scenario
@iankr2 күн бұрын
Gor-blimey, this is a bit good! Many thanks, Mark.
@ExcelOffTheGridКүн бұрын
Thanks Ian. Loads of advanced techniques in there to keep you happy.
@zzotaКүн бұрын
Amazing! Thanks Mark.
@ExcelOffTheGridКүн бұрын
You're welcome. 😁
@cjkleynhansКүн бұрын
Brilliant!
@ExcelOffTheGridКүн бұрын
Thank you.
@chrism9037Күн бұрын
Awesome Mark, love it
@ExcelOffTheGridКүн бұрын
Thanks Chris. 😁
@gandhisunil3Күн бұрын
Mark, I am the 300th person in the que of persons who liked it 😅 Great formula of let and lambda use
@ExcelOffTheGridКүн бұрын
Awesome! Thank you for clicking the "like" button. I appreciate it.
@rajeshmajumdar4999Күн бұрын
Superb! SUPERXLOOKUP. Thank you so much.
@ExcelOffTheGridКүн бұрын
Thanks, I'm glad you liked it.
@entrustedhub2 күн бұрын
😢 Respect!! This is great
@ExcelOffTheGridКүн бұрын
Thank you.
@JoeMeyer8998Күн бұрын
That's really cool!
@ExcelOffTheGridКүн бұрын
Thanks. 😁
@db_mb_69Күн бұрын
Is it not possible to use nested filters to do the same?
@ExcelOffTheGridКүн бұрын
FILTER has other quirks which make it great from some scenarios but not others. FILTER is based on data order and not the order of the values you've requested, it also includes all values (not just the first / or last), it does not return anything for values that don't exist and it also doesn't fully support wildcard characters. So, would be a challenge to make it work in this scenario.
@db_mb_69Күн бұрын
@@ExcelOffTheGrid 👍👍
@poposhkov17 сағат бұрын
Why not use xlookup with & looking for the two arguments?
@ExcelOffTheGrid14 сағат бұрын
Because a 1-way lookup spilling across two dimensions is different to a 2-way lookup spilling across two dimensions. A 2-way lookup is scalar lifting in both directions, while the one-way lookup is scalar lifting in one direction and an array in the other. So, the use cases are different.
@henryg5735Күн бұрын
Mind blowing 🤯🤯🤯
@ExcelOffTheGridКүн бұрын
Lots of advanced techniques in there - hopefully some of them are applicable to other scenarios.
@sepideheftekhari333Күн бұрын
In which version is it? 2024 or 365؟
@ExcelOffTheGridКүн бұрын
I’m on 365. But should work in 2024 too.
@RonDavidowiczКүн бұрын
Genius (or too much time on your hands)!
@ExcelOffTheGridКүн бұрын
Thanks (and yes, probably 😂)
@SholaDsdg2 күн бұрын
Ohhhh ohhhkay! Sweet!
@ExcelOffTheGridКүн бұрын
Thanks. 😁
@zohrabalimanov009Күн бұрын
Wow super
@ExcelOffTheGridКүн бұрын
Thanks. 😁
@hyperadaptedКүн бұрын
Now do superduperxlookup
@ExcelOffTheGridКүн бұрын
Ha ha ha - SUPERDUPERXLOOKUP, I love the namee.
@GeertDelmulle2 күн бұрын
Super-great video that is action-packed and up-to-speed. Great stuff, Mark! For those for whom this went too fast: you can always play back the video on half speed… ;-) FYI: I would’ve added a conceptual line where you explain “why” this works, avoiding the array-within-an-array conundrum. But maybe I just missed it in the fast-paced action of the video. ;-)
@ExcelOffTheGridКүн бұрын
I partly covered that in the last video, so didn't want to go back over that. But definitely anybody who didn't see that might wonder what it was all about.
@JJ_TheGreat13 сағат бұрын
<a href="#" class="seekto" data-time="427">7:07</a> Not really… The output of the intersection of Alpha and Q3 should be 77, but is returning 82…
@Al-Ahdal2 күн бұрын
1st like 1st comment
@ExcelOffTheGridКүн бұрын
First out of the blocks again. 💯
@Matt-pt3vqКүн бұрын
I’m missing something, why not just use an xlookup within the xlookup.
@ExcelOffTheGridКүн бұрын
We’re not building a 2 way lookup. It’s one lookup that spills multiple columns. The example might look like a 2-way lookup, but that is just to illustrate horizontal & vertical calculation.
@nikolajonovic11722 күн бұрын
please dont make EXTRASUPERXLOOKUP
@ExcelOffTheGridКүн бұрын
If I were to, I think I would call it SUPERXLOOKUP_PART2_THEREVENGE
@grandhebiКүн бұрын
I have a subscription to MS 365, but I don't see the SuperXLOOKUP function, yet :(
@ExcelOffTheGridКүн бұрын
In the video we create a custom function which we have called SUPERXLOOKUP. So you won't ever have it in your Excel, you have to create it.
@RichardJones732 күн бұрын
You lost me at superXlookup lol
@ExcelOffTheGridКүн бұрын
Lots and lots of advanced techniques packed into this one.
@RichardJones73Күн бұрын
@ExcelOffTheGrid I did actually learn more about using lambda than super lookup so it wasn't a total waste lol. Helped me save a bit of time working out employers NI costs
@johank4361Күн бұрын
Pls get me a Formula to count meals (breakfasts, lunches & Diners) between 2 dates in different columns i.e 20/11/2024 Diner to 24/11/24 Breakfast BF (Column) 4nos Lunch (Column) 3nos Diner (Column) 4nos If you give me a solution i will be very greatful.
@ExcelOffTheGridКүн бұрын
That's solveable - I can think of a few ways. I'll add it to the list, maybe I'll do a video one day.
@johank4361Күн бұрын
@@ExcelOffTheGrid Thanks ❤️
@ExcelambdaКүн бұрын
Great video!! ✌ For fun: SXLKP =LAMBDA(lv, la, ra, [nf], [mm], [sm], LET( x, XMATCH(lv, la, mm, sm), i, ROWS(lv) > 1, IFNA(INDEX(ra, IF(i, x, SEQUENCE(ROWS(ra))), IF(i, SEQUENCE(, COLUMNS(ra)), x)), nf) ) ) Nested is also possible: =SXLKP(I5:K5,C5:F5,SXLKP(H6:H9,B6:B13,C6:F13,""),"")
@ExcelOffTheGridКүн бұрын
Very nice. That's similar to my first version. But decided to go with a longer version in an attempt to make it understandable.