Power Query
Power Query
Power Query and Excel by using Data Validation, Power Query, and a Dynamic
Named Range. Here’s a detailed step-by-step guide to make this work seamlessly.
3. Click the Expand Icon ( ) next to Supplier List, keeping only the Supplier
Name column.
excel
CopyEdit
=FILTER(A2:A100, B2:B100=B1, "No suppliers found")
This will display only the supplier names based on the selected category.
For older versions without FILTER, use Helper Columns and the following array
formula:
excel
CopyEdit
=IF(B2=$B$1, A2, "")
excel
CopyEdit
=INDEX(A:A, SMALL(IF(C:C<>"", ROW(A:A)), ROWS($D$2:D2)))
Final Outcome
When you select a category in B1, the supplier names update dynamically.
If no suppliers exist in a category, "No suppliers found" appears.
The dashboard updates automatically when new data is added.