TA: Shreya Rawal  A custom calculation use the data associated with cells in a single worksheet, or across multiple worksheets.

Presentation on theme: "TA: Shreya Rawal  A custom calculation use the data associated with cells in a single worksheet, or across multiple worksheets."— Presentation transcript:

TA: Shreya Rawal Email: srawal@ucalgary.ca

 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.

 Logic Condition  True Statement  False Statement

 = IF(,, )

 = IF(A2<50, “Fail”, “Pass”)  = IF(A1 80, “A”, “B”))

 A statement can correspond to a number, or a string of characters by using double quotation marks (e.g. "yes", "true", "evaluation if false", etc.)

 = IF(A1<50, “Fail”, “Pass”)  A1 = 88Pass  A1 = 43Fail  A1 = 50Pass  IF (A1 80, “A Grade”, B Grade”)  A1 = 88A Grade  A1 = 43Fail  A1 = 50B Grade

 IF (G2 = “Cat”, “Kitten”, (IF G2 = “Dog”, “Puppy”, “Small Mammal”))  G2 = CatKitten  G2 = DogPuppy  G2 = BatSmall Mammal  G2 = MouseSmall Mammal

 Pivot tables provide a mechanism to:  summarize data  makes it easier to analyze  makes it easier to present data

 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

Download ppt "TA: Shreya Rawal  A custom calculation use the data associated with cells in a single worksheet, or across multiple worksheets."

Similar presentations