LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default FINDING PARTIAL ENTRIES IN A CELL/ARRAY

Provided the range $C$1:$C$15 is fully populated w/o any blanks
In B1, copied down:
=IF(SUMPRODUCT(--ISNUMBER(SEARCH($C$1:$C$15,A1)))0,"x","")

Otherwise, eg for larger search ranges where it may not be immediately
obvious that there's no blanks within, use instead in B1, copied down:
=IF(SUMPRODUCT((ISNUMBER(SEARCH($C$1:$C$15,A1)))*( $C$1:$C$15<""))0,"x","")

You could fortify it further, if necessary, with a TRIM for the search
range, ie:
=IF(SUMPRODUCT((ISNUMBER(SEARCH(TRIM($C$1:$C$15),A 1)))*(TRIM($C$1:$C$15)<""))0,"x","")

Replace SEARCH with FIND if you need it to be a stricter, case sensitive
search
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
"FARAZ QURESHI" wrote:
I have the range A1:A125000 with names of clients. In range C1:C15 there are
some of names (Partial) that I have to find in the A1:A125000. What sort of
formula should I place in B1:B125000 to return an "X" if the corresponding
cell in a consists any of the word in C1:C15?

Something like:

B1=If(isnumber(find(???,A1)),"X","")

to be copied down?

The problem is that C1:C15 do not contain names in full but in parts. Like I
want a cell entry Johnson be highlighted if John exists in C1:C15.


 
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
Finding duplicate entries mmcap Excel Worksheet Functions 5 February 7th 07 07:00 PM
Finding max array value of variable cell range The Fisherman Excel Discussion (Misc queries) 0 February 6th 07 02:54 PM
Partial Address match in an array [email protected] Excel Discussion (Misc queries) 0 October 13th 06 04:17 PM
Finding duplicate cell entries in a column of data Ellie Excel Discussion (Misc queries) 1 July 28th 05 01:41 PM
Finding Partial Text in a Cell bob Excel Worksheet Functions 6 December 18th 04 05:03 AM


All times are GMT +1. The time now is 05:16 PM.

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"