LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Comparing character strings in separate cells

Hi All,

I have asked here before and on other fora for help on the following
problem ( i am a total novice at VB and Macros):

I have a large excel spreadsheet with alpha-numeric data. I want to be
able to compare two cells in the same row and return the disimilar
characters in another cell(s).

e.g. I have in cell B2, "BB26" and in cell C2, "BBZ5". I need to
compare the cell C2 to cell B2 and return the disimilar characters in
cell D2 which in this case would be the characters "Z5".

If possible i would like to specify in cell E2 the positions of the
differing characters i.e. cell E2, "34" representing the 3rd and 4th
positions of the disimilar characters.

If there is a better and more elegant solution to this problem that
would provide a similar solution, i would appreciate your help very
much.

Thank you in advance.

 
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
Search group of cells for several sets of character strings Don Excel Discussion (Misc queries) 0 May 7th 09 11:36 PM
how do i separate 2 strings of a cell in different cells? Bona Excel Worksheet Functions 1 July 26th 07 11:32 AM
Comparing text strings in cells Andy Excel Discussion (Misc queries) 0 January 11th 06 10:38 AM
Comparing text strings in cells Andy Excel Discussion (Misc queries) 0 December 7th 05 04:17 PM
Break up strings into separate cells al007 Excel Programming 4 November 23rd 05 11:14 PM


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