Compare two columns of values

levoxy

New Member
Joined
Sep 12, 2017
Messages
7
I have two columns with values that needs to be compared and difference values need to be printed in separate column.

value1value2difference
apple,curd,milkorange,apple,watercurd,milk,orange,water
pen,paper,bagbag,paper,beltpen,belt

<tbody>
</tbody>

please help.
 
Re: Please help with compare

Hello, I tried it the same way. it is not working.did not get any results.
 
Upvote 0

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Re: Please help with compare

Yes it is working for me. I usually tests the code before posting it
Can you upload sample of your workbook?
 
Upvote 0
sorry. I had my excel different format. column a was the values1 which was derived from another sheet, col B was the input, Col c was values2 again derived from another sheet. so due to the issue of values1 is showing up only formulae but not the actual values due to this the code is not working.

I have done this assignment as a simpler logic than this by just displaying there is mismatch not actually displaying the mismatch difference.

Thanks for the effort.
 
Upvote 0

Forum statistics

Threads
1,216,765
Messages
6,132,591
Members
449,737
Latest member
naes

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