Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default is data in two character fields the same?

I am trying to compare the contents of two character fields (names) to see if
they are the same. How can I do that?

Thanks,
--
Ted
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default is data in two character fields the same?

=IF(A1=B1,"Match","No Match")

This is case insensitive. If you need a case sensitive match, use

=IF(EXACT(A1,B1),"Match","No Match")

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


On Sat, 31 Jan 2009 14:34:05 -0800, Ted @ PMI
wrote:

I am trying to compare the contents of two character fields (names) to see if
they are the same. How can I do that?

Thanks,

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
Switch to change data fields to 0's, then back to original data? mapleleafmike Excel Discussion (Misc queries) 0 July 8th 08 02:25 PM
Character limitations for excel fields aspen Excel Worksheet Functions 9 November 29th 07 03:24 AM
Adding multiple data fields from time based data. JMK Excel Discussion (Misc queries) 1 July 27th 07 10:59 PM
how can I convert data with fields in rows to fields as columns PiyushAg Excel Discussion (Misc queries) 3 July 2nd 07 05:46 AM
Excel-Match 1st text character in a string to a known character? bushlite Excel Worksheet Functions 2 January 15th 07 06:36 PM


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