Allow multiple entries in Data validation

hcabs99

Active Member
Joined
May 9, 2006
Messages
257
Hi All

Is there any way you can allow multiple entries to be selected and shown using data validation (or something else)?

I have a spreadsheet which i have lifted off a list in sharepoint for some external users who do not have access to our network. The Sharepoint list allows the users to make multiple selections from certain cells and i would like to be able to do the same with the excel sheet

Many thanks

Phil
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
I think what you're describing is a ListBox with its Selection Type set to Multi or Extend.

Create a ListBox by clicking Developer, then the crossed hammer-and-spanner Insert icon, then select a ListBox and click-drag-drop it on your worksheet.

Is that what you're looking for?
 
Upvote 0
Many thanks, how do i select Developer? I am in Excel 2007





I think what you're describing is a ListBox with its Selection Type set to Multi or Extend.

Create a ListBox by clicking Developer, then the crossed hammer-and-spanner Insert icon, then select a ListBox and click-drag-drop it on your worksheet.

Is that what you're looking for?
 
Upvote 0
Excel does not allow multiple entries in the same cell, but it does allow a single delimited string to be put in a cell. VBA code would be needed to translate the users (multiple) selections into a delimited string.

Also, multiple data in a single cell causes headaches, so splitting each of the choices into its own cell would be desirable.
 
Upvote 0
Everything Mike said - agreed.

After you've allowed your user to select multiple values from the list, what do you intend to do with them? Place them in a single cell? Multiple cells? Something else? Any way, you're going to have to use VBA.

Developer is in your menu bar to the right of View. If it's not there, click the Office button > Excel Options > Popular > Show Developer tab in the Ribbon.
 
Upvote 0
Everything Mike said - agreed.

After you've allowed your user to select multiple values from the list, what do you intend to do with them? Place them in a single cell? Multiple cells? Something else? Any way, you're going to have to use VBA.

Developer is in your menu bar to the right of View. If it's not there, click the Office button > Excel Options > Popular > Show Developer tab in the Ribbon.


Single cell, yes. i want to be able to put the data back into my sharepoint list which already has multiple entries.. I think, i will do something simple using concatenate before uploading. Thanks for all the advise with this both!
 
Upvote 0
Hi Mike,

can you please help on this issue , I want to select the particular values in the data validations present in the cells b1 and b2 , based upon the selections there will be data change in the below rows here i need to paste the values in another sheet please help on this

Regards
Karthik
 
Upvote 0
If you have a cell with cell validation, it can be filled by either choosing from the list, typing a list item into the cell or with a VBA command like someCell.Value = "x".

How did you want the user to select the values for B1 and B2?
 
Upvote 0
Here are simple videos and VBA codes for data validation with multiple selection.

regular dropdown list multiple selection for whole page https://www.youtube.com/watch?v=n1y9GZH4Kp4

Data validation drop down list with multiple entries without duplicates, VBA code for spesific column https://www.youtube.com/watch?v=k2BzCaQo06g

Data validation drop down list with multiple entries without duplicates. Reselecting from dropdown list deletes previously selected items. VBA code for spesific column https://www.youtube.com/watch?v=cRpTzOnaf48
 
Upvote 0
Thank you for the very good videos! However, this is not really what I'm looking for. I'm not trying to use a data validation list in this example; rather, I need to allow the user to enter any value and only raise a warning if the value intersects a timeframe that has been entered earlier in the column. For example, in the spreadsheet visible at Imgur: The most awesome images on the Internet, when the user entered the value '0800' in cell G31, and '1230' in G33, the data validation should throw a warning because these times have already been entered in the time ranges earlier in the column.

I don't understand how the videos you linked can help with this problem. Is there another way to solve this?
 
Upvote 0

Forum statistics

Threads
1,224,559
Messages
6,179,515
Members
452,921
Latest member
BBQKING

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