» Restricting the Number of Characters Entered into a Cell
CATEGORY - Excel Text Formulas
VERSION - All Microsoft Excel Versions
Restricting the length of entries in column A to a maximum of 5 characters.
Solution:
Use Data Validation:
1. Select Column A.
2. Data --> Data Validation --> Settings --> Custom
3. Enter the following formula in the Formula box:
=LEN(A2)<6
4. Click OK.
If an entry is longer than 5 characters, an error message will pop up, forcing the user to try again.
Book Store:
Recommended Books:
- Investing for Dummies, Third Edition
- Writing Excel Macros with VBA, 2nd Edition
- The Intelligent Investor: The Definitive Book On Value Investing, Revised Edition
- Essentials of Investments with Standard & Poor's Educational Version of Market Insight + PowerWeb + Stock Trak Coupon
- Microsoft Access Version 2002 Step by Step
- The Laws of Money, The Lessons of Life: Keep What You Have and Create What You Deserve
No comments have been submitted.

