JM

Functions and References in Excel

In Excel, functions are predefined formulas that perform calculations using specific arguments and return a result. To use functions:

  1. Insert Function Button (fx): Click the 'Insert Function' button to open a GUI that helps you select a function and input its arguments. For example, to find the sum of cells A1 to A10, you can use the GUI to select the SUM function and then specify the range A1:A10.

  2. Typing Directly: Type '=' followed by the function name (e.g., =SUM) in a cell. Excel may suggest functions based on the data around your active cell. For example, type =SUM(A1:A10) directly into a cell to add up the values in cells A1 through A10.

  3. Arguments: These are the values or cell ranges that the function uses in its calculation. You input these values either through the GUI or by typing them directly into the formula. For example, in =SUM(A1, B2, C3:C10), the arguments are cell A1, cell B2, and the range C3 to C10.

  4. SUM Function: Adds up a range of cells: =SUM(range1, range2, cell1, cell2). For example, =SUM(A1:A5, B1:B5) adds the values in the ranges A1 to A5 and B1 to B5.

  5. AVERAGE Function: Calculates the average of a range of numbers: =AVERAGE(range). For example, =AVERAGE(A1:A10) calculates the average of the numbers in cells A1 through A10.

  6. COUNT Function: Returns the number of items in a selected range: =COUNT(range). For example, =COUNT(A1:A10) counts how many cells in the range A1 to A10 contain numbers.

  7. MAX Function: Returns the highest number in a selected range: =MAX(range). For example, =MAX(A1:A10) returns the highest number found in cells A1 through A10.

  8. MIN Function: Returns the lowest number in a selected range: =MIN(range). For example, =MIN(A1:A10) returns the smallest number found in cells A1 through A10.

Excel also provides features like Auto Fill, which extends the function across multiple cells while automatically adjusting the cell references. For example, if you put =SUM(A1:A10) in cell B1 and then use Auto Fill to drag the formula down to B2, the formula in B2 will automatically change to =SUM(A2:A11).