Hello again Chandoo Forum!
I think I'm trying to do something very similar to the author of this post...
http://chandoo.org/forum/threads/how-can-i-make-a-more-dynamic-self-filling-table.27263/
... But I don't really understand how the solution provided by Vletm works. I have uploaded a sample workbook containing 3 sheets; Valuation Worksheet, IncomeDetails Worksheet, and Desired Outcome Worksheet.
Valuation Worksheet is my current best effort. It works... except the # of rows in the table is static. I would like the # of rows in the table to increase or decrease depending on how many records are found in the IncomeDetails worksheet. Currently there are 7 rows in the table, which is enough 90% of the time, but if more than 7 records match the search criteria, all I've got is a message in Cells E1:K2 that informs the user that there are additional records that aren't shown and they should try to extend the table. Also, it's not very pretty and the formula seems to be pretty heavy on the resources.
IncomeDetails worksheet is simply the source data that I am searching for matches to display. The array formula in Valuation worksheet searches by the value in A2, which is Company ID and then returns records matching this value from the IncomeDetails worksheet. In the full version of this workbook there will be 7000 rows, possibly more.
Desired Outcome worksheet is just a static mock-up of what I'm hoping to build based on the example data of the first Company ID in the IncomeDetails worksheet. As you can see, I'm hoping to be able to group by Product ID
This is just part of a larger workbook and there is a macro that runs through a list, and creates a copy of the workbook for each Company ID in the list (the list can be 500+ so lots of copies...). In each copy, the Company ID in Cell A2 will be populated by the macro so the table will perform the data lookup based on that cell value.
I don't really know Pivot tables, so I'm not sure if this is a pivot table problem/solution. I thought it sounded kind of similar to the post I linked to above, but like I said... the solution for that problem was a little over my head. There is another table on another sheet in the "Real" workbook that is running a similar formula and if I can figure out a dynamic solution for this problem, I will be trying to reuse it in that other table as well.
As always, thanks so much in advance for any assistance you can provide!
Cheers,
Joe
__________________________________________________________________
I think I'm trying to do something very similar to the author of this post...
http://chandoo.org/forum/threads/how-can-i-make-a-more-dynamic-self-filling-table.27263/
... But I don't really understand how the solution provided by Vletm works. I have uploaded a sample workbook containing 3 sheets; Valuation Worksheet, IncomeDetails Worksheet, and Desired Outcome Worksheet.
Valuation Worksheet is my current best effort. It works... except the # of rows in the table is static. I would like the # of rows in the table to increase or decrease depending on how many records are found in the IncomeDetails worksheet. Currently there are 7 rows in the table, which is enough 90% of the time, but if more than 7 records match the search criteria, all I've got is a message in Cells E1:K2 that informs the user that there are additional records that aren't shown and they should try to extend the table. Also, it's not very pretty and the formula seems to be pretty heavy on the resources.
IncomeDetails worksheet is simply the source data that I am searching for matches to display. The array formula in Valuation worksheet searches by the value in A2, which is Company ID and then returns records matching this value from the IncomeDetails worksheet. In the full version of this workbook there will be 7000 rows, possibly more.
Desired Outcome worksheet is just a static mock-up of what I'm hoping to build based on the example data of the first Company ID in the IncomeDetails worksheet. As you can see, I'm hoping to be able to group by Product ID
This is just part of a larger workbook and there is a macro that runs through a list, and creates a copy of the workbook for each Company ID in the list (the list can be 500+ so lots of copies...). In each copy, the Company ID in Cell A2 will be populated by the macro so the table will perform the data lookup based on that cell value.
I don't really know Pivot tables, so I'm not sure if this is a pivot table problem/solution. I thought it sounded kind of similar to the post I linked to above, but like I said... the solution for that problem was a little over my head. There is another table on another sheet in the "Real" workbook that is running a similar formula and if I can figure out a dynamic solution for this problem, I will be trying to reuse it in that other table as well.
As always, thanks so much in advance for any assistance you can provide!
Cheers,
Joe
__________________________________________________________________
Mod edit : post moved to appropriate forum …