Hui (& Narayan if you're watching)
This is a combination of the questions I've been posting over recent days - I think!
I've tried to simplify the elements of a rather complicated legacy workbook - it has been built over a period of 10 years and had/still has some very simplistic ideas.
Most of the work on these files was entirely manual, so by nature the work was slow and inaccurate as it relied on a lot of user input. My project has been to integrate the work book with some Access dbs that hold data and formulas for calculations (Fee IDs)
My current challenge is to automate the process reflected in the Rows 13 & Rows 43-45 of the worksheet Addl Fees.
For each account I want to return the appropriate formula to calculate the Amount of the Mutual Funds that are to be subject to Service Fees. The formula appears as text in H43:H45 and is triggered by a FALSE in the corresponding column for that account. The Mutual Fee data comes from the worksheet MF Exp.
I've greatly simplified things in here to make it easy to follow - the real model relies on lots of GETPIVOTDATA and is considerably larger than my example - however the principles are very similar.
The results I expect to get in Account 1 are 711,507 less the amounts in Fund 6 and Fund 9 being (48,000 + 27,895) = 635,162.
Account 2 would be 828,166 as it is simply the sum of all the MF holdings.
The challenge I've been having is getting the text formula to be relative to each account ....
Does this make any sense to you folks? It has me completely discombobulated ...