Share via

INDIRECT function isn't working for my Dependent Dropdown List

Elliot 20 Reputation points
2026-01-31T21:43:41.6866667+00:00

I'm trying to create a dependent dropdown list on Excel (online on my Mac computer) via the Data Validation method but when I try using the indirect function, it keeps on giving me back an "error" notification. I even made the 3 types of food as lists and even tried them as tables.

If I have it written as =indirect($H$15) sometimes it works and sometimes it doesn't. I've followed a few other video tutorials and they always have it written without the $ signs but it still doesn't work. I've been trying to figure things out on my own for the past 2-3 weeks, but I still haven't found out what to do. The app on my computer is outdated (so it won't save my progress there) but this same method works just fine. Is there a bug for the online version for some reason? Because I did the same exact stuff on both but it won't do it at all on the online version.

Screenshot 2026-01-31 at 2.34.32 PM

Microsoft 365 and Office | Excel | For home | MacOS
0 comments No comments

Answer accepted by question author

Marcin Policht 90,150 Reputation points MVP Volunteer Moderator
2026-01-31T21:49:41.3466667+00:00

As far as I can tell, the problem isn’t with the $ signs or even your use of INDIRECT itself—it’s how Excel Online handles named ranges and the INDIRECT function compared with the desktop version. In Excel for Mac/Windows, INDIRECT works with both direct cell references and named ranges, but Excel Online has some limitations: INDIRECT does not always work with dynamic named ranges or table references, especially if the ranges are not defined as named ranges in the Name Manager.

Right now, you have your lists in columns A, B, and C. To make =INDIRECT(H15) work in Excel Online, try the following:

First, give each of your lists a proper named range. Select the list under “Fruit” (A16:A18), go to Formulas → Name Manager → New, and name it exactly Fruit. Do the same for “Vegetable” (B16:B18) and “Meat” (C16:C18). Make sure the names exactly match what appears in H15—no extra spaces, no special characters, capitalization doesn’t matter.

After that, in the Data Validation for the Category column (I15 and below), set Allow to List, and in Source, write:

=INDIRECT(H15)

Do not use table references like Table1[Fruit]—Excel Online will reject that in INDIRECT. It only works with named ranges or direct cell references.

Also, check that your H15 values match the named ranges exactly. If there’s even an extra space before/after, INDIRECT will likely fail.


If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

hth

Marcin

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.