GaborBartal
GaborBartal

Reputation: 35

Finding 'x' in Excel

I have a problem I need help with, please.

I want to find x in the following manner:

((a+x)/(b+x))>=c

This would be an extension to a simple calculation in my workplace, d=a/b where:

So far so good. No function needed.

But we also have a target, c, in percentage - let's say 60% or 0.6 Ideally a/b should be bigger than c.

IF it is not, I'd like to know how many more incoming calls we need that are also handled (with x added to both a and b above) therefore slowly raising our performance over time.

x would show this extra number of handled calls, say, "5"

Can someone please help? thank you!

Upvotes: 1

Views: 761

Answers (3)

pnuts
pnuts

Reputation: 59485

This might be a case for a graphical presentation:

SO21731509 example

where the formula in F2 (copied down) is =IF(E2>0,E2,0) and a Stacked Column has been applied.

Upvotes: 1

mansuetus
mansuetus

Reputation: 822

When you cannot solve the equation "analytically", you might use the "goal seek".

Use a param in any range, such as "A1". Fill it with any value looking like your answer (if you want a percentage put 50%, etc.).

A1=3
B1=((a+A1)/(b+A1))

Open "Data" tab and "What-If analysis" and "Goal Seek".

In "Set Cell", select "B1" In "To Value", set the value you want to reach (0.6 in your sample) In "By changing cell", set A1.

Click OK, see A1 becoming the expected result.

Upvotes: 1

Gary's Student
Gary's Student

Reputation: 96771

((a+x)/(b+x))>=c

then

a+x >= c(b+x)

then

a+x >= cb+cx

then

a-cb >= cx-x

then

a-cb >= (c-1)x

then

(a-cb)/(c-1) >= x

So if you have values for a,b,c then the range for x is defined.

Upvotes: 1

Related Questions