Goal Seek Type Formula

jjramirez85

New Member
Joined
May 21, 2014
Messages
19
I have a total cell ($.024046) that sums all rows above which contain 1 blank cell (XXXX). On the side is a cell which equals 80% of the total cell ($0.19). How can I make the blank cell match the cell returning 80% of the total. With trial and error, $.32 in the blank cell will output $.32 as 80% of the total. They match. How can I match with formula? I tried goal seek but it did not work.

Reference: Ext cost = qty x unit cost

ComponentUOM QTY UNIT COSTEXT COST
123451LBS. 0.5100 $ 0.2454$0.12515
123452LBS. 0.0007 $ 8.3360$0.00591
123453LBS. 0.0019 $ 0.5523$0.00105
123454LBS. 0.0397 $ 0.0818$0.00324
123455LBS. 0.0033 $ 0.1850$0.00062
123456LBS. 0.0041 $ 1.0573$0.00429
123457LBS. 0.0054 $ 1.6464$0.00896
123458LBS. 0.0434 $ 0.7721$0.03355
123459LBS. 0.0003 $ 2.6779$0.00083Return80%
123460LBS. 0.5000 XXXX$0.00000$0.19
123461LBS. 0.0005 $ 6.7730$0.00354
123462LBS. 0.0192 $ 0.7523$0.01441
123463LBS. 0.0007 $ 1.2633$0.00085
123464LBS. 0.0048 $ 7.9713$0.03805
$0.24046

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
It appears you're missing some significant digits -- the EXT column doesn't track the qty and unit cost numbers.
 
Upvote 0
With waht's there,

A​
B​
C​
D​
E​
F​
G​
H​
1​
Comp
UoM
Qty
Unit Cost
Ext Cost
2​
123451​
LBS.
0.5100​
$0.2454​
$0.12515​
3​
123452​
LBS.
0.0007​
$8.3360​
$0.00584​
4​
123453​
LBS.
0.0019​
$0.5523​
$0.00105​
5​
123454​
LBS.
0.0397​
$0.0818​
$0.00325​
6​
123455​
LBS.
0.0033​
$0.1850​
$0.00061​
7​
123456​
LBS.
0.0041​
$1.0573​
$0.00433​
8​
123457​
LBS.
0.0054​
$1.6464​
$0.00889​
9​
123458​
LBS.
0.0434​
$0.7721​
$0.03351​
10​
123459​
LBS.
0.0003​
$2.6779​
$0.00080​
11​
123460​
LBS.
0.5000​
$0.2935​
$0.14675​
80%​
D11: =0.8 * SUM(E2:E10) / C11
12​
123461​
LBS.
0.0005​
$6.7730​
$0.00339​
F11: =E11/SUM(E2:E10)
 
Upvote 0
Solver works:

T43GCkj.png
 
Upvote 0
(Nonlinear instead of evolutionary is better above)

Here's one way to match with Goalseek:

4Jw5zgV.png
 
Last edited:
Upvote 0
The extended cost = qty x unit cost

So, what ever is plugged in to XXXX needs to match the output of the return $. The return $ = total extended cost X 80%

It appears you're missing some significant digits -- the EXT column doesn't track the qty and unit cost numbers.
 
Last edited:
Upvote 0
The goal seek method with the zero out cell worked. Could not come up with this for some reason. I would ultimately like to have a formula, so if I change anything in the cost or qty, then it would update as changes are made.

(Nonlinear instead of evolutionary is better above)

Here's one way to match with Goalseek:

4Jw5zgV.png
 
Upvote 0
I have your data in A1:E16 with the total in E16.
Formula in G16: =0.8*(E16)/(1-0.8*(C11))
I don't get a circular ref.

ComponentUOMQTY UNIT COSTEXT COST
123451LBS.0.510000.245400.12515
123452LBS.0.000708.336000.00591
123453LBS.0.001900.552300.00105
123454LBS.0.039700.081800.00324
123455LBS.0.003300.185000.00062
123456LBS.0.004101.057300.00429
123457LBS.0.005401.646400.00896
123458LBS.0.043400.772100.03355
123459LBS.0.000302.677900.00083Return80%
123460LBS.0.50000XXXX0.00000$0.19
123461LBS.0.000506.773000.00354
123462LBS.0.019200.752300.01441
123463LBS.0.000701.263300.00085
123464LBS.0.004807.971300.03805
0.240450.3206
<colgroup><col width="64" style="width: 48pt;" span="2"> <col width="64" style="width: 48pt;" span="3"> <col width="64" style="width: 48pt;" span="3"> <tbody> </tbody>
 
Upvote 0

Forum statistics

Threads
1,214,974
Messages
6,122,536
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top