View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.misc
Corey
 
Posts: n/a
Default Matrix formatting

Thanks!!! This worked great!!

"Herbert Seidenberg" wrote:

Move the matrix so A1 is the upper left cell of the matrix.
Then select all the cells in the matrix and name the matrix array1.
Use Insert Name Define
or don't use a name and say $A$1:$D$4 instead.
If your matrix is located anyplace else on the spreadsheet, use
=INDEX(array1,ROW()-ROW(array1)+1,COLUMN()-COLUMN(array1)+1)=
INDEX(array1,COLUMN()-COLUMN(array1)+1,ROW()-ROW(array1)+1)