Multiple criteria and return of closest match

marol

New Member
Joined
Jul 30, 2014
Messages
1
Hello,

Can someone help me to figure out a formula that find the closest match based on two criterias?

I have two sets of data. The date has to match each other in both sets. The amount may match, but can differ within +/- 10. I want to find the match or the closest match. How can this be solved? Example sets:
Set 1:
Date Amount
02.06.2014 6 519
02.06.2014 15 741
02.06.2014 3 164
03.06.2014 29 756
03.06.2014 6 577
03.06.2014 15 741
06.06.2014 4 148
06.06.2014 12 949
Set 2:
DateAmount
02.06.2014 6 520
02.06.2014 15 741
02.06.2014 3 162
03.06.2014 29 751
03.06.2014 6 577
03.06.2014 15 739
06.06.2014 4 149
06.06.2014 12 952




<tbody>
</tbody><colgroup><col span="2"></colgroup>

<tbody>
</tbody><colgroup><col><col></colgroup>
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi
Welcome to the board

Sorry, your post is not clear to me in terms of what is the layout and composition of the expected result.

Can you post the result you expect for the 2 sets of data that you posted?
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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