Add count till it reaches certain percentage - excel

I need to calculate how many more tickets i need to meet the target percentage. Let me try to explain with an example.
Lets assume I have below data -
Tickets Met - 27
Tickets Missed - 3
Total Tickets - 30
Met % - 90%
Target % - 95%
So i want to know how many more tickets should i met to reach 95% (where my missed count will not change)

I suggest following below formula:
Lets assume Tickets_to_be_met = x,
x = (0.95 * Total_Tickets) - Current_Tickets
My formula is based on simple Maths(Percentage) calculation:
Considering your example: ((27 + x) / 30) * 100 = 95
where
27 = Current_Tickets,
30 = Total_Tickets
EDIT
In Excel,
Try using =((95*B1)-(A1*100))/5 Where B column contains Total_tickets and A column contains Current_tickets
Considering the Formula: (27 + x) / (30 + x) = 95 / 100
Hope it helps!

Assuming you know your total tickets and current tickets met
Total tickets: 30
Tickets met: 27
You want to additionally add tickets such that your tickets met is 95% of total tickets
(Current_tickets_met + x)/(Total_tickets + x) = 95%
(27+x)/(30+x) = 95/100
This resolves x to be of value 30
Which means, if you additionally add 30 tickets
Current tickets met = 27+30 = 57
Total tickets met = 30+30 = 60
And 57/60 = 95%

Related

Trying to show a full years amount based on a smaller fraction of the year's total

