A custom calculation use the data associated with cells in a single worksheet, or across multiple worksheets. A custom calculation is specified in the function toolbar. Example: = (A1 + A2 – E3 * B12) = (P * N * R)/100 Where P, N, R can be cell values representing Principal Amount, Number of Years and Rate of Interest.
To refer cell or data in same worksheet. It is referred as column and row Eg: A12, E5 To refer cell data from different worksheet. It is referred as sheet name, exclamation point (‘!’), and cell reference (F12). Eg: Sheet2!F5
Step 1 Select the cell in which you would like the evaluation of the custom calculation to be displayed Step 2 In the Function toolbar, enter the custom calculation by starting with the equals symbol '='. Step 3 After entering the custom calculation, press the 'enter' key to evaluate the function. The result will appear in the cell that was originally selected.
A custom calculation can also include functions which are bundled with Excel. Example: = (SUM(A5:A10) * 50) = (AVERAGE(A22:A56) / COUNT(A22:A56))
An If-Then statement answers the question "is this true or false?" and then performs a corresponding action.
If it snows I will not go to school Else I will go to school
If it snows I will go to gym Else If temperature < -25 I will stay at home Else I will go to school
In nested If-Then statements, evaluations of inner-most statements occur first, and their evaluations are propagated to the outer-most statements.
IF (A1 = “Bed”, IF (A2 = “Sofa”, “You have sofa and bed”, IF (A3 = “Chair”, “You chair and bed”, “You have bed but not chair or sofa”)), “you do not have anything”) A1 = Bed, A2 = Sofa, A3 = Table You have sofa and bed A1 = Bed, A2 = Table, A3 = Chair You have chair and bed