LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
JohnnyBGood
 
Posts: n/a
Default Occurance Number Within a String


Hi again Chip,

I figured it out. Combining my knowledge in Excel and your coding, I
was able to get the same result using 1 Excel formula.

Thanks for the help.

=LEN(LEFT(F37,SEARCH("Red",F37)-2))-LEN(SUBSTITUTE(LEFT(F37,SEARCH("Red",F37)-2),",",""))

Where F37 contains the string, and, of course, I can sub "Red" string
with a cell reference.


--
JohnnyBGood
------------------------------------------------------------------------
JohnnyBGood's Profile: http://www.excelforum.com/member.php...o&userid=29783
View this thread: http://www.excelforum.com/showthread...hreadid=494903



 
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
Master invoice number Christopher M. Excel Worksheet Functions 0 July 24th 05 04:26 PM
trim a string by specific number of characters windyoldman Excel Discussion (Misc queries) 2 July 13th 05 01:53 PM
Excell deletes 0 when its the first number in a string dustin1138 Excel Discussion (Misc queries) 2 May 7th 05 09:08 PM
LOOKING UP A TABLE/SHEET AND MATCH FOR A STRING OR NUMBER Charles Excel Discussion (Misc queries) 2 April 24th 05 06:11 PM
How can I assign a number to a string? Jog Dial Excel Discussion (Misc queries) 3 January 14th 05 03:44 AM


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

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"