ExcelHash 2019: Snakes & Regs – XOR, Dynamic Arrays, Linked Picture, Icon

Excel Hash is back! 4 ingredients, 5 contestants and we all had to create a solution that integrates all 4 ingredients.

The Contestants:
Mr. Excel, Bill Jelen
Mynda Treacy
Jon Acampora
Leila Gharani
Oz du Soleil

The Ingredients:
XOR, a Linked Picture, a Dynamic Array function, an Icon

Here is the link to the playlist to see all videos

URL for voting:
https://forms.office.com/Pages/ResponsePage.aspx?id=QXR5-MbycU6IQ9aFc_tUvFg-bImtIN1EqJE5kvHXqKxURUw4RlIxUFFRT1FSWTkxR0g0MzBHVUdNQi4u
#ExcelHash
#XOR
#ExcelonFire

For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
https://www.linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning
Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition

My old blog: http://datascopic.net/blog-2-2

XLOOKUP v3.0; Power Query Import from Web; Intellisense, Text.Length

We put a lot together in this superbly delicious Excel tutorial. We start with the revised XLOOKUP version 3.0 which has the “if not found” component moved to the 4th position instead of the 6th.

Then we move to import data from a webpage and clean the data using Power Query’s FILL Down, Text.Length and other feature. Then, the final component in this deliciousness is a Left Outer Join. It’s all here for your delight.

For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
https://www.linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning
Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition

My old blog: http://datascopic.net/blog-2-2

#XLOOKUP
#PowerQuery
#MSExcel

The Majesty of DUPLICATE QUERY in Power Query

Duplicate Query in Power Query is underused and under-discussed. This video shows one way to use Duplicate Query to save from doing a lot of work over and over again.

This video also shows split column; split column non-digit to digit; a little M-code. There’s great stuff to keep you from having to work so hard to get cooperation from your data.

For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
https://www.linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning
Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition

My old blog: http://datascopic.net/blog-2-2

Creating Fake Data in Excel: random dollar amounts & dates using RANDARRAY & TEXT

To do training we need fake data (dummy data) to work with. In this video I show how to use RANDARRAY and the TEXT function to create a list of dummy transactions. This solution also takes advantage of Dynamic Arrays and the new calculation engine behind Excel. We also generate a list of fake dates.

Power Query Tips & Techniques Course
https://www.linkedin.com/learning/excel-power-query-tips-and-techniques-office-365/what-you-should-know?u=2125562
For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
https://www.linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning
#DynamicArrays
#RANDARRAY
#FakeDataGenerator

Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition

My old blog: http://datascopic.net/blog-2-2

Full Anti-Join and the New XLOOKUP with “if not found”

This video is a 2-for-1. You get the new XLOOKUP and a Full Anti Join in Power Query (Get & Transform).

What is a full anti-join? If there was a class held on Monday and Wednesday and you’d like to know who attended one session or the other BUT NOT BOTH, you would need a full anti-join. One way to do this would be to do a left anti-join and then a right anti-join, then append the results.

Another way, as I show in this video, is to append the 2 datasets, create an inner join, then use an anti-join to isolate the people who are in one group or the other but not both.

XLOOKUP!
WOW! This was revised within the last 24 hours to include a 6th argument for: “if not found.”

This is exciting because a lot of times we’ll do a lookup and anticipate results where the lookup value isn’t found. The fix is to wrap a lookup formula in the IFNA function. No more!

The 6th argument, “if not found” is a valuable feature because we no longer need the extra step of wrapping IFNA around the formula. And the 6th argument is optional.

#FullAntiJoin
#PowerQuery
#InnerJoin
For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
https://www.linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning
Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition

My old blog: http://datascopic.net/blog-2-2

Use Power Query to Get Top X Scores and Tie Scores

What if you need the top 5 scores but there’s a 4-way tie for 5th? Well, we need to get all 8 people not just the top 5.

There are lots of videos showing how to extract the top X values in a list. But what about tie? This video shows how to use Power Query and consider tie scores.

You’ll see Power Query, drill down, duplicate query, and a little a little M-coding in order to get this done.

For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
https://www.linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning
Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition

My old blog: http://datascopic.net/blog-2-2

Extract a column of data from a Power Query table

After grouping data in Power Query, in this example, the data is exactly how we want it. It’s grouped into the right rows in the column.

BUT! It’s in a collapsed column of tables. If we expand, the data will fly apart. So, how do we get a column of data out of a table and keep the data in the appropriate rows and cells?

We have to use the Power Query function: Text.Column

In this video you’ll see
– Camera Tool
– using a line-feed as a delimiter
– how Table.Column is used
– Grouping in Power Query
– Extract values from a list

For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
https://www.linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning
Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition

My old blog: http://datascopic.net/blog-2-2

XLOOKUP: Search from the bottom and top of a list

More XLOOKUP!
This video shows how I would have completed a task 15 years ago if I had XLOOKUP available. Here, with a list of course completions, sorted by completion date, we need to calculate the number of days between the first completion and the last completion. And then see if there are any students who took more than the allowed 90 days.

This is complicated by 2 issues:
1. People taking the courses out of order.
2. Some people, not all, are required to take course 3A.

VLOOKUP can do the easy part and retrieve the first completion date for each person. XLOOKUP can do that. But XLOOKUP can also do the harder part of starting a search at the bottom of the list, and work upward. This is really exciting and shows how XLOOKUP is indeed the replacement for VLOOKUP.

Also in this video, we use dynamics arrays, the UNIQUE function, to extract the names of the students. UNIQUE, XLOOKUP! We’re really doing some Excel folks!

#XLOOKUP
#UNIQUE
#DynamicArrays

For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
https://www.linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning
Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition

My old blog: http://datascopic.net/blog-2-2

XLOOKUP and the XLOOKUP Perth Peace Summit

XLOOKUP is finally here! We have formally declared an end to the VLOOKUP vs. INDEX/MATCH drama. XLOOKUP gives us so much more power and flexibility than VLOOKUP and it’s a single formula unlike INDEX/MATCH which is a nested formula of 2 functions with their own syntax and quirks.

This video gives you a small taste of XLOOKUP. Also, this includes footage of the emergency XLOOKUP Peace Summit where fellow Excel MVP, Wyn Hopkins, and I signed a Declaration of Peace, ending the VLOOKUP vs INDEX/MATCH squabbling.

XLOOKUP will live on!

#XLOOKUP
#VLOOKUP
#INDEXMATCH

For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
https://www.linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning
Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition

My old blog: http://datascopic.net/blog-2-2