DonkeyOte and NBVC have been nice enough to help me through the roadblocks on my spreadsheet thus far. Now that I've completed it, one last requirement was dropped on me causing the spreadsheet to be altered again.
I am attaching a stripped down sample spreadsheet. The formula in question is in cell L37 on the 'Purchase' sheet.
It is:
Everything about this formula works great, except now I have another variable to add:
- if Selection X = Montgomery, only the first 250,000 of the price is calculated at the 3.45 rate in cell D17 on the 'Rates' sheet. Any amount of the price that exceeds this needs to be calculated at the rate of 5, then added to the previous calculation.
I am currently using a VLOOKUP to pull the appropriate rate. No other selections have a tiered rate calculation other than this one.
What's the best way to go about this? I cannot use SUMPRODUCT either as it does not work with other systems we dump into.
I also tried to spell out the scenario through IF statements, but I got a too many arguments error. There are also 4 other conditions which would have to be spelled out if done through an =IF(AND formula.
Any suggestions?
Bookmarks