What I wrote, didn't come out sounding right.
I didn't really mean "range", as in cell range, but was referring to range
as in numbers to calculate.
--
Regards,
RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
--------------------------------------------------------------------
Yes, you're correct that the computer will interpret it the same as
"ROW(A1:A500)",
*BUT* ... the difference is that with Indirect(), 1:500 is "Cast In
Concrete".
Insert rows, especially at the beginning, from Row1, and see how the
references change in "ROW(A1:A500)", but with " ROW(INDIRECT("1:500")) ",
the rows remain exactly the same, 1:500.
It's what folks call "more robust", meaning it tries to take many
precautions into consideration,
like row insertion.
However, there are those who might want the range to expand with insertions.
So, it depends on what you want.
All the respondents in these groups are always forced to speculate on what
the OP *may* really want and/or need.
I speculated one way, John the other.
--
Regards,
RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
--------------------------------------------------------------------
that is simply because ROW(INDIRECT("1:500")) or ROW(A1:A500) returns the
array {1,2,3...500}

to check that, select the cell that contains the formula, go to formula bar,
select only ROW(INDIRECT("1:500")) within the formula and press F9. The
advantage of this approach is that you only need to give Excel the first and
the last numbers, the disadvantage - you use two functions (one relatively
slow) instead of a fixed array.
Regards,
KL