Great thanks, in example 7 Is it also possible to look up the newest date with an xlookup function regardless of the order of the file?
@barkingkateКүн бұрын
I love your videos, Mark. Thank you so much for your work! Re. the index function, what I find a simpler alternative (although still not efficient, of course) is INDEX(SORT([Name]),ROW()-ROW(Data[[#Headers],[Sorted 2]])) or INDEX(SORT([Name]),ROW()-ROW(Data[#Headers])) - although the latter throws an inconsistent formula error. Have a great Christmas break! 🙂
@TigregalisКүн бұрын
Thanks so much. This was very helpful and exactly what I was looking for.
@IvanCortinas_ES2 күн бұрын
I had to squeeze myself tightly into the chair. Spectacular solution. Thanks for this genius, Mark.
@ExcelOffTheGrid2 күн бұрын
Glad you liked it! 😁
@DAXifiedSatish2 күн бұрын
I think as soon as you add a custom lambda function in workbook, it got added in the workbook. Even if you copy it from another workbook and paste it in new workbook it will add required names. Am I missing something.
@ExcelOffTheGrid2 күн бұрын
Yes, that is correct. With this video, we are just looking for a quick and easy way to manage and insert them.
@vandaravuth76152 күн бұрын
what is the CHOOSECOLS?
@ExcelOffTheGrid2 күн бұрын
It’s a function to choose columns from an array/range.
@Kiyoshi_96062 күн бұрын
*proceeds to make hundreds of LAMBDA() functions as named ranges, copy into a ton of workbooks, and be unsung hero at work* /dream
@ExcelOffTheGrid2 күн бұрын
Unfortunately, your work colleagues won’t care. But you will know that you are an absolute legend!!!
@IvanCortinas_ES3 күн бұрын
You are the architect of spilled-arrays. I love the logic used. Thanks Mark!!
@ExcelOffTheGrid2 күн бұрын
Arrays completely transformed Excel, but we’ve only just scratched the surface. So trying to bring a more power to more people.
@einoconsult55633 күн бұрын
Thanks Mark The new workbook need to be saved as xlsm or can be saved as xlsx ?
@ExcelOffTheGrid3 күн бұрын
The new workbook can be saved as .xlsx.
@RichardJones734 күн бұрын
How can I lookup partial matches? I know I could use Fuzzy merge but I've never really trusted it.
@ExcelOffTheGrid4 күн бұрын
It’s reasonably straight forward, but longer to describe than space allows here. You effectively filter and use Text.Contains to generate the TRUE/FALSE for each row. Are you trying to return the first match, or all matches.
@RichardJones734 күн бұрын
@ExcelOffTheGrid first match as it should be the only match anyway
@RichardJones73Күн бұрын
Just for info, your buddy at access analytic had a video on the very topic and I've managed to complete my project. I didn't think that merging a query with itself could be so useful!
@christianmarpert38444 күн бұрын
hey, thks! great idea, didn't think of this way to distrubute custom functions! however, I prefer a personal addin 😉
@ExcelOffTheGrid4 күн бұрын
The good news is that code will work in an add-in too.
@siddhantbhuwania89824 күн бұрын
The challenge is when there are duplicate items in lookup array and still want to return unique numbers as a result. Usually it returns the first number for all the duplicate item names. Any way out here?
@ExcelOffTheGrid4 күн бұрын
Then you need the FILTER function. It returns all the matching items. kzbin.info/www/bejne/aGTan4SEpauNntE
@siddhantbhuwania89824 күн бұрын
@ExcelOffTheGrid So you mean filter would work in the below case? I want to return both 50 & 100 for Excel off grid. Can we use filter in combination with doublexlookup? Name Value Excel off grid 50 Excel off grid 100 Excel on grid 120 Excel 140
@ExcelOffTheGrid3 күн бұрын
You can just use FILTER.
@siddhantbhuwania89823 күн бұрын
@@ExcelOffTheGrid Ok thanks
@duncanwil4 күн бұрын
Something not working for me with the replies to comments: so, with Mark's permission, here is the link to my blog page on creating a Fan Chart with Python in Excel. duncanwil.blogspot.com/p/fan-chart-python-in-excel.html
@quraanandahlebait5 күн бұрын
Hello Mr. How are you? I want create a trial balance by using PIVOTBY or GROUPBY function with a calculated field for Balance (Debit-Credit). Need your help
@mohammedelsakally5405 күн бұрын
Thank you very much, Mark, for the useful and valuable content you are always providing to your followers 👍...
@ExcelOffTheGrid5 күн бұрын
My pleasure! I’m just glad people find it useful. 😁
@x4ms5 күн бұрын
Well done, thank you!
@ExcelOffTheGrid5 күн бұрын
Glad it was helpful! 👍
@spilledgraphics5 күн бұрын
holy smoke! Mark Proctor for President 🔥!
@ExcelOffTheGrid5 күн бұрын
Thanks Carlos. I certainly would prefer to keep working with Excel, to being president. 😁
@NithinMatam-x2l5 күн бұрын
It's one of the easiest and most useful excel tips I've seen, however is there any way this can be real-time? I can see it only shows the data that was updated previously while using the link.
@ExcelOffTheGrid5 күн бұрын
Everything I know about this is in the video. So, I’m not sure.
@kdfarmery5 күн бұрын
Thank you, Mark. This is a powerful addition to Excel and a great Christmas present for Excel users. Thanks again. Have a wonderful, peaceful Christmas.😀
@ExcelOffTheGrid5 күн бұрын
Thanks, I’m glad you like it. 😁
@ppani_705 күн бұрын
Excellent idea to use and manage Lambda functions. I was wondering, whether the same can be achieved using Office Scripts rather than VBA. There are several advantage using Off scripts e.g can be shared with colleagues, can work on excel online and also no need to save file in xlsm format.
@ExcelOffTheGrid5 күн бұрын
The issue with Office Scripts is the lack of easy interface - i.e we can’t add a ribbon button. But it would be possible. It would just need to be a parameterized script that contains all the LAMBDA code inside the script as text. Maybe I will add that to the ideas log.
@Adam_K_W5 күн бұрын
It's worth noting that many people would like to pursue this for work they do on their Company Issued PC's... These days many companies are blocking the ability to create and store a Personal Macro Workbook under the guise of security. I know this, because my company did it. A work around is to save your personal Macros as an Excel Add-in and load it. That way you can still create one.
@joeldumas5 күн бұрын
Using Excel Add-in is a better solution as many custom functions engineered with lambda can be workarounds for not using small VBA Macros in companies. I’m waiting with impatience Mark’s video to show us how to do it in a fast and furious way!
@ExcelOffTheGrid5 күн бұрын
Yeah - the current VBA and security world is an absolute mess. That is part of the reason why I showed all the code and provided a text file. Some users can run VBA, but can’t unblock downloaded VBA macros. Good news is that the process is almost identical if using an add-in.
@martyc56745 күн бұрын
Very good Mark 👌
@ExcelOffTheGrid5 күн бұрын
Thanks! 😃
@skillwavetraining6 күн бұрын
I mean... you could build your own... or you could just use the one that is already built-in to Monkey Tools... (for free): kzbin.info/www/bejne/imbHYayLgM6osLc :)
@briandennehy63806 күн бұрын
Mark you are some kind of wizard
@ExcelOffTheGrid5 күн бұрын
Thank - I’m glad you like it.
@oliverantoniou6 күн бұрын
Hi Mark, great video/idea as always! Was wondering though, what about saving a workbook (with the custom functions) as a template within XLSTART then rolling it out to colleagues to do the same? Cheers, Oliver
@ExcelOffTheGrid5 күн бұрын
Using a template in XLSTART is a good option. The issue for distribution to many users is maintenance and updating. As different users will have different versions. A centrally saved workbook which users can copy/paste from would probably be easier to manage.
@DavidOnder6 күн бұрын
Is there any way to combine DDL and DDLSorter into the data validation so then there would be no need for the intermediate table?
@ExcelOffTheGrid5 күн бұрын
Sorting converts a range into an array, and data validation lists don’t work with arrays. So, it needs the two stage process.
@shirleymoreman67256 күн бұрын
This is brilliant! I use my Personal workbook for VBA code I use often but hadn’t thought of this kind of usage..very clever
@ExcelOffTheGrid5 күн бұрын
Now you can steal the concept and use it for lots of different things. 😁
@IvanCortinas_ES6 күн бұрын
An interesting method. Thank you for sharing it, Mark.
@ExcelOffTheGrid5 күн бұрын
You’re welcome.
@txreal26 күн бұрын
Great tricks 👍👍. I think for newbie -- > intermediate, the long codes maybe overwhelming. Personally, I try to balance stealing codes with readability; like months from now :) (especially when you're unaware source data has been changed, or maybe use #metadata to reference a step somewhere else if possible )
@prathamsuthar49776 күн бұрын
great video!
@johnhackwood15686 күн бұрын
First class approach Mark, thank you for sharing!
@ExcelOffTheGrid6 күн бұрын
My pleasure! I hope you can put it to good use.
@DinoDelight6 күн бұрын
Brilliant
@ExcelOffTheGrid6 күн бұрын
Thanks 😁
@stanTrX6 күн бұрын
Thanks but i dont want to share my macros with someone else and also i dont prefer to use macro for my own too because many times i have to share with collegaus
@ExcelOffTheGrid6 күн бұрын
You're not sharing your macros with anybody. The macros stay on your PC. You are just sharing the custom functions by adding time into the workbook.
@RonDavidowicz6 күн бұрын
Great video, and a clever way of handling these custom functions. I always have problem with my Personal Macro, it seems to want to open whenever I view an Excel spreadsheet in the Windows Explorer.
@ExcelOffTheGrid6 күн бұрын
I gave up trying to view spreadsheets in Windows Explorer a long time ago, it was just to buggy. So, unfortunately, you might get the same issues with this.
@peterbrian50316 күн бұрын
Not particularly useful. Many of these small problems are related to your methodology of using Excel, meaning you are always chasing and correcting problems, which can become extremely complicated. It's more precise and time-saving to type your formula in the cell with specific pathways and limits, rather than your more traditional method of using ready-made, in-place solutions that are actually limited. The references to "ghost" workbook links with your methodology would eventually become uncontrollable in a large program, as you would inevitably miss some apparent errors as the program complexity increased. These are low-level, beinner solutions that will eventually become too much for the average user.
@ExcelOffTheGrid6 күн бұрын
Sorry, but I'm not entirely sure what point you are making. What does this mean - "It's more precise and time-saving to type your formula in the cell with specific pathways and limits, rather than your more traditional method of using ready-made, in-place solutions that are actually limited"? In the video, I'm merely pointing out some of the more obscure issues that often catch people out and explaining the reasons for them. I'm not advocating for any methodology or best practice.
@peterbrian50316 күн бұрын
OK, but if you integrate the FLOOR or CEILING command, this needlessly long result would be eliminated.
@ExcelOffTheGrid6 күн бұрын
Isn't using FLOOR or CEILING the same as using the ROUND method shown in the video? Actually... FLOOR or CEILING could be dangerous because we don't know if a number will be above/below any given whole number. Therefore, leading to an incorrect result.
@chrism90376 күн бұрын
Outstanding video Mark!!
@ExcelOffTheGrid6 күн бұрын
Thanks Chris - I appreciate that. 😁
@jimfitch6 күн бұрын
Outstanding! I have intended to develop this capability for quite some time, but couldn’t wrap my heads around how to do it. Your approach is clever. Thank you.
@ExcelOffTheGrid6 күн бұрын
Thank Jim - Hopefully it's simple enough that you could build on it over time if you wish.
@jimfitch6 күн бұрын
@@ExcelOffTheGrid It is, & I will. Now, I just need a similar vehicle for stock VBA code snippets!
@ExcelOffTheGrid3 күн бұрын
That’s possible - Chip Pearson had some good resources for inserting VBA code into a module.
@Excelambda6 күн бұрын
Very smart move !! Exactly the infrastructure that cm lambdas need to become more popular and more tempting to use. Fantastic job !!!✌🏆
@ExcelOffTheGrid6 күн бұрын
Thanks - I'm working on a full add-in that will have a lot more features, but I thinks this works well and is simple to implement.
@DingusBatus6 күн бұрын
That makes it a lot easier to transfer custom functions between workbooks.😀 🙏❤️
@ExcelOffTheGrid6 күн бұрын
Hopefully it's a simple way to do it so they are always available.
@kebincui6 күн бұрын
👍👍
@JesperDyreholt6 күн бұрын
I do not really see the point. In my XLOOKUP, it returns the number of columns I choose in return matrix?
@ExcelOffTheGrid6 күн бұрын
But then it doesn’t return multiple lookup values at the same time - it triggers the array of arrays problem. This solution solves that . That is the point.
@JesperDyreholt6 күн бұрын
@@ExcelOffTheGrid maybe I am misunderstanding you, maybe my English is a little challenged when it comes to Excel (I am from Denmark). I can make a lookup in excel when searching for a particular name, and it can return his salary, address and other columns within a normal XLOOKUP. But this is not what you mean? In the beginning of the video, you show that XLOOKUP only returns one of these values, but mine can return several. I am not trying to criticize your video, I just do not get the same result.
@nemessis93866 күн бұрын
Do these features work well in Excel 2016
@ExcelOffTheGrid6 күн бұрын
Should do. Power Query was natively available since 2016 - I'm not aware that there have been significant changes to the M code.
@lucaMMXI7 күн бұрын
Good to know as proof of concept but it looks insanely complex. More limiting for my use case: it only allows for two sets of node pillars, not 3 or 4 or 5, etc.
@ExcelOffTheGrid6 күн бұрын
💯 - it is complex. You can achieve it with multiple pillars, but it is a lot of planning, and some tough maths.
@PunmasterSTP7 күн бұрын
I've never gotten that fancy with Excel functions before; this was cool!
@bilalsheikh91277 күн бұрын
Bro your content is not for ordinary audience. Your content is of pro+ level quality and for geeks. Your whole work is incredible. Stay blessed.
@PunmasterSTP7 күн бұрын
Would you say that his work is...Excel-lent? 😎
@bilalsheikh91277 күн бұрын
Outstanding illustrations with sheer clarity. Bravo 👏 Mark. Please also start a series on Python. Would love to watch your content with same clarity and detail.
@Pavel1020257 күн бұрын
Thanks a lot.
@ExcelOffTheGrid7 күн бұрын
★ Get the example file ★ Sign up for our free Insiders program and get the example file: exceloffthegrid.com/insiders File Reference for this video: 0242 Function Library.zip