Forum Discussion
Create a drop down list in Excel on Sharepoint
I keep trying to create a drop down list in Excel on Sharepoint by going to data validation, select list and then I select the data for the list in the 5 rows I created on another tab (just like you do in excel when it isn't on sharepoint) but I keep getting a data validation error. What the hell is going on?
4 Replies
- SergeiBaklanDiamond Contributor
I can't reproduce that. For example, in Excel for web I stay on Sheet4 and added values to data validation list from Sheet5
Or what do you mean by "Excel on Sharepoint" ?
Try to fix by the following:
- Use a Named Range
- Go to the sheet with your list (in the desktop app).
- Select the 5 cells you want to use.
- Go to Formulas → Define Name → Give it a name like DropdownOptions.
- Then go to your dropdown cell → Data Validation → List → Type:
=DropdownOptions
- Save and upload the file back to SharePoint.
- Move the List to the Same Sheet
- Copy the 5 options to a hidden column on the same sheet.
- Use that range directly in your data validation.
- Use Excel Desktop to Set It Up
- Open the file in Excel Desktop.
- Set up the dropdown using the full feature set.
- Save and sync it back to SharePoint.
- Excel Online will usually respect the validation once it’s already in place.
- pradejainIron Contributor
ASourKraut Please mark this as resolved if it resolves your issue.
In Excel for the Web (SharePoint/OneDrive), data validation list ranges must be on the same sheet. The web version does not allow referencing ranges on other tabs — it just throws an error.
Solution
- Keep the list on the same sheet
- Move (or copy) your 5 rows of dropdown values to the same sheet where you want the dropdown.
You can hide these rows/columns later to keep things clean.
- ASourKrautCopper Contributor
Thanks, but that doesn’t help. The process for doing this in the windows application needs to be the same as the web version. There is absolutely zero reason why there should be any difference between the two applications.