EXCEL LEARNER,
Hello everyone, I am a new member. I am retired and I do exercises in Excel. I want to perform this calculation in the same instruction. Waiting for your contributions
EXCEL LEARNER,
Hello everyone, I am a new member. I am retired and I do exercises in Excel. I want to perform this calculation in the same instruction. Waiting for your contributions
Hello joean and welcome to the forum.
Creating a sliding scale is possible but more information is needed. First, what version of Excel are you using - different versions have diffeent capabilities. What will the range of the commission be? (ie: 0% - 3%, 0% -10%, 5%-15%) What conditions will affect the commission rate?
If you could upload a sample file to show what you are looking to achieve would be very helpful.We are willing to help where and when we can but will not build a file from beginning to end.
Cheers :-)
Hi Joean and welcome to the Forum.
In the attached file I've created a couple of tables to show how you might do it.
On worksheet "Commission", you'll see a table of values and commission rates (including two rows at the top and bottom to allow you optionally set a lower threshold - other than 0- for commission and/or a top ceiling). The yellow cells are the ones you need to adjust but you can insert extra rows (or type a row below) and the table will "expand to include it. For the sliding scale to work, the values in column A must be ascending so I've set data validation which prevents you putting a lower value in the next max value step.
This table is used in the table on the worksheet "Sales". Here the (table formula) in cell E2 is:
=VLOOKUP([@[Gross sales value]], Table1, 2)
where the bit in bold means the row value under "Gross sales value" and is used by the VLOOKUP to find the rate in the table which I mentioned above (named Table1), in italics, and return the % value from column 2. I've used a VLOOKUP trick here- the default setting of VLOOKUP is to look for an approximate match (rather than exact) so it will give the rate for the band BELOW the sales value in column C. (This avoids "nested If" statements).
That rate (if not TBA) gets multiplied by the sales value in cell F2 by the formula:
=IFERROR([@[Commission rate]]*[@[Gross sales value]], "Refer to manager")
where the bold IFERROR statement is wrapped around the multiplication. If the rate is TBA, you get the text in bold italic (which could be a maximum commssion value instead actually).
The real advantage of using a table here is that you only write the equations once (in the row below the headers) and other rows get that formula as the tabkle expands. E.g. just type in row 4 and the row will get the pale yellow cells (for you to edit) but the equations in columns E and F are there without any copying or effort on your side!
Hope this makes some sense and solves your problem. If so, please remember to mark this Answer as Selected.