Solved

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

Posted on 2014-03-20
2
261 Views
Last Modified: 2014-03-20
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
0
Comment
Question by:zerog
2 Comments
 
LVL 31

Expert Comment

by:Rob Henson
ID: 39941737
You can use the Custom option in Data Validation with a formula:

=COUNT($D12:$K12)<2

Thanks
Rob H
0
 
LVL 48

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 39941824
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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now