Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Michael Cantinotti
 
Posts: n/a
Default Recreate the upper part of a symetric data matrix 75x75

hi,

I have to use a matrix that come from SPSS. I get a 75x75 symetric
matrix of distances between points (75 points). Zero are in the
diagonal. Only the lower part of the diagonal is diplayed. I exported
this matrix in Excel.

I am trying to recreate the full matrix (I need this for special
calculus). Is there a way to automate this (I would like to avoid
copy-past transpose, in order to avoid errors) ?

Point X12 should have the same value of X21, same applies for X13 and
X31, etc.

Any idea ? Thks,

Michael
  #2   Report Post  
Barb R.
 
Posts: n/a
Default

I would think that the TRANSPOSE array function would work for this. Use
Excel Help to find out more about the TRANSPOSE function.

Barb Reinhardt

"Michael Cantinotti" wrote:

hi,

I have to use a matrix that come from SPSS. I get a 75x75 symetric
matrix of distances between points (75 points). Zero are in the
diagonal. Only the lower part of the diagonal is diplayed. I exported
this matrix in Excel.

I am trying to recreate the full matrix (I need this for special
calculus). Is there a way to automate this (I would like to avoid
copy-past transpose, in order to avoid errors) ?

Point X12 should have the same value of X21, same applies for X13 and
X31, etc.

Any idea ? Thks,

Michael

  #3   Report Post  
Michael Cantinotti
 
Posts: n/a
Default

Thank you for your reply Barb,

The problem with TRANSPOSE is that it is problematic to apply within a
triangular dataset.

E.g.:

0
2 0
3 2 0
1 5 3 0

If I have to recover the upper part of the matrix (above the 0s), I will
have to paste the function in each cell... I think I need something in
VBA. Maybe someone as already been faced with this problem ?

Michael

Barb R. wrote:
I would think that the TRANSPOSE array function would work for this. Use
Excel Help to find out more about the TRANSPOSE function.

Barb Reinhardt

"Michael Cantinotti" wrote:


hi,

I have to use a matrix that come from SPSS. I get a 75x75 symetric
matrix of distances between points (75 points). Zero are in the
diagonal. Only the lower part of the diagonal is diplayed. I exported
this matrix in Excel.

I am trying to recreate the full matrix (I need this for special
calculus). Is there a way to automate this (I would like to avoid
copy-past transpose, in order to avoid errors) ?

Point X12 should have the same value of X21, same applies for X13 and
X31, etc.

Any idea ? Thks,

Michael

  #4   Report Post  
Barb R.
 
Posts: n/a
Default

Did you try TRANSPOSE with what would be the whole 75x75 array? What did
that do?

"Michael Cantinotti" wrote:

Thank you for your reply Barb,

The problem with TRANSPOSE is that it is problematic to apply within a
triangular dataset.

E.g.:

0
2 0
3 2 0
1 5 3 0

If I have to recover the upper part of the matrix (above the 0s), I will
have to paste the function in each cell... I think I need something in
VBA. Maybe someone as already been faced with this problem ?

Michael

Barb R. wrote:
I would think that the TRANSPOSE array function would work for this. Use
Excel Help to find out more about the TRANSPOSE function.

Barb Reinhardt

"Michael Cantinotti" wrote:


hi,

I have to use a matrix that come from SPSS. I get a 75x75 symetric
matrix of distances between points (75 points). Zero are in the
diagonal. Only the lower part of the diagonal is diplayed. I exported
this matrix in Excel.

I am trying to recreate the full matrix (I need this for special
calculus). Is there a way to automate this (I would like to avoid
copy-past transpose, in order to avoid errors) ?

Point X12 should have the same value of X21, same applies for X13 and
X31, etc.

Any idea ? Thks,

Michael


  #5   Report Post  
chantelanuit
 
Posts: n/a
Default

Hi barb,

Just to tell you that I found a solution. It was so easy.... I am quite
shameful ;)

Just have to select the table (only the data below the diagonal are
entered in that table. The upper part is empty). Then, copy and paste
the transposed table in another sheet. Eventually, copy the transposed
table WITHOUT blank cells (option in paste special) on the original
table.

I am so happy it works....

Regards,

Michael

Barb R. wrote:
Did you try TRANSPOSE with what would be the whole 75x75 array?

What did
that do?

"Michael Cantinotti" wrote:

Thank you for your reply Barb,

The problem with TRANSPOSE is that it is problematic to apply

within a
triangular dataset.

E.g.:

0
2 0
3 2 0
1 5 3 0

If I have to recover the upper part of the matrix (above the 0s), I

will
have to paste the function in each cell... I think I need something

in
VBA. Maybe someone as already been faced with this problem ?

Michael

Barb R. wrote:
I would think that the TRANSPOSE array function would work for

this. Use
Excel Help to find out more about the TRANSPOSE function.

Barb Reinhardt

"Michael Cantinotti" wrote:


hi,

I have to use a matrix that come from SPSS. I get a 75x75

symetric
matrix of distances between points (75 points). Zero are in the
diagonal. Only the lower part of the diagonal is diplayed. I

exported
this matrix in Excel.

I am trying to recreate the full matrix (I need this for special
calculus). Is there a way to automate this (I would like to avoid


copy-past transpose, in order to avoid errors) ?

Point X12 should have the same value of X21, same applies for X13

and
X31, etc.

Any idea ? Thks,

Michael



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
Why is the order of my data table opposite from graph? mozermodo Charts and Charting in Excel 6 April 25th 23 03:43 AM
Help with data not getting plotted Scott Ehrlich Charts and Charting in Excel 1 January 23rd 05 05:15 PM
Charting data ranges that change mikelee101 Charts and Charting in Excel 2 December 16th 04 11:07 PM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 11:56 AM
Data Table - Does it work with DDE links and stock tickers? Post Tenebras Lux Excel Discussion (Misc queries) 0 December 1st 04 05:15 PM


All times are GMT +1. The time now is 08:29 AM.

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"