Two Data Validations in a Single Cell

hrayani

Well-known Member
Joined
Jul 23, 2010
Messages
1,490
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I need to apply two data validations in a single cell. One is the name and other is a text

1) =validation_customers (This one is a named range)
2) ALL (This one is a simple Text)

I would like to know how to apply these two in a single cell.

Any help would be appreciated.

Regards,

Humayun
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
If you want it to show as a drop-down list, you'll need to add ALL to your validation_customers range. If you want the user to type the name manually, you can use this custom DV formula:

=OR(ISNUMBER(MATCH(H1,validation_customers,0)),H1="all")

where H1 is the cell it's in.
 
Upvote 0
Hi Eric,

Thanks for the reply.

Its not working.... getting a msg (The list source must be delimited list, or a reference to a single row or column)

Any idea ??

Thanks
 
Upvote 0
oh... i was trying in the List Option

Now working perfect

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,415
Messages
6,119,382
Members
448,889
Latest member
TS_711

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