Match and lookup combined

NewbeeUK

New Member
Joined
Feb 7, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,

I am a very new member here and I have been struggling with a function since yesterday that I can seem to break.

I have three columns A (Name), B (Reference number), and C (Amount) that I want to match to columns F (name), G (Reference number), and H (Amount). I have been able to use the match function fine but the complication is when I want to give a threshold on the amount where any difference between values in these two amounts between £0.99 and -£0.99 should be ignored. I have the below formula

=IF(AND(MATCH($A7,$F$4:$F$24775,0),MATCH($B7,$G$4:$G$24775,0),MATCH($C7,$H$4:$H$24775,0)),"Reconciled","Not Reconciled")

The dilema I have is to mark it as reconciled where the difference between columns C (Amount) and H (Amount) is not greater than £1 and not less than -£1

Any help will be greatly appreciated
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Try:

=IF(AND(MATCH($A7,$F$4:$F$24775,0),MATCH($B7,$G$4:$G$24775,0),IFERROR(MATCH(1,(C7>$H$4:$H$24775-1)*(C7<$H$4:$H$24775+1),0),0)),"Reconciled","Not Reconciled")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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