Error when creating a dynamic dropdown with reference to table

san92

New Member
Joined
Jul 31, 2023
Messages
1
Office Version
  1. 365
  2. 2021
Platform
  1. MacOS
Hello everyone, I'm new to the forum and unfortunately could not find a solution to my problem by means of the search function and hope that I do not ask anything here now that has already been answered.


To get straight to the point:
When creating a dynamic drop-down list via the data validation mask, I get an error message when I specify a reference to a table as the source.

I have attached a screenshot as an example:
In the worksheet "Table 1" I have the table "Name", which I want to use as source for the drop-down menu. I have renamed this table to "Name". In the worksheet "Table 2" is the table for which I want to use the drop-down menu (in column "Name selection").
In the next screenshot I have called the data validation and entered "=Name" as source.
Subsequently, I always get the same error message (last screenshot).
I have now also already changed the table name, but then get the message that the name already exists. When checking via the name manager, however, nothing is listed.... It's all a bit confusing for me and I would appreciate some help.
Does anyone have a tip for me, or can possibly tell me what to google or search here in the forum to find the solution, if it is already a frequently asked problem?


Thank you so much
 

Attachments

  • Bildschirmfoto 2023-07-31 um 22.29.24.png
    Bildschirmfoto 2023-07-31 um 22.29.24.png
    78 KB · Views: 23
  • Bildschirmfoto 2023-07-31 um 22.29.05.png
    Bildschirmfoto 2023-07-31 um 22.29.05.png
    107.8 KB · Views: 19
  • Bildschirmfoto 2023-07-31 um 22.31.25.png
    Bildschirmfoto 2023-07-31 um 22.31.25.png
    152.6 KB · Views: 20
  • Bildschirmfoto 2023-07-31 um 22.31.32.png
    Bildschirmfoto 2023-07-31 um 22.31.32.png
    198.4 KB · Views: 24

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Did you create "Name" as a named range or as an Excel Table? If it is a Table, in the data validation, try entering
Excel Formula:
=INDIRECT("Name[Name]")

The first "Name" in the formula is the name of your table, and the second "Name" is the name of the column.

So if your Table is called "Name", and your column header is "Name Selection", formula would be
Excel Formula:
=INDIRECT("Name[Name Selection]")
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,313
Members
452,634
Latest member
cpostell

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