this is my first post.
Right now, I have a limited set of data ranging from the beginning of this financial year until now. I'm trying to show what a full year's worth of that data would look like.
For example, if the number is at 10, and the data range is from 1/07/2021 - 30/12/2021 (half the year), then the end output should be 20. Or for example, turn a 12 with 3/4 of the year date range to 16 for a full years' worth.
However, my current formula would end up with 15 (10 + "half") rather than (10 + 10)
Right now this is what I have, but I know there's something off on my logic, as the output is smaller than it should be:
D1+((364-(F1-E1))/365)*D1
where E1 is the start date and F1 is the end date, and d1 is the number for that date range
Thanks in advance
endDate - startDate will give you the number of days the data covers.
(endDate - startDate) / 365 will give you what fraction of a year the sample represents.
Let’s say this works out to be 30%, or 0.30.
annualValue * 0.30 = periodValue and therefore we know that periodValue / 0.30 = annualValue.
So there it is, the cell you want the Annual Value in should be:
= periodValue / ( ( endDate - startDate) / 365 )
I will leave it to you to replace each of the three named values in my example to be the correct cell references. I suspect that’s probably:
=D1/((F1-E1)/365) which is the same as (D1*365)/(F1-E1).
The easy way to remember this is that it’s just cross-multiplication.
periodValue / days is proportionate to annualValue / 365. Thus periodValue / days = annualValue / 365. Cross-multiply and you get periodValue * 365 = annualValue * days. Divide both sides by days and you get `annualValue = (periodValue * 365)/days.

Solving for 170 Variables in MS Excel

More so a logic question than code question
I'm currently working on identifying how long a given product our plant produces takes. Rather than going out and conducting a time study, I'd rather take historical SAP data and fit our product output numbers to find an estimated time that each product takes to make. Problem is that we produce a wide variety of products at this facility.
Here was my logic:
Gather all production data for the last six months
Create a variable for each product
Create equations of Quantity * Variable for each product
Add all the individual product equations and set them equal to shift time
[( a1 * 600 ) + (a2 * 560) + ....] = 480 minutes
Hopefully let excel figure out each of the variables.
The issue I'm having is:
How to programatically make the equations for each of the date changes
Also I realize Excel probably isn't going to be able to do this too well. So I'll probably then take the equations over to Python to solve - unless someone has a suggestion on how to get Excel to compute through this.
Thanks for your help.
IMHO, mathematically, just sum up the multiplier for a1 to a13, then using weight, map it back to 48 minutes (or 1920 seconds) .
From your data.. I got :
1500*a1 + 560*a2 + 56*a3 + 85*a4 + 85*a5 + 164*a6 + 150*a7 + 1*a8 + 10*a9 + 189*a10 + 20*a11 + 45*a12 + 280*a13
sum up the multiplier :
1500 + 560 + 56 + 85 + 85 + 164 + 150 + 1 + 10 + 189 + 20 + 45 + 280 = 3145
weight it to 1920 seconds :
a1 : 1500/3145 * 1920 = 915.7392686804452 secs
a2 : 560/3145 * 1920 = 341.8759936406995 secs
...
a13 : 280/3145 * 1920 = 170.9379968203498 secs
Hope it helps. (:

Forecasting DAU using retention rates and new user acquisition count

I have been given a table with retention rates starting from day 1 to day 364. I have been given a current DAU count of 600k with a degradation rate of 2% per week(I am assuming current DAU means DAU on Day 1. The other information includes a count of daily acquired new users which is 10k.
The problem is to forecast/predict users on day 365.
What would be the best way to approach this problem?
I don't know whether my approach is correct but below is what I am thinking.
Step 1: Starting from a count of 600k on day one add 10 k users each day. On day 8 deduct 2% from day 7 count and perform the same operation till day 364.
Step 2: For the retention rates. Say day 1 - 100%, 2-60%, 3-40%, 4-30%...day 364-1%. Calculate DAU using values in Step 1 and run a cumlative sum using the retention rates.
Example:
Day 1 - 600,000 * 100 %
Day 2 - 600,000 * 60% + 610,000 * 100%
Day 3 - 600,000 * 40% + 610,000 * 60% + 620,000 * 100%
and so on
Once I have the DAU from Day 1 to Day 364 use Time series forecasting and predict the DAU for Day 365.
Thank you!
Adheip
Let :
A1 = day
B1 = RR
C1 = no of users
A2 = 0
B2 = 100%
C2 = 600000
E1 = 0
F1 = 1
G1 = 2
H1 = 3
I1 = 4
J1 = 5
K1 = 6
L1 = 7
M1 = 8
N1 = 9
O1 = 10
P1 = 11
Q1 = 12
R1 = 13
with
D2 =SUM(E2:R2)
drag until D16,
C3 =C2+10000
drag until C16, and
E2 =IF(E$1>$A2,0,INDEX($C:$C,MATCH(E$1,$A:$A,0)))*INDEX($B:$B,MATCH(E$1,$A:$A,0))
drag until R16.
Hope that helps. (:

Excel formula for reverse percentage calculation

I have a calculation which I am unable to crack.
Lets say my Cost Price is 300. I want to sell the item at No Profit or No Loss. My total commission/expenses will be 30%. So it means i need to sell the item at 390.
But if I do 390 - 30% = 273.
How can I see the item, so that if I minus 30% to it. My Revenue will still be 300.
the formula you want is
=300/0.7
or
=300/(1-30%)
basically it is 300= x*(1-.30) where the (1-.30) is the amount that wants to be kept after the commision of 30%. Solving for x we get the above formula.
You want Sell Price - 30% Sell Price = Cost Price.
Combining the left two, you have 70% Sell Price = Cost Price.
Divide both sides by 70% and you get Sell Price = (1/0.7) Cost Price.
The fraction 1/0.7 is approximately 1.42857.
I was looking for a similar equation/formula, but then I built it in Excel.
So if you have, say, an item with
CostPrice = 200
Then you add a ProfitMargin = 20% so the
SellPrice = 200 + 20% = 240
Then the reverse equation for this will be
CostPrice = ( SellingPrice * 100 ) / ( ProfitMargin + 100 )
// In your case it should be
CostPrice = ( 240 * 100 ) / ( 20 + 100 )
= 200
Or Simply do the following:
CostPrice = SellingPrice / 1.2 = 240 / 1.2 = 200 <-- This will reduce the added 20%
I was looking for the same thing. None of the people here seemed to understand exactly what you were going for.
Here is the formula I used to get 300 as the answer.
=390/(1+30%)

Represent Negative percentage in excel instead of 0.0%

How can I show negative percent in excel?
I need to find worst case.
Current Input
if A = 15/19 = 78.9%
B = 162/268 = 60.4%
C = 0/5 = 0.0%
D = 0/90 = 0.0%
Output required.
FYI numerator and divisor is coming from another cell
if A = 15/19 = 78.9%
B = 162/268 = 60.4%
C = 0/5 = -5.0%
D = 0/90 = -90%
I'm having trouble understanding your question but you will only get a negative percentage where one of either the numerator or denominator is below zero:
0/5 = 0%
5/5 = 100%
-5/5 = -100%
5/-5 = -100%
If you presume we're talking about employees here, comparing the number of tasks assigned versus the number of tasks completed and you want to judge two employees differently even though neither of them accomplished anything you'll have to use something besides percentages.
In your example you imply that 0/5 is different from 0/90 but this would also imply that somebody completing 10/20 tasks (50%) should be rated differently from somebody completing 200/400 tasks (also 50%).
Some things you could do are giving each employee some value like 2 points for every task they complete and subtracting 3 points for every task they did not complete.
A = (15 *2) - (4 *3) = 18 points
B = (162*2) - (106*3) = 6 points
C = (0 *2) - (5 *3) = -15 points
D = (0 *2) - (90 *3) = -270 points
The problem here is that you would need to decide the weighting, as comments have pointed out, this weighting would give somebody who completed 200/400 tasks less points than somebody who completed 10/20. It looks like you've already decided to go with a modified 'percentage' value so further argument is moot but the weighting would have to be determined based on the meaning behind the numbers.
I'll give one alternative below where 3 points are given for completing a task and 2 are subtracted for failing to complete a task:
A = (15 *3) - (4 *2) = 37 points
B = (162*3) - (106*2) = 274 points
C = (0 *3) - (5 *2) = -10 points
D = (0 *3) - (90 *2) = -180 points
Another metric I might consider is to take ALL 205 of the uncompleted tasks and assign percentages based on how many of the uncompleted tasks belong to each user:
A = 4 / 205 = 1.9%
B = 106 / 205 = 51.7%
C = 5 / 205 = 2.4%
D = 90 / 205 = 43.9%
In this case, you would be ranking whoever has failed to complete the largest percentage of the uncompleted tasks pool.
This is what I ended up doing
Cell A1 = 0.0%
Then I did following using if else condition.
Output
Formula in D2
=IF(IFERROR(C2/B2,"")=$A$1,-B2*0.01,IFERROR(C2/B2,""))
Hope it will help others

Resources