Restrict input to only one value per row for a specified range

How would I restrict input to only one value per row for the range D12:K12. The range for the second row would be D13:K13 and so on. There should only be one value in the specified range for each row. The value is any number between 0-99999
zerogAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Rgonzo1971Connect With a Mentor Commented:
Hi,

pls try

=AND(MOD(D12,1)=0,AND(D12>=0,D12<=99999),COUNT(D12:K12)<2)

Open in new window

in your data validation to test if is an integer,  it is between 0 and 9999 and is there only one value per row

Regards
0
 
Rob HensonFinance AnalystCommented:
You can use the Custom option in Data Validation with a formula:

=COUNT($D12:$K12)<2

Thanks
Rob H
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.