Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default ? offset('activecell',,-2,1,1) in Named Formula ?


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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ? offset('activecell',,-2,1,1) in Named Formula ?


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



Matthew Dodds;696805 Wrote:

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



--
aflatoon

Regards,
A.
------------------------------------------------------------------------
aflatoon's Profile: 1501
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=194838

http://www.thecodecage.com/forumz

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default ? offset('activecell',,-2,1,1) in Named Formula ?

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






"Matthew Dodds" wrote in message
...

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


"Matthew Dodds" wrote in message
...

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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
named range in sum formula (indirect, offset, worksheet name) Hans Excel Worksheet Functions 4 February 5th 08 02:14 PM
If activecell.column = variable then activecell,offset (0,1) Battykoda via OfficeKB.com Excel Discussion (Misc queries) 1 October 2nd 07 08:05 PM
ActiveCell Offset rnrss[_2_] Excel Programming 0 October 7th 05 10:12 AM
Activecell offset value with formula? Dave[_60_] Excel Programming 3 September 28th 05 01:51 PM
ActiveCell.Offset w/ VBA Bob Umlas[_3_] Excel Programming 2 September 4th 04 02:58 PM


All times are GMT +1. The time now is 06:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"