
If the position of the cell that contains the formula changes, the reference is changed. Relative references A relative cell reference in a formula, such as A1, is based on the relative position of the cell that contains the formula and the cell the reference refers to. The difference between absolute, relative and mixed references Note: If the referenced worksheet has spaces or numbers in it, then you need to add apostrophes (') before and after the worksheet name, like ='123'!A1 or ='January Revenue'!A1. The exclamation point (!) Separates the worksheet reference from the cell range reference Refers to the range of cells from B1 to B10ģ. Refers to the worksheet named MarketingĢ. In the following example, the AVERAGE function calculates the average value for the range B1:B10 on the worksheet named Marketing in the same workbook.ġ. Making a reference to a cell or a range of cells on another worksheet in the same workbook The range of cells in columns A through E and rows 10 through 20 The range of cells in row 15 and columns B through E The range of cells in column A and rows 10 through 20 For example, B2 refers to the cell at the intersection of column B and row 2. To refer to a cell, enter the column letter followed by the row number. These letters and numbers are called row and column headings. References to cells in other workbooks are called links or external references.īy default, Excel uses the A1 reference style, which refers to columns with letters (A through XFD, for a total of 16,384 columns) and refers to rows with numbers (1 through 1,048,576). You can also refer to cells on other sheets in the same workbook, and to other workbooks. You can use references to use data contained in different parts of a worksheet in one formula or use the value from one cell in several formulas. You can browse through the individual sections below to learn more about specific formula elements.Ī reference identifies a cell or a range of cells on a worksheet, and tells Excel where to look for the values or data you want to use in a formula. With real-world examples and helpful visuals, you’ll be able to Sum, Count, Average, and Vlookup like a pro. If you’re new to Excel, or even if you have some experience with it, you can walk through Excel’s most common formulas in this tour. We've put together a Get started with Formulas workbook that you can download. Select the range of cells, and then type a closing parenthesis). For example, =SUM for getting the total sales. Type an equal sign = and then type a function. To see a formula, select a cell, and it will appear in the formula bar.Įnter a formula that contains a built-in function When a formula is entered into a cell, it also appears in the Formula bar. The result of the calculation appears in the cell with the formula. Select the next cell, or type its address in the selected cell. Select a cell or type its address in the selected cell.Įnter an operator. Range operator, which produces one reference to all the cells between two references, including the two references.Note: Formulas in Excel always begin with the equal sign. Where A1 holds "Last name" and B1 holds "First name", =A1&", "&B1 results in "Last name, First name".Ĭombine ranges of cells for calculations with the following operators. Use the ampersand ( &) to concatenate (join) one or more text strings to produce a single piece of text.Ĭonnects, or concatenates, two values to produce one continuous text value When two values are compared by using these operators, the result is a logical value-either TRUE or FALSE. You can compare two values with the following operators. To perform basic mathematical operations, such as addition, subtraction, multiplication, or division combine numbers and produce numeric results, use the following arithmetic operators.


There are four different types of calculation operators: arithmetic, comparison, text concatenation, and reference. Using parentheses allows you to change that calculation order. Excel follows general mathematical rules for calculations, which is Parentheses, Exponents, Multiplication and Division, and Addition and Subtraction, or the acronym PEMDAS (Please Excuse My Dear Aunt Sally).

Operators specify the type of calculation that you want to perform on the elements of a formula.
