Find result based off multiple criteria including date

klynne75

New Member
Joined
Dec 11, 2009
Messages
19
Office Version
  1. 365
Platform
  1. Windows
I'm trying to find a formula that will return the customer name based off the date of deposit and amount paid. I've tried several, the latest attempt is
=INDEX('WF Depository'!H:H,AGGREGATE(15,6,ROW('WF Depository'!H:H)/(('WF Depository'!E:E=A1)*('WF Depository'!F:F=J17)),1))
I am working in Excel 365.
I have a tab (WF Depository) from the bank (duplicate amounts possible) & a daily tab (mmmdd) downloaded from my accounting system. I'd like column U on the daily tab to pull the customer name from the Depository tab based on a match to the date in cell A1 of the daily tab and a matching amount.

TAB: WF Depository​
Tab: Jun 23​
Column EColumn FColumn HCell A1 = 06/23/2022
Dep DatePymtCompanyColumn JColumn U
06/23/2022$10,342.59MARIGOLD$ uploadedCompany
06/23/2022$810.87Sierra$810.87
06/23/2022$1,863.75WATER SERVICE$1,863.75
06/23/2022$14,294.11GLANBIA$10,342.59
06/23/2022$416,609.61CHAMPIONX$14,294.11
06/23/2022$200,303.04AD CHEMCO$57,524.43
06/23/2022$78,243.70Western$78,243.70
06/23/2022$57,524.43SIKA CANADA$200,303.04
$416,609.61
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Got the answer! Totally off base with my original formula.

I found the formula below to work...
[{=IFERROR(INDEX('WF Depository'!$H:$H,MATCH(1,INDEX(($A$1='WF Depository'!$E:$E)*(J17='WF Depository'!$F:$F),0,1),0)),"NOT FOUND")}]
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,541
Members
449,089
Latest member
davidcom

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