Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default matching texts in 2 columns

Can I match texts in 2 columns (one column has a longer string than the other
column so let's say it should be able to match the first 5 characters) and
then highlight the ones that have no matches...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default matching texts in 2 columns

Suppose in Col A you have the data..and
B1 enter a text mathcing with one of the entries in Col A

The below formula in C1 will check for the first 5 characters of B1 in ColA
and return "No match" if a match is not found. If a match is found formula
will return blank

=IF(ISERROR(MATCH(LEFT(B1,5) & "*",A:A,0)),"No Match","")
--
If this post helps click Yes
---------------
Jacob Skaria


"my_melody" wrote:

Can I match texts in 2 columns (one column has a longer string than the other
column so let's say it should be able to match the first 5 characters) and
then highlight the ones that have no matches...

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
Matching 2 columns Vic Excel Discussion (Misc queries) 9 April 29th 09 11:46 PM
Matching Columns Leo Setting up and Configuration of Excel 2 April 3rd 08 05:44 PM
matching columns Peter[_7_] Excel Worksheet Functions 1 November 18th 07 08:19 PM
Matching 2 columns JJ44 Excel Worksheet Functions 3 July 19th 07 05:24 PM
sumif function when left 4 texts are matching Vikram Dhemare Excel Discussion (Misc queries) 1 April 25th 06 08:27 AM


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