Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Frankc
 
Posts: n/a
Default Can I limit a cell to 2 characters?

Is there a way in Excel to limit the number of characters in a cell?

Thanks
Frank
  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

By checking the length of the cell
=LEN(A1)=2
in your custom validation.

Look for Data Validation on Debra Dalgleish's site.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Frankc" wrote in message ...
Is there a way in Excel to limit the number of characters in a cell?

Thanks
Frank



  #3   Report Post  
ellmcg
 
Posts: n/a
Default

You can do it directly, using Data -- Validation, and choosing text length.

"David McRitchie" wrote:

By checking the length of the cell
=LEN(A1)=2
in your custom validation.

Look for Data Validation on Debra Dalgleish's site.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Frankc" wrote in message ...
Is there a way in Excel to limit the number of characters in a cell?

Thanks
Frank




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
a way to limit the characters allowed in a cell? EmRit24 Excel Worksheet Functions 3 April 29th 05 09:30 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
limit number of characters in a cell abfabrob Excel Discussion (Misc queries) 9 February 11th 05 04:19 PM
#### error if cell has more than 255 characters Budalacovyek Excel Discussion (Misc queries) 1 December 8th 04 06:42 PM


All times are GMT +1. The time now is 02:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"