Dependent Dropdown Lists in Excel with Power Query & Dynamic Arrays

preview_player
Показать описание
When we build models in Excel we must anticipate crazy entries. In this tutorial we try to prevent crazy matches between labels and containers. A 4x5 label won't fit on our 3-ounce spray bottle, and a 1x1 label would look crazy on a 1-gallon jug.

First, we use Power Query and Unpivot to organize our source data. Then, we use the new functions UNIQUE and FILTER to make the dependent drop down lists, taking advantage of Excel's new calculation engine.

Those work fine, but there's a known problem with dependent dropdown lists (aka cascading dropdown lists): it's easy to end up with crazy matches because the lists don't re-set. It's easy to select something with the child list and then change the parent list to something crazy. I handle this by using COUNTIFS and the WingDings font to flag crazy entries; i.e. create an alert.

#DynamicArrays
#DropdownLists
#DataValidation

======

For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:

My book: Guerrilla Data Analysis 2nd Edition

Рекомендации по теме
Комментарии
Автор

The flag is smart! These dynamic arrays make our lives SO MUCH easier. Can't wait for it to be available for everyone.

LeilaGharani
Автор

Just received Guerrilla Data Analysis as a gift. Can't wait to get done with work today to go and read it!

chadde
Автор

Cool tricks.. love that Barry White (?) vibe. Also, like the flag flag.. nice touch. Thanks and thumbs up!

wayneedmondson
Автор

Such a useful solution Oz. You are killing me with all the uses for dynamic array formula when I have an old version of Excel 😭

GrainneDuggan_Excel
Автор

Nice recipe with different ingredients

vida
Автор

Minute 03:26 ....those tunes and the moaning = The Oz Style ! 🤣

recalcordie
Автор

nice video! but it doesn't work as declared on the title. do you have any improvement on this?

BlueCollarEngineer
welcome to shbcf.ru