Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JK57
 
Posts: n/a
Default parsing text in a multiple column count


I have one column (A) that is a list of names and a second column (B)
that is a list of text strings. I need to count the number of
instances a name (say "Jones") in column A correlates with a specific
portion of the text in column B (say the "sb" within the text "-2p2sb"
- in other words, I need to search column B for a substring and hook
that with data in column A. The substring I'm interested in can occur
at inconsistent postions within the text in column B. How done?


--
JK57
------------------------------------------------------------------------
JK57's Profile: http://www.excelforum.com/member.php...o&userid=33430
View this thread: http://www.excelforum.com/showthread...hreadid=532481

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John James
 
Posts: n/a
Default parsing text in a multiple column count


=SUMPRODUCT((A2:A100="Jones")*(ISNUMBER(FIND("sb", B2:B100))))


--
John James
------------------------------------------------------------------------
John James's Profile: http://www.excelforum.com/member.php...o&userid=32690
View this thread: http://www.excelforum.com/showthread...hreadid=532481

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JK57
 
Posts: n/a
Default parsing text in a multiple column count


Thanks for the help.


--
JK57
------------------------------------------------------------------------
JK57's Profile: http://www.excelforum.com/member.php...o&userid=33430
View this thread: http://www.excelforum.com/showthread...hreadid=532481

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John James
 
Posts: n/a
Default parsing text in a multiple column count


Glad it helped


--
John James
------------------------------------------------------------------------
John James's Profile: http://www.excelforum.com/member.php...o&userid=32690
View this thread: http://www.excelforum.com/showthread...hreadid=532481

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
text import all in one column. how do I set it to multiple column maggie Hettinger New Users to Excel 2 April 10th 06 04:49 PM
help parsing multiple text sets from one cell [email protected] Excel Worksheet Functions 0 August 31st 05 05:17 PM
Count Text Values in Column Karl Burrows Excel Discussion (Misc queries) 7 August 3rd 05 04:23 AM
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
How to count occcurence of specific text block in a column Anshuman Excel Discussion (Misc queries) 2 February 12th 05 12:55 PM


All times are GMT +1. The time now is 11:45 PM.

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"