Stef,
I know that you said that you did not want to use REPLACE because it could
replace things that you did not want to replace but if you make the "Find
what:" the whole Reference:
(B2:B37)
and the "Replace with:"
(B2:B87)
Will you have other formulas that use that range that you don't want to
change?
--
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk
"stef" <(E-Mail Removed)> wrote in message
news:u$(E-Mail Removed)...
> Nice, that works.
>
> But it works for now forward (I am using it now).
>
> What about using a spreadsheet built earlier and that contains lots of
> separate sheets all with 37 (June 2000 for example) when we are now in
> June 2007 and that row is 87?
>
> How can I replace the reference to 37 with 87 automagically? 
>
> Sandy Mann wrote:
>> One way would be to enter the required row number in a cell - say D1 then
>> use:
>>
>> =AVERAGE(B2:INDIRECT("B"&D1))
>>
>