#1   Report Post  
Posted to microsoft.public.excel.misc
Jon Jon is offline
external usenet poster
 
Posts: 183
Default [newbie]

Is it possible to get the length of a particular field. For example I would
like to copy the contents of an identification card, which has

- a number of numbers (n)
- ends with a letter which is usually M, L, A or something else :)

So basically I want to tell Excel to format the characters

From
nnnnn..A

where n is a number (0-9), A is an alphabetic character (A-Z), and,
the number of numeric characters in n... is unknown

I've tried playing about with the RIGHT functions but could not find any
functions for the "length of string" so I got stuck. Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 175
Default [newbie]

Hi

Would you post a sample how your current data is set up and the result
that you want.

if you want to know how many characters are in the cell, try this
=LEN(A2) and copy down

this will tell you the numbers of characters in a cell.

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"Jon" wrote:

Is it possible to get the length of a particular field. For example I would
like to copy the contents of an identification card, which has

- a number of numbers (n)
- ends with a letter which is usually M, L, A or something else :)

So basically I want to tell Excel to format the characters

From
nnnnn..A

where n is a number (0-9), A is an alphabetic character (A-Z), and,
the number of numeric characters in n... is unknown

I've tried playing about with the RIGHT functions but could not find any
functions for the "length of string" so I got stuck. Any ideas?

  #3   Report Post  
Posted to microsoft.public.excel.misc
Jon Jon is offline
external usenet poster
 
Posts: 183
Default [newbie]

Thanks :)

I figured out something like this would format the characters:

=LEFT('Employee information'!C2,LEN('Employee information'!C2)-1) & " " &
RIGHT('Employee information'!C2,1)


"Francis" wrote:

Hi

Would you post a sample how your current data is set up and the result
that you want.

if you want to know how many characters are in the cell, try this
=LEN(A2) and copy down

this will tell you the numbers of characters in a cell.

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"Jon" wrote:

Is it possible to get the length of a particular field. For example I would
like to copy the contents of an identification card, which has

- a number of numbers (n)
- ends with a letter which is usually M, L, A or something else :)

So basically I want to tell Excel to format the characters

From
nnnnn..A

where n is a number (0-9), A is an alphabetic character (A-Z), and,
the number of numeric characters in n... is unknown

I've tried playing about with the RIGHT functions but could not find any
functions for the "length of string" so I got stuck. Any ideas?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 175
Default [newbie]

Hi

Thank for the feedback. Am glad that this point you to the right direction
--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"Jon" wrote:

Thanks :)

I figured out something like this would format the characters:

=LEFT('Employee information'!C2,LEN('Employee information'!C2)-1) & " " &
RIGHT('Employee information'!C2,1)


"Francis" wrote:

Hi

Would you post a sample how your current data is set up and the result
that you want.

if you want to know how many characters are in the cell, try this
=LEN(A2) and copy down

this will tell you the numbers of characters in a cell.

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"Jon" wrote:

Is it possible to get the length of a particular field. For example I would
like to copy the contents of an identification card, which has

- a number of numbers (n)
- ends with a letter which is usually M, L, A or something else :)

So basically I want to tell Excel to format the characters

From
nnnnn..A

where n is a number (0-9), A is an alphabetic character (A-Z), and,
the number of numeric characters in n... is unknown

I've tried playing about with the RIGHT functions but could not find any
functions for the "length of string" so I got stuck. Any ideas?

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
Newbie Q dredwin Excel Worksheet Functions 3 November 17th 08 09:38 PM
vba newbie need help. Oligo Excel Discussion (Misc queries) 2 November 5th 08 07:22 PM
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
Can you help a NEWBIE please flub Excel Discussion (Misc queries) 11 January 11th 06 01:58 AM
Very very new newbie Thalia Took New Users to Excel 1 September 29th 05 04:13 AM


All times are GMT +1. The time now is 10:46 AM.

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"