#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default count function

i have a column of 3, 4, and 5 letter symbols and want to separate the data
according to numbers of letters.

ex:
abc
abcde
abcd
def
defg
ghi
ghikl

want to know if column b can show only 3 letter symbols, column c show 4
letter symbols, etc.

thanks in advance for your help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default count function

In B

=IF(LEN(A2)=3,A2,"")

copy down


do the same for C and D and change the number after the LEN part to 4 and 5
for those
columns

--


Regards,


Peo Sjoblom

"monkeytrader" wrote in message
...
i have a column of 3, 4, and 5 letter symbols and want to separate the data
according to numbers of letters.

ex:
abc
abcde
abcd
def
defg
ghi
ghikl

want to know if column b can show only 3 letter symbols, column c show 4
letter symbols, etc.

thanks in advance for your help.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default count function

Hi,

Put these 3 formula ib B1, C1 & D1. Select all 3 and drag down

=IF(LEN(A1)=3,A1,"")
=IF(LEN(A1)=4,A1,"")
=IF(LEN(A1)=5,A1,"")

Mike


"monkeytrader" wrote:

i have a column of 3, 4, and 5 letter symbols and want to separate the data
according to numbers of letters.

ex:
abc
abcde
abcd
def
defg
ghi
ghikl

want to know if column b can show only 3 letter symbols, column c show 4
letter symbols, etc.

thanks in advance for your help.

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
count function lightbulb Excel Discussion (Misc queries) 2 July 28th 08 07:45 PM
count function AJ Patel[_2_] Excel Worksheet Functions 3 March 10th 08 11:22 PM
which count function? y_not Excel Discussion (Misc queries) 6 March 23rd 06 07:24 AM
which count function? y_not Excel Discussion (Misc queries) 0 March 22nd 06 07:35 AM
Count If Function Michele Excel Worksheet Functions 3 April 25th 05 02:31 PM


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