Compare the text in cells between 2 columns - macro?

mrafiq44

New Member
Joined
Oct 14, 2015
Messages
27
I have 2 columns F & G - Column F has text in 800 rows derived via vlookup for another sheet. Column G is a simple copy and paste from a word document.
Column F for example the cell says: Invoice is approved by CEO
Column G for example the cell says: Invoice is approved by CFO and CAO
What i want to see is the difference i.e. the word CFO and CA0 which are the difference from column F in column G highlighted.
Is there a macro that can run and show me that?
Also in column H - can there be a formula comparing the 2 cells in column F and G and saying "yes" there is a difference, remember exact may not work because of formatting from vlookup not being the same with the alignment, etc.

Any help here would be appreciated.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
If you just want to compare a cells value in col. F to col. G, a formula in col. H as follows will do that: =if(F3=G3,"Yes","No")
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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