1 registered members (Edgar),
186
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums69
Topics113,641
Posts1,341,444
Members1,814
|
Most Online731 Jan 14th, 2020
|
|
|
Re: Excel question comparing strings
[Re: Kayjey]
#1398920
19/12/2012 12:40
19/12/2012 12:40
|
Joined: Dec 2005
Posts: 12,546 Northumberland
AndrewR
I AM a Coop
|
I AM a Coop
Joined: Dec 2005
Posts: 12,546
Northumberland
|
You'd need a user defined function, written in VBA. I can't think of a practical way to do this with formula.
Would that be a problem for you?
Dear monos, a secret truth.
|
|
|
Re: Excel question comparing strings
[Re: Kayjey]
#1398939
19/12/2012 13:58
19/12/2012 13:58
|
Joined: Dec 2005
Posts: 12,546 Northumberland
AndrewR
I AM a Coop
|
I AM a Coop
Joined: Dec 2005
Posts: 12,546
Northumberland
|
If your data is in cells A1:A3 then the following formula will return what's common between A1 and A2, if that helps.
=LEFT(A1,MAX(INDEX(ROW(INDIRECT("1:" & LEN(A1)))*NOT(ISERROR(FIND(LEFT(A1,ROW(INDIRECT("1:" & LEN(A1)))),A2))),0)))
Dear monos, a secret truth.
|
|
|
|