Skip to content

Lesson 72 of 92 · Free Excel Course

Excel · Excel function reference

Excel ADDRESS Function: Syntax, Examples and Common Errors

How the Excel ADDRESS function builds a cell address as text: abs_num 1 to 4, R1C1, sheet names, finding where a value is with MATCH, and reading it with INDIRECT.

The ADDRESS function builds a cell address from a row number and a column number. =ADDRESS(2,3) returns $C$2: row 2, column 3. The result is text, not a live reference, so it tells you where something is rather than what's in it. That makes it useful for reporting the location of a value, building labels, turning column numbers into letters, and feeding INDIRECT when a formula has to read a cell it calculated. ADDRESS is available in Excel for Microsoft 365 (Windows, Mac and the web), Excel 2024, Excel 2021, Excel 2019 and Excel 2016, including the Mac versions of 2024 and 2021.

Syntax

=ADDRESS(row_num, column_num, [abs_num], [a1], [sheet_text])
  • row_num (required): the row number, such as 2 for row 2.
  • column_num (required): the column number, counting A as 1, so C is 3 and AB is 28.
  • abs_num (optional): which $ signs to include. Left out, it's 1.
abs_numReference typeADDRESS(5,4,abs_num)
1 or omittedAbsolute$D$5
2Absolute row, relative columnD$5
3Relative row, absolute column$D5
4RelativeD5
  • a1 (optional): TRUE or left out gives A1 style (letters for columns). FALSE gives R1C1 style, where both are numbers, such as R5C4.
  • sheet_text (optional): a sheet name to put in front, such as "Q4 Sales". Left out, there's no sheet name and the address means the current sheet. Excel adds single quotes when the name needs them.

Examples

Microsoft's examples

These are the five formulas from Microsoft's ADDRESS page, typed into a blank sheet. Column A shows the formula and column B what it returns.

B4=ADDRESS(2,3,2,FALSE)
ABC
1FormulaResultWhat it shows
2=ADDRESS(2,3)$C$2Absolute
3=ADDRESS(2,3,2)C$2Absolute row, relative column
4=ADDRESS(2,3,2,FALSE)R2C[3]Same, in R1C1 style
5=ADDRESS(2,3,1,FALSE,"[Book1]Sheet1")'[Book1]Sheet1'!R2C3Another workbook and sheet
6=ADDRESS(2,3,1,FALSE,"EXCEL SHEET")'EXCEL SHEET'!R2C3Another sheet
In R1C1 style, a relative part is shown in square brackets: C[3]. Excel quotes sheet names for you.

Row 4 surprises people. In R1C1 style, C3 means "column 3", but C[3] means "3 columns to the right of the formula's own cell". So R2C[3] is row 2, three columns across from wherever the formula sits. Unless you work in R1C1 style, stick with abs_num 1 or 4 and leave a1 out.

The four reference types

Here abs_num comes from column A, so the same row and column give all four styles. These are exactly the $ patterns from the absolute and relative references lesson: $ before the letter locks the column, $ before the number locks the row.

B4=ADDRESS(5,4,A4)
AB
1abs_numRow 5, column 4
21$D$5
32D$5
43$D5
54D5
Same cell, four ways of writing it. Only the dollar signs change.

Report where a value is, with MATCH

MATCH tells you a value's position in a list; ADDRESS turns that position into an address someone can find. The catch is that MATCH counts from the top of the list, not from row 1, so add the list's first row and take away 1.

E10=ADDRESS(MATCH(MAX(B9:B14),B9:B14,0)+ROW(B9)-1,COLUMN(B9))
ABCDE
8NameScoreQuestionAnswer
9Ava82Dana$A$12
10Ben91Where is the top score?$B$12
11Cara77Value at that address95
12Dana95
13Eli88
14Finn70
E9 is =ADDRESS(MATCH(D9,A9:A14,0)+ROW(A9)-1,COLUMN(A9)). E11 reads the cell with =INDIRECT(E10).

Dana is 4th in the list, and the list starts in row 9, so 4 + 9 - 1 = row 12. COLUMN(A9) gives 1, so the address is $A$12. The top score works the same way: MAX finds 95, MATCH finds it 4th, and the column is B. If two people tie, MATCH returns the first one.

Read a cell on another sheet with INDIRECT

