Hello,
I want a data validation droplist with empty cell as an option. I do not want to create a source list somewhere in the sheet, I want, that empty cell was described/programmed in data validation only.
Is that possible?
Hello,
I want a data validation droplist with empty cell as an option. I do not want to create a source list somewhere in the sheet, I want, that empty cell was described/programmed in data validation only.
Is that possible?
i was probably unable to completely understand your question.
if you want to create a Data Validation list without a source list in a sheet, then just put the values in the Source box separated by commas, such as, "January, February, March" (without the quotes). if you want to allow a blank value to be selected, just do not select anything at all in the cell.
- i.s.z -
CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
All good ideas are courtesy resources from this forum as well as others around the web.
- e.o.m -
Sorry, my english is not perfect, but you understood, what I wanted to say. I want to allow a blank value to be selected and without a source list in a sheet. The bad thing is that if I once select something from the list - there is no way to make that cell look blank again.
Hi,
If you select "Ignore Blanks" you can simply delete your selection from the cell to return it to blank.
Steve
If you simply hit delete, the cell will be cleared, and your validated data will stil be there. You can also leave the top cell of your list empty.
If you "clear contents" or hit delete or if you backspace over the entry (therefore clearing it), there should not be an issue changing the value. In the Data Validation Window, make sure "Ignore Blank" is checked.
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
that is right - leave alone the first, any blank value inserted in a intrinsic Data Validation Source is disregarded (blanks anywhere in the list). but, mind you, white spaces around a value are indeed regarded, i.e, 'a,b,' and 'a , b ,' are values with different lengths when they show up in the dropdown list.
This can seem confusing, at first.
The Data Validation's LIST option is meant to point to a list in the spreadsheet.
The manual entry of actual values in the LIST box is just a 2nd method.
So, create a list somewhere in your spreadsheet that lists all possible values.
In my case, I had a legend at the top of the sheet with the values I wanted to allow.
E.g., A1=Y, A2=N, A3=(blank), A4=?
Note that A3 is just a blank cell - not the text "(blank)"
I then selected that vertical list and set its range name to "Status_List"
Finally, in the validation option's LIST box, I entered =Status_List
Voila. The drop down shows Y, N, (blank), and ?
Even better, any time you want to change the list, just change the range of values.
Every Validation option using Status_List will instantly be updated.
So there is not need to manually edit one cell's validation and copy to all others.
Last edited by xorex; 03-24-2017 at 03:45 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks