Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Urgent help needed? How do I limit the number of characters in a

I am using a program that limits the number of characters in a product model
number to 12 characters. my file currently contains may line items with
model numbers that exceed this limit.

how do I format the column to shorten the number of characters? I have
tried using the data validation but it did nothing for me. can you help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Urgent help needed? How do I limit the number of characters in a

Hi,

Data Validation should work for all new entries after you turn it on. For
items that were already entered you need to manually correct those. How you
do that depends on which 12 characters you want to retain, for example the
first 12 or the last 12.

Suppose your entries start in cell A2, then in an empty column enter the
formula =LEFT(A2,12) or =RIGHT(A2,12) and copy it down as far as necessary.
Convert these formulas to values and replace data in column A with these new
results.

--
Cheers,
Shane Devenshire


"greatdeals_007" wrote:

I am using a program that limits the number of characters in a product model
number to 12 characters. my file currently contains may line items with
model numbers that exceed this limit.

how do I format the column to shorten the number of characters? I have
tried using the data validation but it did nothing for me. can you help?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Urgent help needed? How do I limit the number of characters in a

hi
you cannot use formating to shorten the number of characters in a cell.
formating just changes the way the data looks, not the data inself.
but if you DO need to reduce the number of characters a column of cells then
look at the text to columns function. this splits data in a column into
different columns.
on the menu bar...Data text to columns...
you can probable use the fixed width function and snap a line at the number
of characters you need.
note: Add a column to the right of the column you want to parce for excel
will delete data to the right at parce.

regards
FSt11

"greatdeals_007" wrote:

I am using a program that limits the number of characters in a product model
number to 12 characters. my file currently contains may line items with
model numbers that exceed this limit.

how do I format the column to shorten the number of characters? I have
tried using the data validation but it did nothing for me. can you help?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Urgent help needed? How do I limit the number of characters i

THANK YOU THIS WORKED!!!

"FSt1" wrote:

hi
you cannot use formating to shorten the number of characters in a cell.
formating just changes the way the data looks, not the data inself.
but if you DO need to reduce the number of characters a column of cells then
look at the text to columns function. this splits data in a column into
different columns.
on the menu bar...Data text to columns...
you can probable use the fixed width function and snap a line at the number
of characters you need.
note: Add a column to the right of the column you want to parce for excel
will delete data to the right at parce.

regards
FSt11

"greatdeals_007" wrote:

I am using a program that limits the number of characters in a product model
number to 12 characters. my file currently contains may line items with
model numbers that exceed this limit.

how do I format the column to shorten the number of characters? I have
tried using the data validation but it did nothing for me. can you help?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 97
Default Urgent help needed? How do I limit the number of characters in a

Hi,

From main menu : Data Validation
Allow Text Length
Fill in the fields ...

HTH


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Urgent help needed? How do I limit the number of characters in a

Formatting and data|validation won't do anything to the existing values.

You could use a formula in another cell like:
=left(a1,12)
to grab the leftmost 12 characters.

greatdeals_007 wrote:

I am using a program that limits the number of characters in a product model
number to 12 characters. my file currently contains may line items with
model numbers that exceed this limit.

how do I format the column to shorten the number of characters? I have
tried using the data validation but it did nothing for me. can you help?


--

Dave Peterson
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
Help Needed Urgent BiggieD Excel Discussion (Misc queries) 7 April 19th 06 05:04 PM
Is there a limit number of characters for cells in pivot Tables? Portuga Excel Discussion (Misc queries) 2 March 15th 06 05:25 PM
Urgent help needed! skarbanan Excel Worksheet Functions 23 December 30th 05 10:56 PM
Limit the number of characters that a cell contains Donna Excel Worksheet Functions 1 October 13th 05 05:00 PM
limit number of characters in a cell abfabrob Excel Discussion (Misc queries) 9 February 11th 05 04:19 PM


All times are GMT +1. The time now is 03:50 PM.

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

About Us

"It's about Microsoft Excel"