I'm creating data validation in Google Sheets that I would like to be able to accept either:
I can see how to do either of these separately in separate cells using the "List from Range" or "Number" options but I don't see how to do both in the same cell.
I think I have a data validation formula that combines those two sets of criteria.
=or(and(D1>0,D1<=100),iferror(Match(D1,A2:A5,0)>0),0)
Enter the desired extra values, eg. 250, 999, in cells A2:A5. Then apply the data correction formula to a cell, such as D1.
Here is a samle sheet. https://docs.google.com/spreadsheets/d/16cC7YKYLiG76Rn4tFSIraD1RILwsT0GQyymPat1WM-g/edit?usp=sharing
Let me know if this doesn't achieve the result you want, and I'll try again!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.