Google Answers Logo
View Question
 
Q: Keeping non-numbers out of Excel cell ( No Answer,   2 Comments )
Question  
Subject: Keeping non-numbers out of Excel cell
Category: Computers
Asked by: jhabley-ga
List Price: $5.00
Posted: 22 Feb 2003 22:42 PST
Expires: 22 Feb 2003 23:08 PST
Question ID: 165879
I am making a spreadsheet where I need to prevent people from entering
anything other than a number in a particular cell. (The entire
worksheet will be locked except for a single, critical cell. This cell
can only contain numbers.)  How do I lock out any character other than
0-9?  If locking out is impossible, can I construct an IF statement to
provide an error message?

I currently have a cell next to it meant to catch numbers higher than
90, and that cell's formula is:
=IF(B7>90,"Contributions over 90 minutes are negotiable.","")

Perhaps there is some way of saying "If B7=(everything other than
0-9),"Numbers only please."
Answer  
There is no answer at this time.

Comments  
Subject: Re: Keeping non-numbers out of Excel cell
From: googlenut-ga on 22 Feb 2003 23:06 PST
 
Hello jhabley-ga,

I believe the feature that you are looking for is called Data
Validation (under "Data" on the Excel menu).  I've only used it once
or twice, so I'm not qualified to give you a full answer.

Good luck.

Googlenut
Subject: Re: Keeping non-numbers out of Excel cell
From: jhabley-ga on 22 Feb 2003 23:08 PST
 
Thanks googlenut, I'll try to track it down at my end then. :)

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy