Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 183
Default Microsoft Excel 2002

How to specify cell length with text and leading spaces?
I want a cell to have only 35 text characters; however, I want the text I
enter to be counted with leading blank spaces. Similar to the leading 0
function that can be configured in the Format Cell, Number, Custom to mandate
4 number spaces where the number 12 is entered into the cell however with 4
number spaces (e.g. 0000) what will show up in the cell is 0012.

In the Format Cell, Number, Custom the " "@ does not include the text
after the @ in the total count rather this function ADDS text entered into
the cell after the @ so if count between the quotes" " is 35 the text
entered into the cell (e.g. gate) the total characters in the cell is 39.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Microsoft Excel 2002

Use Data Validation Custom Formula is:
=len(B9)<36

for cell B9
--
Gary''s Student - gsnu200747


"Sharon" wrote:

How to specify cell length with text and leading spaces?
I want a cell to have only 35 text characters; however, I want the text I
enter to be counted with leading blank spaces. Similar to the leading 0
function that can be configured in the Format Cell, Number, Custom to mandate
4 number spaces where the number 12 is entered into the cell however with 4
number spaces (e.g. 0000) what will show up in the cell is 0012.

In the Format Cell, Number, Custom the " "@ does not include the text
after the @ in the total count rather this function ADDS text entered into
the cell after the @ so if count between the quotes" " is 35 the text
entered into the cell (e.g. gate) the total characters in the cell is 39.

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
Microsoft Visual Basic errors displaid when opening Microsoft Word 97 & Excel (7 JJ mac Setting up and Configuration of Excel 7 June 14th 07 06:54 PM
Microsoft Query is lost when opening Excel 2002 file dlb Excel Discussion (Misc queries) 0 January 24th 07 12:29 AM
microsoft woord 2002 DEH Excel Discussion (Misc queries) 2 May 23rd 05 07:33 PM
Microsoft Office 2002 Excel sheets Lady Rhyanon Excel Discussion (Misc queries) 0 February 23rd 05 05:27 PM
Problem accessing Oracle Public Synonyms from Microsoft Excel 2002 Sandeep Excel Discussion (Misc queries) 1 January 5th 05 09:31 AM


All times are GMT +1. The time now is 02:38 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"