I need help to read mismatch string between two cells it may custom UDF (User Defined Function) or Macro to find.
For Ex. Input is A1 = C1,C2,C3,C5 and B1=C1,C4,C2
Expected O/P is C1 = C3,C5,C4
Regards,
Venkateswaran K
I need help to read mismatch string between two cells it may custom UDF (User Defined Function) or Macro to find.
For Ex. Input is A1 = C1,C2,C3,C5 and B1=C1,C4,C2
Expected O/P is C1 = C3,C5,C4
Regards,
Venkateswaran K
Here's the UDF for you:
Put it into a standard module (Insert > Module), then use in a cell like so:![]()
Please Login or Register to view this content.
=CompareLists(A1, B1, ",")
You can use any delimiter you want in the 3rd paramater, if you leave it out it will default to comma.
Last edited by JBeaucaire; 09-29-2012 at 12:15 PM.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
don't ask me comments, it's not mine![]()
Please Login or Register to view this content.
Last edited by patel45; 09-29-2012 at 12:21 PM.
If solved remember to mark Thread as solved
ExcellentThanks its solved my problem.
Regards,
Venkateswaran K
MODERATOR'S NOTE: Please do not quote entire posts into your posts. Thanks.
Last edited by JBeaucaire; 09-29-2012 at 02:11 PM. Reason: Removed unnecessary whole-post quotation.
I have marked this thread solved for you.
In the future please select Thread Tools from the menu above and mark the thread as solved. Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks