INDIRECT & XLOOKUP (or VLOOKUP if I have to for dependent dropdowns ...

adambc

Active Member
Joined
Jan 13, 2020
Messages
380
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
I have followed Easy Steps Excel Dependent Drop Down List Data Validation &
to the letter ...

... but I still get this error How to avoid broken formulas - Microsoft Support if I enter =INDIRECT(XLOOKUP([@DeptShort],DeptShortName[DeptLongName],DeptShortName[DeptShortName]))

... and if I enter =INDIRECT("XLOOKUP([@DeptShort],DeptShortName[DeptLongName],DeptShortName[DeptShortName])") I get "The source currently evaluates to an error. Do you want to Continue?"

DeptShort is calculated using the XLOOKUP formula from another column (Dept) and if I add a column DeptShort and refer to cell in DeptShort direct ie =INDIRECT(columnrow) it works ...

Can anyone help me because i) I really don't want the DeptShort column and ii) I really do prefer names rather than cell references

Thanks ...
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Anyone with any ideas why this isn’t working please?
 
Upvote 0

Forum statistics

Threads
1,215,824
Messages
6,127,108
Members
449,359
Latest member
michael2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top