The ADDRESS function simply returns the address of a cell by using row number and column number.
Syntax of ADDRESS Function
Row_num: The Row number
Col_num: The Column number
[abs_num]: Optional Argument. Has four possible inputs, 1, 2, 3, and 4. If omitted or 1, returned address will be absolute eg $A$1. 2 returns absolute row and relative column eg A$1.3 returns relative row and absolute column $A1. 4 returns relative address eg A1.
[a1]: Optional Argument. Has two possible inputs, 0 and 1. If omitted, it will return A1-style . 0 returns output in RC style.
[sheet_name]: Optional Argument. If sheet name is provided, add it with address along ! mark. Eg. mysheet!A1.
IMPORTANT: The address returned is in text format.
Now lets have some example:
Excel ADDRESS Example
Above ADDRESS formula will return A3.
Above formula will return value at $A$3
We have this table.
Write this formula anywhere to get address of Max Value.
MAX function finds max value in range B:B
MATCH looks for that MAX value in B:B range and returns index or say row number.
COLUMN returns column number of B2.
Now, ADDRESS has row_num and col_num. And this all it needs.
Many times you woul require to get the name of a person getting max or min value. One approach is this.
Since address returned by ADDRESS function is text, we use INDIRECT so that OFFSET function takes it as real address.
we move 1 column left to max cell using -1. And finally offset returns name of robo that is getting max pay.
So, I explained ADDRESS function here and gave some example in which ADDRESS is most useful. But as we know everyone’s need is different, let me know your need in the comments section below. We will get it together.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.