Because ADDRESS returns text, =ADDRESS(3,2)+1 doesn't add anything; you get #VALUE!. To read the cell, hand the text to the INDIRECT function, which turns text into a reference.

B5=INDIRECT(B4)
AB
1Sheet nameQ4 Sales
2Row3
3Column2
4Address'Q4 Sales'!$B$3
5Value there3850
ReportQ4 Sales
B4 is =ADDRESS(B2,B3,1,TRUE,B1). Change the row, column or sheet name and B5 reads a different cell.

Notice that abs_num and a1 are written out (1 and TRUE) so that sheet_text lands in the fifth spot. You can also leave those two slots empty, as Microsoft does in =ADDRESS(1,1,,,"Sheet2"), which returns Sheet2!$A$1. If you only need the value and the sheet never changes, =INDEX('Q4 Sales'!A1:B4,3,2) returns 3850 too, without the volatile INDIRECT.

Turn a column number into a letter

Ask for row 1 in relative style and strip out the 1: =SUBSTITUTE(ADDRESS(1,28,4),"1","") returns AB. Column 26 gives Z and column 703 gives AAA. This is handy when MATCH or COLUMN gives you a number but your label needs the letter.

Common errors

  • #VALUE! from the arguments. row_num or column_num is 0, negative or past the sheet's limits (1,048,576 rows, 16,384 columns), or abs_num is something other than 1 to 4. Check the numbers feeding the formula.
  • #VALUE! when you do math with the result. ADDRESS returns text, so =ADDRESS(3,2)*2 or =SUM(ADDRESS(3,2)) can't use it. Wrap it in INDIRECT, or use =INDEX(A1:Z100,3,2) to get the value directly.
  • The address is a few rows off. You passed MATCH's position straight to ADDRESS. MATCH counts from the top of the list, so add ROW(first cell)-1, as in the example above.
  • #N/A. MATCH didn't find the value (a typo, an extra space, or a number stored as text), so ADDRESS never got a row number.
  • A strange R1C1 result like R2C[3]. You set a1 to FALSE with abs_num 2, 3 or 4. Use abs_num 1 for plain row and column numbers (R2C3).
  • #REF! from INDIRECT(ADDRESS(...)). The sheet name in sheet_text is misspelled or the sheet was renamed.

Related functions

  • CELL("address", reference) works the other way round: you give it a reference and it returns that reference's address as text, so =CELL("address",B7) returns $B$7. Microsoft describes the result as the address of the first cell in the reference. Always give the reference: without it, CELL reports on whichever cell is selected when Excel calculates, which Microsoft warns isn't reliable. CELL can also be volatile, depending on its arguments.
  • INDIRECT function: turns the text ADDRESS builds into a reference you can read.
  • Absolute and relative references: what the $ signs in abs_num mean.
  • XLOOKUP and INDEX/MATCH: MATCH in depth, and INDEX for reading a cell without building text.
  • Drop-down lists and data validation: where INDIRECT and text references power dependent lists.

Try it yourself

Download the practice workbook. The Practice sheet has yellow cells for Microsoft's five examples, the four abs_num types, finding a name and the top score with MATCH, reading a cell on the Q4 Sales sheet, and turning a column number into a letter. The Answers sheet has every finished formula.

Frequently asked questions

How do I get the value at the address ADDRESS returns?

Wrap it in INDIRECT: =INDIRECT(ADDRESS(3,2)) returns whatever is in B3. ADDRESS on its own only gives you the text $B$3. If you just need the value, =INDEX(A1:Z100,3,2) does the same without the volatile INDIRECT.

How do I find the cell address of a value in Excel?

Use MATCH to find its position and ADDRESS to turn that into an address: =ADDRESS(MATCH("Dana",A9:A14,0)+ROW(A9)-1,COLUMN(A9)). The +ROW(A9)-1 part turns MATCH's position in the list into a real sheet row. It returns the first match only.

How do I convert a column number to a letter?

Ask ADDRESS for row 1 in relative style and remove the 1: =SUBSTITUTE(ADDRESS(1,28,4),"1","") returns AB. It works for every column up to 16,384 (XFD).

What is the difference between ADDRESS and CELL("address")?

ADDRESS builds an address from row and column numbers you give it. CELL("address",B7) starts from a reference you already have and returns its address, $B$7. Both return text.