[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.DefaultSheetDataModel.GoalSeek

GoalSeek Method

GoalSeek(int, int, DefaultSheetDataModel, int, int, double)

Attempts to find a value for one cell that produces the desired formula result in another cell.

Declaration
public bool GoalSeek(int variableRow, int variableColumn, DefaultSheetDataModel formulaDataModel, int formulaRow, int formulaColumn, double desiredResult)
Public Function GoalSeek(variableRow As Integer, variableColumn As Integer, formulaDataModel As DefaultSheetDataModel, formulaRow As Integer, formulaColumn As Integer, desiredResult As Double) As Boolean
Parameters
Type Name Description
int variableRow

Row index of cell that contains value to adjust

int variableColumn

Column index of cell that contains value to adjust

DefaultSheetDataModel formulaDataModel

Data model of cell that contains formula

int formulaRow

Row index of cell that contains formula

int formulaColumn

Column index of cell that contains formula

double desiredResult

Formula result you wish to achieve

Returns
Type Description
bool