in_need_of_excel_help
New Member
 Joined
 Feb 12, 2021
 Messages
 4
 Office Version

 2013
 Platform

 Windows
Hi Guys,
Long time lurker here. Some of the responses to other users' problems have often helped me in the past, but unfortunately I've been defeated and I need some assistance!
Here is my spreadsheet:
The formula in column A is =IFERROR(INDEX($I$2:$I$21,SMALL(IF(($K$2:$K$21>=$F$1)*($K$2:$K$21<=$G$1),ROW($I$2:$I$21)),ROW(1:1))1,1),"")
It's pulling data in columns I  L with the criteria: if the payment deadline is between the range in Cell F1 and G1, then it will list all the relevant companies in column A. Thanks to you guys I found this formula and it's working great!
These are the formulas I have for columns B,C &D
B: =IFERROR(INDEX($J$2:$J$21,MATCH(1,INDEX(($I$2:$I$21=A2)*(K$2:$K$21>=$F$1)*($K$2:$K$21<=$G$1),0),0)),"")
C: =IFERROR(INDEX($K$2:$K$21,MATCH(1,INDEX(($I$2:$I$21=A2)*(K$2:$K$21>=$F$1)*($K$2:$K$21<=$G$1),0),0)),"")
D: =IFERROR(INDEX($L$2:$L$21,MATCH(1,INDEX(($I$2:$I$21=A2)*(K$2:$K$21>=$F$1)*($K$2:$K$21<=$G$1),0),0)),"")
All I wanted to do here was just list the information from the other columns. I read that Vlookup wouldn't be possible here, so I used 'Index' and 'Match' instead. Sadly it doesn't work if one company has two different periods, which both satisfy the payment deadline (Like the example above, where company B has two results satisfying the criteria), it won't display the second value. It instead repeats the first value.
If there was only one company with one period, the formula works fine.
Any help correcting this will be greatly appreciated!
Long time lurker here. Some of the responses to other users' problems have often helped me in the past, but unfortunately I've been defeated and I need some assistance!
Here is my spreadsheet:
The formula in column A is =IFERROR(INDEX($I$2:$I$21,SMALL(IF(($K$2:$K$21>=$F$1)*($K$2:$K$21<=$G$1),ROW($I$2:$I$21)),ROW(1:1))1,1),"")
It's pulling data in columns I  L with the criteria: if the payment deadline is between the range in Cell F1 and G1, then it will list all the relevant companies in column A. Thanks to you guys I found this formula and it's working great!
These are the formulas I have for columns B,C &D
B: =IFERROR(INDEX($J$2:$J$21,MATCH(1,INDEX(($I$2:$I$21=A2)*(K$2:$K$21>=$F$1)*($K$2:$K$21<=$G$1),0),0)),"")
C: =IFERROR(INDEX($K$2:$K$21,MATCH(1,INDEX(($I$2:$I$21=A2)*(K$2:$K$21>=$F$1)*($K$2:$K$21<=$G$1),0),0)),"")
D: =IFERROR(INDEX($L$2:$L$21,MATCH(1,INDEX(($I$2:$I$21=A2)*(K$2:$K$21>=$F$1)*($K$2:$K$21<=$G$1),0),0)),"")
All I wanted to do here was just list the information from the other columns. I read that Vlookup wouldn't be possible here, so I used 'Index' and 'Match' instead. Sadly it doesn't work if one company has two different periods, which both satisfy the payment deadline (Like the example above, where company B has two results satisfying the criteria), it won't display the second value. It instead repeats the first value.
If there was only one company with one period, the formula works fine.
Any help correcting this will be greatly appreciated!