I have 2 Cell with string. in A1 i have a 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9 and in B1 i have a 1.6, 1.7, 1.8, 1.9, 1.15, 1.16, 1.17, 1.18, 1.19. i need a formula to copy all decimal number which is available in both cell. that means in cell A1 and in Cell B1 there are same number is 1.6, 1.7, 1.8, 1.9. So, in C1 answer should be 1.6, 1.7, 1.8, 1.9.
is any one have a formula for this. Please reply. Only formula without VBA code.
| Numer 1 | number 2 | how many numbers in both cell? |
| 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9 | 1.6, 1.7, 1.8, 1.9, 1.15, 1.16, 1.17, 1.18, 1.19 | 1.6, 1.7, 1.8, 1.9 |
mukesh vermaPosted Nov 11, 2022, 9:23 AM
Vishal ji, Thanks for answer but Data is coming randomly using another formula and i want only Excel Formula.
I already use below formula. = TEXTJOIN(",",TRUE,IFERROR(IF(FIND(TEXTSPLIT($A$1,",",,TRUE,1,),$B$1)>0,TEXTSPLIT($A$1,",",,TRUE,1,),0),"")). but answer came 1.7, 1.8, 1.9
Vishal JoshiPosted Nov 11, 2022, 9:12 AM
Hello
You can use Intersect. please check below sample code.
Thank You
mukesh vermaPosted Nov 11, 2022, 8:41 AM
any idea??