ExcelBanter

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

BethO

Data Validation
 
I would like to allow only 1 response in one of four cells. What formula
would I use to check if other cells are null?

Mike H

Data Validation
 
Hi,

Fir text responses try

=COUNTA(A1:D1)1

or numeric

=COUNT(A1:D1)1

Mike

"BethO" wrote:

I would like to allow only 1 response in one of four cells. What formula
would I use to check if other cells are null?


BethO

Data Validation
 
Sorry I didn't explain my question very well. What I really need is this.

If C8 = "x" then C9:C12 must be null

or if C9 = "x" then C8, C10:C12 must be null

or if C10 = "x" then C8:C9, C12 must be null
etc.

I have 4 cells and only 1 can contain an "X". I also need to an have error
message pop up to say "only 1 selection allowed"

Thanks

"Mike H" wrote:

Hi,

Fir text responses try

=COUNTA(A1:D1)1

or numeric

=COUNT(A1:D1)1

Mike

"BethO" wrote:

I would like to allow only 1 response in one of four cells. What formula
would I use to check if other cells are null?



All times are GMT +1. The time now is 11:50 PM.

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