T
The Cube
Hi all
I have a workbook containing a single worksheet "Sheet1" and workbook level
defined names as follows:
"Categories", refers to Sheet1!$C$8:$C$19
"Machines", refers to Sheet1!$D$8:$D$19
"CategoryRow", refers to ROW(Categories)-7
"CellPointer" refers to =Sheet1$F8 when that cell is highlighted.
"Test" refers to =(Categories=CellPointer)
"Result" refers to =MMULT(--(CategoryRow>=TRANSPOSE(CategoryRow)),--Test)
(Thanks Harlan!)
In the range Sheet1!$E$8:$E$19 I have a multi-cell array formula:
{=INDEX(Categories,MATCH(CategoryRow,Result,FALSE))}
This displays an array as predicted.
Problem 1:
I tried defining a named formula:
MCResult, refers to =INDEX(Categories,MATCH(CategoryRow,Result,FALSE))
in the hope that it would produce an array result the same as that displayed
by the multi-cell array formula currently residing in Sheet1!$E$8:$E$19
But it did not. It did evaluate, but only to the scalar value equal
(possibly by coincidence) the the first element of the multicell array
formula, ie the content of Sheet1$E$8.
So, any way to get a named formula to produce the array shown in
Sheet1!$E$8:$E$19 ?
Problem 2:
The ultimate intention is that when a different row is selected/active, ie
move CellPointer to $F9, then the array "Result" should update accordingly
as should the dependent array "MCResult". At the moment if I move the
cellpointer to $F9 then nothing happens to the values displayed in
Sheet1!$E$8:$E$19. I am not entirely surprised by this, because nothing has
happened to trigger a recalculation. I suppose that I could force a
recalculation by putting it in a Selection_Change() event, but at the moment
nothing happens even if I hit Control+Alt+F9 (with cell F9 selected).
Help??? Thanks
-Cube
I have a workbook containing a single worksheet "Sheet1" and workbook level
defined names as follows:
"Categories", refers to Sheet1!$C$8:$C$19
"Machines", refers to Sheet1!$D$8:$D$19
"CategoryRow", refers to ROW(Categories)-7
"CellPointer" refers to =Sheet1$F8 when that cell is highlighted.
"Test" refers to =(Categories=CellPointer)
"Result" refers to =MMULT(--(CategoryRow>=TRANSPOSE(CategoryRow)),--Test)
(Thanks Harlan!)
In the range Sheet1!$E$8:$E$19 I have a multi-cell array formula:
{=INDEX(Categories,MATCH(CategoryRow,Result,FALSE))}
This displays an array as predicted.
Problem 1:
I tried defining a named formula:
MCResult, refers to =INDEX(Categories,MATCH(CategoryRow,Result,FALSE))
in the hope that it would produce an array result the same as that displayed
by the multi-cell array formula currently residing in Sheet1!$E$8:$E$19
But it did not. It did evaluate, but only to the scalar value equal
(possibly by coincidence) the the first element of the multicell array
formula, ie the content of Sheet1$E$8.
So, any way to get a named formula to produce the array shown in
Sheet1!$E$8:$E$19 ?
Problem 2:
The ultimate intention is that when a different row is selected/active, ie
move CellPointer to $F9, then the array "Result" should update accordingly
as should the dependent array "MCResult". At the moment if I move the
cellpointer to $F9 then nothing happens to the values displayed in
Sheet1!$E$8:$E$19. I am not entirely surprised by this, because nothing has
happened to trigger a recalculation. I suppose that I could force a
recalculation by putting it in a Selection_Change() event, but at the moment
nothing happens even if I hit Control+Alt+F9 (with cell F9 selected).
Help??? Thanks
-Cube