comparison of tow non numeric data

Hrishi

Board Regular
Joined
Jan 25, 2017
Messages
56
Office Version
  1. 365
Platform
  1. Windows
Hello
I want to compare 2 cells containing non numeric data along with identification of differences excluding blank spaces. example

Providing & fixing external false ceiling ( visible from Bull pen area ) at an angle as per detailed drawings from the main Portal frame and using framework used for gypsum sheets of 12.5 mm thk of gyproc or equivalent make.Providing & fixing external false ceiling ( visible from Bull pen area ) at an angle as per detailed drawings from the main Portal frame and using framework used for gypsum sheets of 15 mm thk of gyproc or equivalent make. Complete
FALSE​
in above data there are slight changes in wording, using cell 1 = cell 2 will show true and false, but how to identify or highlight quickly the exact difference in words?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
If A1 and B1 is your two sentences, this formula will put "**" around whatever words are different in both.

Excel Formula:
=LET(a,TEXTSPLIT(A1,," "),b,TEXTSPLIT(B1,," "),c,ISNA(MATCH(a,b,0)),d,IF(c,"**"&a&"**",a),e,TEXTJOIN(" ",TRUE,d),f,ISNA(MATCH(b,a,0)),g,IF(f,"**"&b&"**",b),h,TEXTJOIN(" ",TRUE,g),HSTACK(e,h))

Providing & fixing external false ceiling ( visible from Bull pen area ) at an angle as per detailed drawings from the main Portal frame and using framework used for gypsum sheets of **12.5** mm thk of gyproc or equivalent make.Providing & fixing external false ceiling ( visible from Bull pen area ) at an angle as per detailed drawings from the main Portal frame and using framework used for gypsum sheets of **15** mm thk of gyproc or equivalent make. **Complete**
 
Upvote 0
If A1 and B1 is your two sentences, this formula will put "**" around whatever words are different in both.

Excel Formula:
=LET(a,TEXTSPLIT(A1,," "),b,TEXTSPLIT(B1,," "),c,ISNA(MATCH(a,b,0)),d,IF(c,"**"&a&"**",a),e,TEXTJOIN(" ",TRUE,d),f,ISNA(MATCH(b,a,0)),g,IF(f,"**"&b&"**",b),h,TEXTJOIN(" ",TRUE,g),HSTACK(e,h))

Providing & fixing external false ceiling ( visible from Bull pen area ) at an angle as per detailed drawings from the main Portal frame and using framework used for gypsum sheets of **12.5** mm thk of gyproc or equivalent make.Providing & fixing external false ceiling ( visible from Bull pen area ) at an angle as per detailed drawings from the main Portal frame and using framework used for gypsum sheets of **15** mm thk of gyproc or equivalent make. **Complete**
thanks alot,
 
Upvote 0

Forum statistics

Threads
1,215,129
Messages
6,123,218
Members
449,091
Latest member
jeremy_bp001

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top