Dear Sachin,
i tried to enter more lens in it but am only able to add 9 lens as the 10th len i.e. for 0 is not accepting coz the formula is too long.
secondaly, the result is also showing some error in it.
the formula i entered is:
=IF(ISERROR(FIND(RIGHT(LEFT(A1,1),1),A1,1))=ISERROR(FIND(RIGHT(LEFT(A1,1),1),B1,1)),RIGHT(LEFT(A1,1),1),"")&IF(ISERROR(FIND(RIGHT(LEFT(A1,2),1),A1,1))=ISERROR(FIND(RIGHT(LEFT(A1,2),1),B1,1)),RIGHT(LEFT(A1,2),1),"")&IF(ISERROR(FIND(RIGHT(LEFT(A1,3),1),A1,1))=ISERROR(FIND(RIGHT(LEFT(A1,3),1),B1,1)),RIGHT(LEFT(A1,3),1),"")&IF(ISERROR(FIND(RIGHT(LEFT(A1,4),1),A1,1))=ISERROR(FIND(RIGHT(LEFT(A1,4),1),B1,1)),RIGHT(LEFT(A1,4),1),"")&IF(ISERROR(FIND(RIGHT(LEFT(A1,5),1),A1,1))=ISERROR(FIND(RIGHT(LEFT(A1,5),1),B1,1)),RIGHT(LEFT(A1,5),1),"")&IF(ISERROR(FIND(RIGHT(LEFT(A1,6),1),A1,1))=ISERROR(FIND(RIGHT(LEFT(A1,6),1),B1,1)),RIGHT(LEFT(A1,6),1),"")&IF(ISERROR(FIND(RIGHT(LEFT(A1,7),1),A1,1))=ISERROR(FIND(RIGHT(LEFT(A1,7),1),B1,1)),RIGHT(LEFT(A1,7),1),"")&IF(ISERROR(FIND(RIGHT(LEFT(A1,8),1),A1,1))=ISERROR(FIND(RIGHT(LEFT(A1,8),1),B1,1)),RIGHT(LEFT(A1,8),1),"")&IF(ISERROR(FIND(RIGHT(LEFT(A1,9),1),A1,1))=ISERROR(FIND(RIGHT(LEFT(A1,9),1),B1,1)),RIGHT(LEFT(A1,9),1),"")
Cell A1 = 1234
Cell B1 = 2345
The answer which i am getting is 2344444
<TABLE style="WIDTH: 470pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=627 x:str><COLGROUP><COL style="WIDTH: 470pt; mso-width-source: userset; mso-width-alt: 22930" width=627><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 470pt; HEIGHT: 12.75pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl24 height=17 width=627 x:num></TD></TR></TBODY></TABLE>