Calculation Problem

  • Thread starter Thread starter Larry
  • Start date Start date
L

Larry

How can I structure the worksheet to solve this problem. The cell
value is part of the total but the cell calculation depends on the
total.

For example:

Cell B1= 3% of cell B4
Cell B2= 5% of cell B4
Cell B3=10
Cell B4=sum(B1:b4)

How can cells B1 & B2 be calculated when they're part of the total?
Thank you!
 
Larry said:
How can I structure the worksheet to solve this problem. The cell
value is part of the total but the cell calculation depends on the
total.

For example:

Cell B1= 3% of cell B4
Cell B2= 5% of cell B4
Cell B3=10
Cell B4=sum(B1:b4)

Dont you mean:

Cell B4=sum(B1:b3)?
 
They can't. When your inputs and result are interrelated,
that's called a circular reference. Excel won't allow
it.

'm not sure what you're trying to accomplish. but usually
you can use the Solver feature to quickly arrive at your
target. For your example, make cell B4 simply a number.
Then set cell B5=sum(B1:B4). Then use the Solver feature
(its an add in) or Goal Seek feature to optimize B4 for
the number you're trying to get.

Good Luck.
 
How can I structure the worksheet to solve this problem. The cell
value is part of the total but the cell calculation depends on the
total.

For example:

Cell B1= 3% of cell B4
Cell B2= 5% of cell B4
Cell B3=10
Cell B4=sum(B1:b4)

How can cells B1 & B2 be calculated when they're part of the total?
Thank you!

Tools/Options/Calculations/Iteration


--ron
 
Ron Rosenfeld said:
Tools/Options/Calculations/Iteration

Ron,

That was my first thought, but Cell B4 is the sum of cells B1:B4 (including
itself) so each iteration just pushes the values up.

P
 
I don't believe your equation is converging. It looks like your equation
grows without limit.
 
Ron,

That was my first thought, but Cell B4 is the sum of cells B1:B4 (including
itself) so each iteration just pushes the values up.

P

I thought that was probably a typo.


--ron
 
Larry said:
How can I structure the worksheet to solve this problem. The cell
value is part of the total but the cell calculation depends on the
total.

For example:

Cell B1= 3% of cell B4
Cell B2= 5% of cell B4
Cell B3=10
Cell B4=sum(B1:b4)

How can cells B1 & B2 be calculated when they're part of the total?

Try this.

B1: =0.03*B4
B2: =0.05*B4
B3: 10
B4: =10/(1-0.03-0.05)
B5: =SUM(B1:B3)=B4
 
Larry said:
How can I structure the worksheet to solve this problem. The cell
value is part of the total but the cell calculation depends on the
total.

For example:

Cell B1= 3% of cell B4
Cell B2= 5% of cell B4
Cell B3=10
Cell B4=sum(B1:b4)

How can cells B1 & B2 be calculated when they're part of the total?

They can be calculated because another way of stating the sum is to say
that B1+B2+B3=0. You can use this observation to restructure the worksheet
without a circular dependency.

Cell B1= = .03*B4
Cell B2= = .05*B4
Cell B3= 10
Cell B4= (blank for now)
Cell B5= =B1+B2+B3

Tools >> Goal seek >>
Set B5 to value 0 by changing B4

Or you can set Excel aside and just use algebra to solve the problem.
 
Harlan said:
The correct approach more often than may be supposed.

Yes, but I admit being a little flippant.

Maybe this is one example, typical of many problems that need to be solved.
If so, here's a way to get the answer without having to use goal-seek for
each problem.

A1: 0.03
A2: 0.05
A3: 10
B1: =A1*B$4
B2: =A2*B$4
B3: =A3
B4: =-A3/(A1+A2)

The last formula comes from algebra.
 
Back
Top