Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
carl
 
Posts: n/a
Default Counting In a Cell

I have the following string in a cell. Each product is separated by a
semicolon.

AG;AD;BG;FG;A1

Is there a formula that can tell me how many product are in the string. In
this case the count would be 5.

Thank you in advance.
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
=LEN(A1)-LEN(SUBSTITUTE(A1,";",""))+1

--
Regards
Frank Kabel
Frankfurt, Germany

"carl" schrieb im Newsbeitrag
...
I have the following string in a cell. Each product is separated by a
semicolon.

AG;AD;BG;FG;A1

Is there a formula that can tell me how many product are in the

string. In
this case the count would be 5.

Thank you in advance.


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
counting instances of words in a worksheet cell CJ Excel Discussion (Misc queries) 2 December 22nd 04 03:49 AM
Counting instances in a cell [email protected] Excel Discussion (Misc queries) 2 December 11th 04 04:14 PM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 03:06 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 08:16 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


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