Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
peteru9067
Helper III
Helper III

Excel Formula to auto generate a drop down list based on an Xlookup formula from another cell

I am a supervisor, I have 4 employees that I am managing. I have an excel workbook with several sheets with pre-defined tables. Sheet1 contains a list of 10 Tasks with 4 Strategic Themes. Each task is assigned a strategic theme. Sheet2 contains a Matrix Table, Strategic Themes in reference cell A1:E1 for the 4 strategic themes and underneath each strategic theme I have list of Objectives and they are in reference cell A2:E6. My expectation is for all my employees to go into sheet3 and fill it out accordingly. In sheet3, initially at the start will only have the following headers with all rows empty. Column A will be "Task", Column B will be Strategic Theme, and Column C will be Objectives. Employee 1 will go into the worksheet (sheet3) and click in reference cell A2 and a dropdown list of all the tasks will appear. Employee will select a Task and automatically Column B will auto populate because in Table 1 All tasks have been assigned a Strategic theme. So there is nothing expected for the employee to do in Column B. Employee 1 will proceed to Column C which will now have a dropdown list based on the strategic theme that was auto populated in column B and Table 2 where each Strategic Theme is assigned a list of Objectives. The expectation is for the employee to select an objective from that dropdown list. That completes the mission for employee 1. Then whenever employee 2 is available they will go into the same workbook and continue on the next row down and perform the same thing employee 1 did. A macro or excel calculation will work for me.

Note: I have generated the drop down list for column A "Task" and used XLookup to auto populate Column B "Strategic Theme" but my struggle is with Column C "Objective". It seems like the Data Validate doesn't like a reference formula inside another formula i.e., the Xlookup formula in Column B

 

Table 1 (sample with 5 tasks and Strategic Theme ST)

TasksStrategies
Task1ST1
Task2ST3
Task3ST1
Task4ST2
Task5ST4

 

Table 2 Matrix (Strategic Theme ST and Objectives OBJ)

ST1ST2ST3ST4
OBJ1OBJ4OBJ6OBJ7
OBJ2OBJ5 OBJ8
OBJ3  OBJ9
1 REPLY 1
lbendlin
Super User
Super User

You may have more success if you post this in the Excel forums?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors