[英]How to put bounds/limits on Goal Seek function in Excel without VBA?
I'm using MS Office 2016 Professional Plus . 我正在使用MS Office 2016 Professional Plus 。
In Excel I'm trying to minimize a value in a cell by using What-If-Analysis and Goal Seek . 在Excel中,我试图通过使用假设分析和目标寻求来最小化单元格中的值。 But there is no options to set a limits on changing cell.
但是,没有任何选项可以设置更改单元的限制。
I can only set a target cell, target value and a changing cell. 我只能设置目标单元格,目标值和变化的单元格。 But I need changing cell to be changed within certain bounds: [0:1] (from zero to one)
但我需要在某些范围内更改单元格: [0:1] (从零到一)
Is there some way I can set bounds on Goal Seek without involving programming with VBA so it fluctuates within specified range? 有什么方法可以在不涉及使用VBA编程的情况下设定目标搜寻范围,使其在指定范围内波动?
Uploaded my Excel file to DropBox: SOQ.xlsx 将我的Excel文件上载到DropBox: SOQ.xlsx
嗨:使用求解器代替目标搜索-可以为您提供所需的控制和灵活性:二进制约束,整数和线性路径中其他像元值的限制。
A simple way to go about it is to set your initial changing cell value to 0.5
and then go to File> Options> Formulas and included the following in your calculation options: 一种简单的解决方法是将初始更改的单元格值设置为
0.5
,然后转到“ 文件”>“选项”>“公式”,并在计算选项中包括以下内容:
Maximum iterations: 100
最大迭代次数:
100
Maxumum Change: 0.005
最大变化:
0.005
Then goal seek as before 然后像以前一样寻求目标
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.