Forum Discussion
Multiple IF/AND Formula
How is your spreadsheet actually arranged? In particular the data pertaining to the deals that any given employee has achieved in any given month.
The array in your query doesn't seem likely (for one thing, no employee is identified); yet it's the way the data are arrayed that influences the formula.
Is it possible for you to give us an actual workbook that is arranged as your actual workbook is (a mockup is fine, so long as it's an accurate representation, without real names; even without real dollar figures if those are confidential). You've posted a lot of questions over recent months, so it's quite possible that you can simply attach a sample workbook to your message. Otherwise, use OneDrive or GoogleDrive and paste a link here that grants access.
mathetes see attached. I just want to be able to plug and play with the number of deals in rows 2 & 3 and change the dollar values for each tier in rows 8 & 9 or the number of deals required for each tier in rows 12 & 13 and then have them be able to see what they could potentially make each month in row 5.
- mathetesAug 29, 2024Silver Contributor
I changed your tables into a single table (well, actually two tables put together, but one for the DCI values, the other for the Certainli. Then there's one formula, a long one, using the LET function.
=LET(DBonLvl,INDEX($B$9:$D$9,,MATCH(B$2,$B$8:$D$8,1)),CBonLvl,INDEX($B$11:$D$11,,MATCH(B$3,$B$10:$D$10,1)),(DBonLvl*B2)+(CBonLvl*B3))
I've attached the sheet, but here's what it looks like now.
If you're not familiar with that, here's a reference. And if you'd like I can spell out how this one works. Let me know if that'd be helpful.
I'm sure, as we've talked about in earlier exchanges, there are different ways to do this. One of the delightful features of Excel.
- mathetesAug 29, 2024Silver Contributor
By the way, there's such a big jump in the bonus when, for example, a person goes from Tier 2 to Tier 3 in the Certainli category. Going from 9 to 10 is great for the person who hits 10, really tough on the person who worked just as hard, maybe harder, but only made 9.
You might want to consider adopting a system that works something like the US Federal Tax system, where an additional dollar income, putting you "from one bracket into the next up" actually only costs the person that higher rate for that last dollar. Granted, it's the reverse of your situation in some ways, since the bonus system is paying out whereas the tax system is asking you to pay. But that graduated tax table is a good concept.
I've attached a calculator for Federal Taxes as an example--- this is more complicated, since it handles multiple years as well as multiple levels of income. But it illustrates my point about moving from one bracket to another.
- LisaMarie1981Aug 30, 2024Brass ContributorOK, Thank you so very much for this. This is above and beyond! Much appreciated