If Date in Cell matches a Date in a range of cells

dfelmey

New Member
Joined
Aug 28, 2015
Messages
29
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Withdraw Date[/TD]
[TD]Withdraw Amt[/TD]
[TD]Daily Date (from the 1st to EOM)- I change C1 to the first each month)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]8/15/2018[/TD]
[TD]$(1000)[/TD]
[TD]9/1/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]8/25/2018[/TD]
[TD][/TD]
[TD]9/2/2018[/TD]
[TD]($500)[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]9/2/2018[/TD]
[TD]($500)[/TD]
[TD]9/3/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]9/4/2018[/TD]
[TD]($2500)[/TD]
[TD]9/4/2018[/TD]
[TD]($2500)[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]9/5/2018[/TD]
[TD]($800)[/TD]
[TD]9/5/2018[/TD]
[TD]($800)[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]9/8/2018[/TD]
[TD]($5000)[/TD]
[TD]9/6/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]9/9/2018[/TD]
[TD]($4000)[/TD]
[TD]9/7/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD][/TD]
[TD]9/8/2018[/TD]
[TD]($5000)[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD]9/9/2018[/TD]
[TD]($4000)[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[TD]9/10/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[TD]9/11/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[TD]9/12/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD][/TD]
[TD][/TD]
[TD]9/13//2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]...this row will continue month after month, Not Reset on the 1st[/TD]
[TD][/TD]
[TD]...All the way to 9/30/2018[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I need the formula for Row D that shows the amount of the withdraw from Row B on the corresponding date. (ie, on 9/4/2018 show the $2500 withdraw from B3 in D5. -- On 9/8/2018 show the withdraw ($5000) from B7 on D9).

Let me know if any more clarification is needed.

Thank you in advance for your time.
 

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.
Try
=IFERROR(INDEX(A$2:B$14,MATCH(C2,A$2:A$14,0),2),"")
 
Upvote 0
Sorry Fluff, that didn't work, the formula result is $0.00. It puts the $0.00 in the correct cell corresponding cell, it just does not put the value from Column B. What can I change to fix the $0.00? Thanks again
 
Upvote 0
This is the result I got with your data


Excel 2013/2016
ABCD
1Withdraw DateWithdraw AmtDaily Date (from the 1st to EOM)- I change C1 to the first each month)D
215/08/2018$(1000)01/09/2018 
325/08/201802/09/2018($500)
402/09/2018($500)03/09/2018
504/09/2018($2500)04/09/2018($2500)
605/09/2018($800)05/09/2018($800)
708/09/2018($5000)06/09/2018
809/09/2018($4000)07/09/2018
908/09/2018($5000)
1009/09/2018($4000)
1110/09/2018
1211/09/2018
1312/09/2018
1413/09/2018
Sheet1
Cell Formulas
RangeFormula
D2=IFERROR(INDEX(A$2:B$14,MATCH(C2,A$2:A$14,0),2),"")
 
Upvote 0
Thank you, I got mine to work. My spreadsheet has Column A and B Merged, so I had to just adjust to index A:C and give results for column 3 not 2. Thank you again for your assistance!!!
 
Upvote 0
Glad you got it sorted & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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