Тёмный

An awesome trick to compare 2 Excel ranges and flag the differences 

Access Analytic
Подписаться 91 тыс.
Просмотров 13 тыс.
50% 1

Creating a magic formula to compare 2 ranges of data for non matching items
00:00 Intro including demo of the end result
01:23 How I built this
05:50 Wrapping it in the LET function
08:00 How to create the MYCOMPARE auto-magical formula
The formula
(IMPORTANT *** RU-vid does not allow me to type ANGLED BRACKETS below so I have type the word DOESNOTEQUAL but you should replace this )
No Let
=HYPERLINK("#"&
TEXTJOIN(",",TRUE,
IF( dblClickRange1 DOESNOTEQUAL dblClickRange2,
ADDRESS( ROW( dblClickRange2 ), COLUMN( dblClickRange2 ) ),
"")
)
)
With LET
=LET(
_Range1, dblClickSelectRange1,
_Range2, dblClickSelectRange2,
HYPERLINK("#"&
TEXTJOIN(", ",TRUE,
IF( _Range1 DOESNOTEQUAL _Range2,
ADDRESS( ROW(_Range2), COLUMN(_Range2) ),"")))
)
Power Query Challenge
• Power Query Table Flip...
Connect with me
wyn.bio.link/
Access Analytic blog: accessanalytic.com.au/blog/

