? offset('activecell',,-2,1,1) in Named Formula ?

M

Matthew Dodds

I have a cell formula as part of a WorkSheet for explaining stats
=prob_T^(A9) * (1-prob_T)^(n-A9)

I would prefer to use a Name, k, in place of the A9 relative
reference, as this would align the WorkSheet with standard stats names
& make explanations easier to understand.

This name needs return a reference to the cell at at columnoffset(-2)
relative to the cell the Name is used in ... the syntax I've used in
the subject line is as close as I've got so far ...

?? is this something that can be made to work?

input gratefully received

Mat
 
A

aflatoon

You can define k as:
=INDIRECT(RC[-2],FALSE)
or if you only use it on one sheet, then select cell C1 and define
as:
=A1


I have a cell formula as part of a WorkSheet for explaining stats
=prob_T^(A9) * (1-prob_T)^(n-A9)

I would prefer to use a Name, k, in place of the A9 relative
reference, as this would align the WorkSheet with standard stats names
& make explanations easier to understand.

This name needs return a reference to the cell at at columnoffset(-2)
relative to the cell the Name is used in ... the syntax I've used in
the subject line is as close as I've got so far ...

?? is this something that can be made to work?

input gratefully received

Mat
 
H

helene and gabor

Hello Matthew,

click on A9
click on the left hand side of the formula bar: fx
type in : k

You can now use k instead of A9.

Best Regards,

Gabor Sebo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top