The reason it wasn't working before was because of the formula you had in cell B12. Since the If formula returned a false value, the cell still began with "=If" which isn't a number thus returning the "#Value" error...I'd of never found that probably if you didn't specify that the cell had a formula in it lol. I also found out, through some quick research, that you can make every formula recalculate. You use the syntax
This makes Excel recalculate all formulas as soon as a change in any cell is made. This makes the function extremely flexible, as you requested.
The if statement you have in that cell brings up another question. Lets say the account value is $100M with the fees set up in three tiers of $15M...cell B12 would then equal $55M...which would mean that from values $45,000,001 to $55,000,000 would not be charged a fee...or at least Excel wouldn't know what the percentage fee actually is. Wouldn't a better way of doing it is just sum up however many tiers of data you have? So in case you have three tiers, each equal to $15M with each tier having its own respected percentage fee, you could say "Anything over $45M". To me that makes more sense. A few words of caution about the formula:
Cell B12 (cell D12 can be blank since I'd assume its possible that if an account is over a certain value, no fee would be charged on the remaining balance) must always have a value. The rest can be blank since it won't effect the calculation. I've set it up so that Cell B12 simply sums up the values of cells B5:B11. Any changes you make to cells B5:B11 or D5:D12 as well as the amount itself will instantly be recalculated. Heres the code:
I hope we're on the same page here, if I've misinterpreted the meaning of "on anything after" portion, please let me know. I've also attached the revised file.
Bookmarks