ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Data Validation Query (https://www.excelbanter.com/excel-discussion-misc-queries/127843-data-validation-query.html)

ALEX

Data Validation Query
 
In my current worksheet, I have a setup for each individual person, and with
2 of my fields I have in list boxes, Title (Mr,Mrs,Miss,Ms) and Gender
(Male,Female). I would like to be able to put a condition in place that would
show an error message if Female was entered into the Gender field when Mr was
selected, and if Mrs,Miss,Ms was selected when Male was chosen in the gender
field.

Is there anyway of doing this, considering they are both list boxes?

Bob Phillips

Data Validation Query
 
See response in worksheet.functions

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Alex" wrote in message
...
In my current worksheet, I have a setup for each individual person, and

with
2 of my fields I have in list boxes, Title (Mr,Mrs,Miss,Ms) and Gender
(Male,Female). I would like to be able to put a condition in place that

would
show an error message if Female was entered into the Gender field when Mr

was
selected, and if Mrs,Miss,Ms was selected when Male was chosen in the

gender
field.

Is there anyway of doing this, considering they are both list boxes?





All times are GMT +1. The time now is 04:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com