A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

count function



 
 
Thread Tools Display Modes
  #1  
Old September 19th, 2008, 06:45 PM posted to microsoft.public.excel.worksheet.functions
monkeytrader
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  
Old September 19th, 2008, 06:53 PM posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom[_2_]
external usenet poster
 
Posts: 963
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  
Old September 19th, 2008, 06:53 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
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.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:52 PM.


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