Please, I have a data sample bellow. row2 to row22 contain debtors details in while row28 to row30 contains just the debtors list with the terminated period. I want to get a report that will filter the periods and the corresponding amount from 2009/2010 to the terminated period as contained in C28 - C31.
<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>Please, this is how i want the report to look like.
if A28 IS FOUND IN A2:D22 then return the corresponding of column E matching c28 (which is 2011/2012) backward using "()" for the amount due and "," as session separator
Example: in column D28 I should have the following report as below
2011/2012(4000), 2011/2012(17700), 2010/2011(4000), 2010/2011(17700), 2009/2010(4000).
I will so much appreciate if you guys can give me a solution.
A | B | C | D | E | |
1 | idnumber | name | semester | period | amount |
2 | 01/5777/RE | IKERIONWU OSI D | First Semester | 2009/2010 | 17700 |
3 | 01/5777/RE | IKERIONWU OSI D | First Semester | 2010/2011 | 17700 |
4 | 01/5777/RE | IKERIONWU OSI D | Second Semester | 2010/2011 | 4000 |
5 | 01/5777/RE | IKERIONWU OSI D | First Semester | 2011/2012 | 17700 |
6 | 01/5777/RE | IKERIONWU OSI D | Second Semester | 2011/2012 | 4000 |
7 | 01/5777/RE | IKERIONWU OSI D | First Semester | 2012/2013 | 17700 |
8 | 01/5777/RE | IKERIONWU OSI D | Second Semester | 2012/2013 | 4000 |
9 | 01/5873/UE | UNUODE J AUSTINE | Second Semester | 2009/2010 | 4000 |
10 | 01/5873/UE | UNUODE J AUSTINE | First Semester | 2010/2011 | 17700 |
11 | 01/5873/UE | UNUODE J AUSTINE | Second Semester | 2010/2011 | 4000 |
12 | 01/5873/UE | UNUODE J AUSTINE | First Semester | 2011/2012 | 17700 |
13 | 01/5873/UE | UNUODE J AUSTINE | Second Semester | 2011/2012 | 4000 |
14 | 01/5873/UE | UNUODE J AUSTINE | First Semester | 2012/2013 | 17700 |
15 | 01/5873/UE | UNUODE J AUSTINE | Second Semester | 2012/2013 | 4000 |
16 | 01/5938/UE | IDOKO I SOLOMON | Second Semester | 2009/2010 | 4000 |
17 | 01/5938/UE | IDOKO I SOLOMON | First Semester | 2010/2011 | 17700 |
18 | 01/5938/UE | IDOKO I SOLOMON | Second Semester | 2010/2011 | 4000 |
19 | 01/5938/UE | IDOKO I SOLOMON | First Semester | 2011/2012 | 17700 |
20 | 01/5938/UE | IDOKO I SOLOMON | Second Semester | 2011/2012 | 4000 |
21 | 01/5938/UE | IDOKO I SOLOMON | First Semester | 2012/2013 | 17700 |
22 | 01/5938/UE | IDOKO I SOLOMON | Second Semester | 2012/2013 | 4000 |
23 | |||||
24 | |||||
25 | |||||
26 | |||||
27 | idnumber | name | periodterminated | report | |
28 | 01/5938/UE | IDOKO I SOLOMON | 2011/2012 | ||
29 | 01/5777/RE | IKERIONWU OSI D | 2009/2010 | ||
30 | 01/5873/UE | UNUODE J AUSTINE | 2012/2013 | ||
31 | 01/5943/RE | KALU KALU T | 2009/2010 |
<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>
if A28 IS FOUND IN A2:D22 then return the corresponding of column E matching c28 (which is 2011/2012) backward using "()" for the amount due and "," as session separator
Example: in column D28 I should have the following report as below
2011/2012(4000), 2011/2012(17700), 2010/2011(4000), 2010/2011(17700), 2009/2010(4000).
I will so much appreciate if you guys can give me a solution.