Хобби

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 129   
@patrickschardt7724
@patrickschardt7724 Год назад
That is one of the best excel tricks I’ve ever seen. No VBA, no power query. Just a formula. Really impressive
@AccessAnalytic
@AccessAnalytic Год назад
Thank you Patrick
@ExcelOffTheGrid
@ExcelOffTheGrid 2 года назад
You surprised me, I was expecting a PQ video. But instead it was an amazing formula solution. You’re also the only person I have seen use the autocorrect trick in real life. Great stuff. 💥💥💥
@AccessAnalytic
@AccessAnalytic 2 года назад
It's good fun to start thinking about the uses of array formulas. I do spend most of my time in Power Query and Power BI these days but this stuff is powerful
@johnwatson8203
@johnwatson8203 2 года назад
I love your auto-correct trick, very handy. Appreciate you sharing your creativity. Sometimes the solutions to bottlenecks are already available. Many thanks
@AccessAnalytic
@AccessAnalytic 2 года назад
You're welcome John!
@MartinForal
@MartinForal Год назад
Miracle. It is amazing to see how is possible to use excel. Perfect job. Thank you.
@AccessAnalytic
@AccessAnalytic Год назад
Thanks 😃
@sergeralay2873
@sergeralay2873 2 года назад
Hi Wyn, I have discovered you today during the Global Excel Summit and your presentation literraly blew me away !!! I just suscribed to your RU-vid Channel and this is the first video I watch. And once again, I am stunned ! Your explanation are very clear and helpful. I have been working with Excel for the last 25 years but I have so many things to learn. I love this tool which becomes more and more powerful (especially with dynamic arrays, Power Query and Power BI). I am going to watch all your videos and I am sure I'm going to make huge progress !! Thanks a lot !!!
@AccessAnalytic
@AccessAnalytic 2 года назад
Welcome to the channel Serge, thanks for the kind words. I hope you find a lot of useful content here. Enjoy!
@florincopaci6821
@florincopaci6821 2 года назад
Your videos and the way you explain are briliant and very rarely!
@AccessAnalytic
@AccessAnalytic 2 года назад
Thank you Florin for taking the time to leave a kind comment
@wayneedmondson1065
@wayneedmondson1065 2 года назад
Awesome and super clever Wyn! Thanks for sharing this great tip. Thumbs up!!
@AccessAnalytic
@AccessAnalytic 2 года назад
Cheers Wayne
@carlosreverte893
@carlosreverte893 2 года назад
Beyond PRO. Really awesome!! Never thought in using "Autocorrect" features. Thanks for sharing!!!
@AccessAnalytic
@AccessAnalytic 2 года назад
Cheers Carlos, you might like these autocorrect tricks too ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-3xK_e7HQgSE.html
@IvanCortinas_ES
@IvanCortinas_ES 2 года назад
Surprising, as always. Great video Wyn.
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks Iván
@jeongwonc6462
@jeongwonc6462 2 года назад
Brilliant! I always want to know this comparison, thank you for sharing!
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks Jeongwon
@ProfectusLearning
@ProfectusLearning 2 года назад
The autocorrect trick was super brilliant!
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks, I appreciate you letting me know
@tARasKoni
@tARasKoni 2 года назад
Insane amazing! Cool trick! Thank you, Wyn
@AccessAnalytic
@AccessAnalytic 2 года назад
Hah! thanks Taras - too kind 😁
@malejandrahorvath
@malejandrahorvath 2 года назад
This is brilliant and very useful! Thank you Wyn!!!
@AccessAnalytic
@AccessAnalytic 2 года назад
Great, I appreciate the support Alejandra
@RobRussell2
@RobRussell2 2 года назад
Absolutely love this, thanks for sharing it!!
@AccessAnalytic
@AccessAnalytic 2 года назад
You're welcome Rob, thanks for the kind comment
@xnmmxnmm7953
@xnmmxnmm7953 2 года назад
​ @Access Analytic 👍👍👍 I seem to have found a gold mine, thank you for sharing.
@AccessAnalytic
@AccessAnalytic 2 года назад
Hah! You’re welcome
@tonynewnham5894
@tonynewnham5894 2 года назад
Wyn, Just amazing mate, not much else I can say. Great work that is very much appreciated. Cheers
@AccessAnalytic
@AccessAnalytic 2 года назад
Glad to help, cheers Tony
@winstonsnyder6112
@winstonsnyder6112 2 года назад
Thanks Wyn, Great stuff!
@AccessAnalytic
@AccessAnalytic 2 года назад
Cheers Winston
@juanbon5996
@juanbon5996 2 года назад
Awesome, thanks... will definitely use it.
@AccessAnalytic
@AccessAnalytic 2 года назад
Great, thanks for letting me know Juan
@KurtBuhler
@KurtBuhler 2 года назад
Great been looking for something like this for a while, well done, thanks for sharing
@AccessAnalytic
@AccessAnalytic 2 года назад
Cheers Kurt glad you found it useful, thanks for leaving a comment
@davecope3322
@davecope3322 2 года назад
Brilliant! Thanks Wyn.
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks Dave
@lorenzoladejobi8701
@lorenzoladejobi8701 2 года назад
Very insightful !!. Thanks.
@AccessAnalytic
@AccessAnalytic 2 года назад
Glad it was helpful Lorenzo
@GrainneDuggan_Excel
@GrainneDuggan_Excel 2 года назад
So useful! You are right, it is awesome.
@AccessAnalytic
@AccessAnalytic 2 года назад
😀 nice one Grainne
@johnhackwood1568
@johnhackwood1568 2 года назад
Hats off Wyn awesome very practical technique!👋
@AccessAnalytic
@AccessAnalytic 2 года назад
Cheers John
@petercompton538
@petercompton538 6 месяцев назад
I've only just seen this but it is brilliant. As you say, dynamic arrays change everything. I guess that to make it even more user friendly you could make it into a Lambda but that is just being picky! Love the channel!
@AccessAnalytic
@AccessAnalytic 6 месяцев назад
Cheers Peter 👍🏻👍🏻
@leonidkoyfman814
@leonidkoyfman814 2 года назад
It's a brilliant idea. Thank you.
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks Leonid
@ohdjrp4
@ohdjrp4 2 года назад
I could say only WOW! Thank you!
@AccessAnalytic
@AccessAnalytic 2 года назад
You're welcome Orlando 😁
@CeliaAlvesSolveExcel
@CeliaAlvesSolveExcel 2 года назад
Freaking brilliant, magic and cool, Wyn!!!
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks Celia!
@CelsonFC
@CelsonFC Год назад
Great job!
@AccessAnalytic
@AccessAnalytic Год назад
Thank you
@davidlinton4127
@davidlinton4127 2 года назад
Good stuff as usual, Thanks Wyn! 👍
@AccessAnalytic
@AccessAnalytic 2 года назад
Glad you liked it David
@DavidWarbeck
@DavidWarbeck 2 года назад
This is genius - thanks Wyn.
@AccessAnalytic
@AccessAnalytic 2 года назад
Cheers Bill
@gvinodnair
@gvinodnair 2 года назад
Genius thought!
@AccessAnalytic
@AccessAnalytic 2 года назад
Cheers Vinod
@GenNextAnalyst
@GenNextAnalyst 2 года назад
IT'S FREAKING AWESOME!
@AccessAnalytic
@AccessAnalytic 2 года назад
😀
@excelworx8712
@excelworx8712 2 года назад
Great, obviously you have drawn on all your knowledge, Wyn!!
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks very much
@excelworx8712
@excelworx8712 2 года назад
@@AccessAnalytic I am trying to tweak that formula to fit pre MS365 versions but no joy yet!
@hassanjatta4257
@hassanjatta4257 2 года назад
Awesome tricks all the time.
@AccessAnalytic
@AccessAnalytic 2 года назад
Glad you liked it Hassan
@joseagundis1
@joseagundis1 2 года назад
Amazing!!!
@AccessAnalytic
@AccessAnalytic 2 года назад
Cheers Jose
@maxlampel3968
@maxlampel3968 2 года назад
AMAZING!
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks Max
@sharadgupta2007
@sharadgupta2007 2 года назад
Great. Thanks
@AccessAnalytic
@AccessAnalytic 2 года назад
Thank you sharad
@excelrobot
@excelrobot 2 года назад
Awesome indeed!
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks!
@Prasannasubramaniankaushik
@Prasannasubramaniankaushik 2 года назад
awesome 👍
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks Prasanna
@tokinabo
@tokinabo 2 года назад
excellent !
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks Raymond
@balakrishnaj1713
@balakrishnaj1713 2 года назад
Nice one thankyou!
@AccessAnalytic
@AccessAnalytic 2 года назад
You’re welcome
@learnspreadsheets
@learnspreadsheets 2 года назад
Wow very impressive idea, I usually do a Power query compare buy this is much faster!
@AccessAnalytic
@AccessAnalytic 2 года назад
Cheers David
@JJ_TheGreat
@JJ_TheGreat Год назад
I think this is really cool! It replaces having to input both tables into Power Query as 2 different queries and doing Anti-joins, in order to determine the differences between 2 tables? Can you extend this to find the differences between 3 or more tables?
@AccessAnalytic
@AccessAnalytic Год назад
The data does have to line up row by row but yes it's pretty cool. And it should work in Excel 2021
@aloobi
@aloobi 2 года назад
Looks awesome but doesn't hyperlink have a limitation on the number of characters? If there are too many cells with differences, will you not get an error? Has this been addressed in an update for Excel 365?
@AccessAnalytic
@AccessAnalytic 2 года назад
Good question Aloobi, there may well be something like 256 character limit. I don’t know the answer
@haozhang1436
@haozhang1436 2 года назад
Cool solution , however did a trail and error and discovered if the ranges are not identical in number of cells it will give #n/a. Any solution on that ?
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks, to do non matching ranges adds a whole extra level of complexity. You’d likely need to concatenate each row using TEXTJOIN and then use XMATCH or COUNTIFS to identify differences in both directions
@SamsungA-wv5bh
@SamsungA-wv5bh 2 года назад
Will 'mycompare' function be available to use in this workbook or can we use it in another excel files without writing function from scratch?
@AccessAnalytic
@AccessAnalytic 2 года назад
It is then available in all Excel files
@SamsungA-wv5bh
@SamsungA-wv5bh 2 года назад
@@AccessAnalytic Thanks a lot
@CasparusBadenhorst
@CasparusBadenhorst 2 года назад
Brilliant I have subscribed to this channel.Very handy and really good. Can differences be highlighted when the records of the two sets of data are not laying next to each other? Then further if one set of data have more records than the other set of data and the records are randomly spread across the two sets of data, are a tool avaialbe to do a comparison?
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks Casper, you’d then need some common key between the tables or concatenate the entire row and find which rows don’t match but it would be difficult in the case of duplicates
@sebfromgermany3819
@sebfromgermany3819 2 года назад
Dear Caspar, I use PQ for the procedure you’re looking for. Load both tables into PQ, combine the columns in a new column (Text.Combine with a unique separator, eg „¿“). In another query you combine the tables with an outer join. With some if statements you can categories the comparison into „no changes“; „changes“; „record deleted“ and „record added“ So far I used conditional formatting to highlight the changes. I will check how I can use Wyn‘s procedure in a button with a makro. What do you think? Cheers Seb
@wayneross7324
@wayneross7324 2 года назад
This is a great item to use the Lambda function to supply the ranges. Then no autocorrect would be necessary. I appreciate the trick though.
@AccessAnalytic
@AccessAnalytic 2 года назад
Yep, if you have Lambda version of Excel that can be a good option, and you then need to copy the Lambda from another workbook or your Gist.
@paspuggie48
@paspuggie48 2 года назад
Brilliant and I'd say it is much better than the Excel spreadsheet compare tool. Ironically I've just been asked to do the for my customers and would be a perfect solution, although I'm not sure we have Dynamic Arrays in our versions (yet). Without sounding like a numpty Wynn, the PQ challenge solution you linked to looks different to this compare solution. Or am I missing something?
@AccessAnalytic
@AccessAnalytic 2 года назад
Thanks Paul, the PQ challenge I mentioned was just flagging WHY i came up with this technique. It was a quick way to check that folks’ submissions to the challenge met the expected result 😁
@paspuggie48
@paspuggie48 2 года назад
@@AccessAnalytic Spot on Wynn, I'm going to have a play with my Excel version and see if I can reach anywhere near your excellent solution :)
@paspuggie48
@paspuggie48 2 года назад
@@AccessAnalytic not being able to show you what I have to compare but it is a lot of data in two tables but least to say I've just replicated what you have developed and it works a charm...well done Wynn and thank you!
@AccessAnalytic
@AccessAnalytic 2 года назад
@@paspuggie48 - that's great
@iankr
@iankr 2 года назад
Superb. Rather than having to get to the Autocorrect dialog via File | Options, is it possible to put a button for it on the QAT?
@AccessAnalytic
@AccessAnalytic 2 года назад
Could do you’d need to create a quick macro that enters the helper formula into a cell
@GeertDelmulle
@GeertDelmulle 2 года назад
Yes, I have that Autocorrect button on my QAT in all my office apps. I use it a ton for language abbrevs, and a couple of formulas, courtesy of a previous Access Analytic video. :-) Wyn, why not put it into a LAMBDA?
@AccessAnalytic
@AccessAnalytic 2 года назад
@@GeertDelmulle Lambda is not available yet (other than on the insider channel) and the Lambda will then only be available in a specific workbook
@AccessAnalytic
@AccessAnalytic 2 года назад
Sorry, I misread your question Ian, yes there is an Autocorrect Options button if you customise your QAT, pick ALL, and then search for AutoCorrect Options
@juja2819
@juja2819 2 года назад
Could be a dum qustioin....but what QAT stands for?
@jecvman
@jecvman 2 года назад
You could do that with Conditional formatting as well, easier and shorter
@AccessAnalytic
@AccessAnalytic 2 года назад
Yep for a small data set simple conditional formatting would be perfect
@tabs9332
@tabs9332 2 года назад
How?
@AccessAnalytic
@AccessAnalytic 2 года назад
Highlight all of one set and choose conditional formatting using formula then a formula like =A2H2
@SamiElzaim
@SamiElzaim 2 года назад
👍🏼👍🏼👍🏼
@AccessAnalytic
@AccessAnalytic 2 года назад
👍🏼
@garylhaas2005
@garylhaas2005 2 года назад
I am not worthy - my head just blewup
@AccessAnalytic
@AccessAnalytic 2 года назад
Hah! Cheers Gary 😀
@JJ_TheGreat
@JJ_TheGreat Год назад
2:14 But is it in Excel 2021?
@AccessAnalytic
@AccessAnalytic Год назад
Yep should do. Dynamic Arrays are part of Excel 2021
@TheJingleman
@TheJingleman 3 месяца назад
Doesn't work
@AccessAnalytic
@AccessAnalytic 3 месяца назад
You need Excel 2021 or 365
@TheJingleman
@TheJingleman 3 месяца назад
I have an up to date subscription to office 365, this formula is not listed and typing the word does not work. I am not familiar with this formula at all and I have been using excel since moving from lotus 123 30 years ago 🤷‍♂️
@AccessAnalytic
@AccessAnalytic 3 месяца назад
@TheJingleman have you watched how I created the formula?
Далее
Combining Excel Tables in a highly flexible way
12:18
3 Essential Excel skills for the data analyst
18:02
Просмотров 1,5 млн
ЮТУБ БЛОКИРУЮТ?
02:04
Просмотров 544 тыс.
Compare Two Lists Using the VLOOKUP Formula
12:49
Просмотров 2,9 млн
Dynamic Arrays and Lookup Tables
11:24
Просмотров 9 тыс.
How and why to Unpivot data with Power Query
16:40
Просмотров 42 тыс.
Excel FILTER Function + Trick to Rearrange Column Order
10:17
Excel How To Compare  Two Tables in a Second
6:12
Просмотров 299 тыс.
This is how I ACTUALLY analyze data using Excel
24:05
Просмотров 105 тыс.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
ТОРТ ИЗ АРБУЗА С ГУСЯМИ🤪🍉
1:00