Excel - Working out an overall Percentage - excel

I'm trying to create a table in Excel which works out the overall average performance of a driver.
The layout of the table is below. You can see if the driver has had drops and has no early, late and OTIF then the total should show 100%.
But if the driver was to get an Early (for example) then this will affect the total percentage (it should go down from 100% to 90% for example). But i'm unsure on what formula to use in Excel? Any help / or tips would be very helpful!
Thank you.

So I am taking a guess here that the formula you want is:
=IFERROR((E4-(B4+C4+D4))/E4,"")

Clarity is needed on whether the Early, Late or OTIF numbers decrease the percentage by a fixed 10% each, or if it is just a percentage of the successful drops.
To find that number, the easiest way to do this is the following. (Note: I am assuming that the Drops column is indicating the total number of drops and not just the number of successful drops)
The best way to do this would be to take the total number of drops and subtract the number of undesirable outcomes from it. This creates the number of successful drops. Once that number is created, a simple division by the total number of drops will create the proper percentage. see below formula
=((E5-E2-E3-E4)/E4)
This should take the total number of successful drops and divide it by the total number of drops.
Hopefully, this helped! Good luck!

Related

How can I determine the 'total cost' from a tiered pricing structure using standard formulas in Excel?

I'm trying to evaluate various tiered pricing structures (for say, electricity plans) using Excel (more-or-less) to see what costing/plan is 'optimal', given some existing usage data I have.
Consider an example 'Table of Usage & Rates' (with fictitious but easily manipulated values):-
For a daily usage value of 120, we'd have 100 (in the 1st tier) and 20 (in the 2nd tier). The amount used within a tier gets charged at a certain rate (the 'factor')... and each 'tier charge' is addded together to form a total charge for the day.
So, we can calculate:-
100 x 8 = 800 ...a part of the total
20 x 4 = 80 ...another part of the total
...and that's all, giving a total of 880.
...but how to do that in a single formula within a cell?
I've done some pretty decent explorations for a few hours today, as I can't nut out how to deal with this... and most suggestions talk about multiple =IF formulas (cumbersome and unscalable - I shouldn't need to recode cell contents if I split/add another tier)... and suggestions with =VLOOKUP just don't 'click' with me ( = I don't understand them).
I'm actually using 'PlanMaker', a component of Softmaker's 'Office 2021' product to create/maintain this spreadsheet.. and there is no VBA-like plugin available.
I'd appreciate a method of attack, if anyone can suggest something, please...
So:
=product(10,8)+product(20,4)
or if we assume Factor starts in B9 then =product(A9,B9)+product(A10,B10+product(A11,B11)
then take the sum of those results etc assuming A9 is the amount used.
You can also use:
=sumproduct(A9:A11,B9:B11)
for the same but only needs one cell. And the advantage of a lot less typing.
You can include a 3rd array in sumproduct (or as many as needed) such as a binary value to include in the calculation or not.

Split total by percentage and receive the same result

This is a little bit complicated to describe, but I will try my best. I have a total, let's say 1000. Then I want to split it by percentages, position count is all the time different. So there can be 3 or 70 or 130 positions or whatever. Then split sum should correspond to target value.
Here is an example of the case:
I input names under Customer request
I enter percentage for position under Percentage
In amount calculation I use =CEILING($C$5*C10;10) and in all the rest of the cells the same to get numbers look nice. It is working fine but he problem is that now totals does not match. It should end up in 15550 but after calculating totals after split it is 15660.
Is there any ideas what kind of master artificial intelligent formula can do the trick to produce nice looking numbers, taking in consideration to match Total (target) in the end if Total (calculated) percentage is 100%?
P.S. Any ideas are welcomed as well. The target is to have nice looking, rounded numbers that will sum in the same number as target - total.
Since you are using CEILING, your output number (e.g. 15660) is guaranteed to be greater than or equal to your input number (e.g. 15550). This is because any time a "perfect match" isn't found, it rounds up.
My first suggestion is to instead use ROUND instead of CEILING. Right off the bat this will perform better than CEILING because ROUND can round up or down but CEILING can only round up.
E.g. try this:
= ROUND($C$5*C10,-1)
Since you provide no details as to "how" the data needs to be adjusted to meet your input value, I can't really provide any automatic solution.
One manual solution is that you can make a new column which indicates whether the data was rounded up or rounded down, and you can adjust the percentages manually to get the data you're looking for.
Here's a formula to tell you if the data is rounded up or down (e.g. put formula in cell E10 and drag down):
= CHOOSE(SIGN(D10-($C$5*C10))+2,"Round Down","Perfect Match","Round Up")
You can use this information to manually tweak your percentages. For example... if your output value is too high, you can slightly decrease some of the higher percentages that "Round Up" and slightly increase some of the lower percentages (e.g. if you have 10% and 3%, maybe change them to 10.1% and 2.9% to see if that makes a difference.)

Excel Nested If - Calculating Commission

I need to calculate the sales commission depending on the sales achievement.
AMOUNT PERCENT NOTE
8000-9999 5% achievement*.05
10000-11999 20% difference of achievement-8000*.2+400
12000-13999 25% difference of achievement-8000*.25+400
14000-15999 30% difference of achievement-8000*.30+400
16000 & ABOVE 35% difference of achievement-8000*.35+400
I have this in excel formula,
=IF(H3>8000,(H3*0.05),IF(H3<9999,H3*0.05,IF(H3>10000,((H3-8000)*0.2+400),IF(H3<11999,((H3-8000)*0.2+400),IF(H3>12000,((H3-8000)*0.25+400),IF(H3<13999,((H3-8000)*0.25+400),IF(H3>14000,((H3-8000)*0.3+400),IF(H3<15999,((H3-8000)*0.3+400),IF(H3>16000,((H3-8000)*0.35+400))))))))))
I tested with
Achieved Amount Commission
8724 436.2 //correct
10000 500 //wrong
I believed the other formula was not read.
By your pattern this will do what you want:
=IF(H3<10000,H3*0.05,(H3-8000)*MIN((INT(H3/2000)-1),7)*0.05+400)
So, as my comment you need to reverse it:
=if(H3>16000,H3*0.35,if(H3>14000,H3*0.3,if(H3>12000,H3*0.25,if(h3>10000,H3*0.2,if(H3>8000,H3*0.05,0)))))
Not tested this, or put in the constant amounts you show either but the structure should work.
You are on the right lines, all you need to do is to do the highest first then the next highest etc. At the moment as soon as it is 8001 then that is true and the calculation stops. So, if you test for 16001 and it is not true then it will do the next one etc

Using MIN IF function to find peaks and valleys in data

I have a cyclic data set. There are low cycles and high cycles, each with slightly different mins and maxes. i need to find the values of each min and max. I have attached picture of a simplified version of what I have. I know roughly what time the peak/valley will occur, so i thought i could use the min if function to isolate each extreme value. For example, it i wanted to find a valley between time 1 and time 5, i would use this formula:
=MIN(IF(1< time<5,data))
This just yields 0 for some reason. It sort of worked once but instead of isolating the minimum for the selected time period, it just found the minimum for the whole column. What am I doing wrong here? Is what i am trying to do possible without using VBA? This is a template for work that others will use and not everyone is able to use macro-enabled workbooks so I'd like to avoid that.
Use this:
=MIN(IF(time>5,IF(time<12,data)))
It is an array formula and needs to be confirmed with Ctrl-Shift-Enter

Subtracting viralnes

i have a yearly unit that i divide by a percentage to give me the monthly equivalent. I have a growth formula that increases the monthly unit to a yearly one month by month, how can i create a formula that give me the actual unit per month not the growth. Example
4
5
7
8 this is the growth but i what 5-4=1....
7-5=2...
=ROUND(Q59*$B$49,0) is how i get 4..5..6..7..8 how do i get to 1..2..1 in one formula . Thanks
If I'm understanding you correctly you are looking for the incremental increase rather than the total increase. Without more information it is difficult to understand exactly what your looking for, but your formula sounds like it is multiplying over 100%. You want to multiply by the percentage of increase. so essentially what your doing is adding the beginning balance back in. Change your percentage in the cell to the increase and not the increase plus beginning.

Resources