ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Validation (https://www.excelbanter.com/excel-discussion-misc-queries/27471-validation.html)

Shawn

Validation
 
I have this formula in a data valadation: =C9=Yes

This won't allow any entry into this cell but "Yes".

I would like a formula that would allow a "Yes" or a "No".
--
Thanks
Shawn

Bob Phillips

Use the List function and add Yes and No to that list.

--
HTH

Bob Phillips

"Shawn" wrote in message
...
I have this formula in a data valadation: =C9=Yes

This won't allow any entry into this cell but "Yes".

I would like a formula that would allow a "Yes" or a "No".
--
Thanks
Shawn




Domenic

Try...

=(C9="Yes")+(C9="No")

Hope this helps!

In article ,
"Shawn" wrote:

I have this formula in a data valadation: =C9=Yes

This won't allow any entry into this cell but "Yes".

I would like a formula that would allow a "Yes" or a "No".


Chip Pearson

Try

=OR($C$9="Yes",$C$9="No")


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Shawn" wrote in message
...
I have this formula in a data valadation: =C9=Yes

This won't allow any entry into this cell but "Yes".

I would like a formula that would allow a "Yes" or a "No".
--
Thanks
Shawn





All times are GMT +1. The time now is 01:57 PM.

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