index match subsequent values between 2 dates

john316swan

Board Regular
Joined
Oct 13, 2016
Messages
66
Office Version
  1. 2019
Platform
  1. Windows
Trying to figure out an array formula that would pull all data between 2 dates. Here is what I started with:

{=INDEX(Loan_ID,MATCH(1,((Transfer_Dates>=Begin_Date)*(Transfer_Dates<=End_Date)),0))}

But that only returned the top value. Then I tried:

{=INDEX(Loan_ID,SMALL(IF(AND(Transfer_Dates>=Begin_Date,Transfer_Dates<=End_Date),ROW(Transfer_Dates)),ROWS(A$3:A3)))}

But that STILL only returned the top value (with subsequent values giving the #NUM! error) What am I doing wrong? Thanks for your help!!!
 
Last edited:

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Try

=IFERROR(INDEX(Loan_ID,SMALL(IF(Transfer_Dates>=Begin_Date,IF(Transfer_Dates<=End_Date,ROW(Transfer_Dates)-MIN(ROW(Transfer_Dates))+1)),ROWS(A$3:A3))),"")
Ctrl+Shift+Enter

M.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,176
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