Duane --
All cell refs in a formula are "effectively" variables. What do you have in mind?
Aladin
For instance, I want to select a range on cells from another sheet in the workbook. The formula would look something like this:
sum(sheet1!$B$1:B & x)where x would be the value of another cell.
or better yet, forget the variable, how about something like this:
sum(sheet1!$B$1:B & 7*B3) where range b3 = 2 so that my end result would be range (b1:b14) I can't seem to make any of these work. Any suggestions???
Duane
=SUM(INDIRECT("Sheet1!B1:B"&7*B3))
...although this is a pretty strange formulation
since the value used to determine the extent of
the range to be summed is being summed itself.
:Sorry, that is a little unclear on my part. B1:B (whatever) is on sheet1. B3 is on the active sheet. That probably complicates things, doesn't it?
=SUM(INDIRECT("Sheet1!B1:B"&7*B3))
> That probably complicates things, doesn't it?
Nope, just enter this formula on a sheet other
than Sheet1.
Re: Works perfect, thanks.