I am already familiar with Excel's address
function, which takes two integers representing a row and a column and returns a reference to the specified cell. For example, =address(2,4)
gives $d$2
. Is there a built-in Excel function that does for cell ranges what address
does for individual cells -- something like =func(2,4,6,8)
or =func(address(2,4),address(6,8))
which can return $d$2:$h$6
?
These are my failed attempts at a workaround so far:
=address(2,4):address(6,8)
: The syntax is invalid.=address(2,4)&":"&address(6,8)
: There is no syntax error, but because Excel treats the return value of this formula as a string, it is not usable by other functions as a range reference. For example,=countif(address(2,4)&":"&address(6,8),">10")
does not actually give the same result ascountif($d$2:$h$6,">10")
.