Excel Workshops  Excel Manuals  Training Schedule  Macro Design  Excel Consulting  Our Customers  Contact Us  About EMAGENIT 
Home > Excel Resource Center > Excel ADDRESS Function  Microsoft Excel ADDRESS Function Tutorial 
Excel ADDRESS Function  Microsoft Excel ADDRESS Function TutorialMicrosoft Excel ADDRESS Function Tutorial The ADDRESS Function returns a cell reference in text form like "A1" based on a specified row and column position that you give it. Very useful in constructing formulas that adapt to changing data. 
What is the Microsoft Excel ADDRESS Function?The ADDRESS function is a computer program that you run from a worksheet cell formula. It returns a cell reference in text form like "A1" based on a specified row and column position that you give it. ADDRESS is used when you have a set of row and column positions and you need to translate this into a cell reference. This need arises many times when you are developing formulas that count data rows or columns on the worksheet or that are searching for something on the worksheet like text, numbers or dates down a column or across a row. The formulas calculating these values usually generate numbers like row or column position not a cell address. So you need some function to convert those numbers into valid cell references so you can then use them as inputs to formulas or functions like the SUM function. Once the cell reference text is generated by the ADDRESS function, the ADDRESS worksheet function is used with the INDIRECT function being nested inside it as an argument. The INDIRECT function takes the reference text that ADDRESS produces and changes it to a valid reference. Remember ADDRESS only produces text which is not a valid cell reference. You must use INDEX to flip it. The ADDRESS function is key to building range or cell references on the fly (i.e. during calculation). This has many advantages because if your formulas are smart enough to changing worksheet conditions, it eliminates you having to constantly change the references in your formulas if cell positions shift or data changes size on the worksheet. The ADDRESS function is commonly used with the & operator in a formula to help splice together range references that can be used as arguments for functions like SUM or VLOOKUP. The & operator is a formula operator that performs string concatenation (i.e. splice values together). How Do You Type the ADDRESS Worksheet Function in a Formula?Whenever you type a formula in a worksheet cell, this is called syntax or grammar. The general ADDRESS function syntax has a format like this when you type it in a worksheet cell: =ADDRESS(row_num, column_num, [abs_num], [a1], [sheet_text]) Where row_num, column_num, [abs_num], [a1], [sheet_text] are called the function argument list. Remember, you are running a computer program at this point so the program needs information to operate and that is why there is an argument list. When you see an argument list and you see square brackets [ ] around the argument name, this means the argument is optional and you do not have to include it when typing unless you need it. So for the syntax above, you need to include 2 arguments for the ADDRESS worksheet function when typing it in a worksheet cell formula in order for it to calculate correctly. What argument values can be used are discussed below. Remember functions expect certain things in their argument lists, if you do not put the correct information in the list they will generate an error when run. ADDRESS Worksheet Function Argument Definitions
How Do You Run the ADDRESS Function?Since the ADDRESS function is a computer program, it runs when you press Enter to enter the formula that contains it. If any of the arguments are wrong, the function will return an error. What Do I Type for an ADDRESS Function Argument?When typing the ADDRESS function in a worksheet cell formula, you need to replace the argument list with arguments separating each one with a comma (,). Some typical arguments you can use are:
* This function is used a great deal in building adaptive formulas that figure out ranges, start and stop of data.... It is also heavily used in dashboard design tying numeric ActiveX control outputs into formulas that seek out data in tables. Additional ADDRESS Function ExamplesThe worksheet seen below contains some typical worksheet formulas that run the ADDRESS worksheet function. Pay close attention to the argument list and the syntax used to write the formula.

Copyright © 20022015
EMAGENIT All Rights Reserved