S
sinhamp
Hi all,
I want to automatically convert (using macros for e.g.) a matrix into
rows of data.
The matrix is simple with row headings and column headings, and "1" in
various cells. E.g.:
RData1 RData2 RData3 ... RDataN
CData1 1 1
CData2 1
CData3 1
....
CDataM 1
The "1" indicates that CData1 applies to RData1 and RData2, but not to
RData3, and so on...
The output post conversion should look like:
RData1 COL2 CData1
COL2 CData3
COL2 CDataM
RData2 COL2 CData1
COL2 CData2
....and so on...
COL2 is a fixed formula that is the same in each row. The output
should be on a new sheet.
Is this possible using Excel macros or VBA code? I have tried some
approaches but have been unsuccessful :-(
Any help will be much appreciated.
Thx,
sinhamp
I want to automatically convert (using macros for e.g.) a matrix into
rows of data.
The matrix is simple with row headings and column headings, and "1" in
various cells. E.g.:
RData1 RData2 RData3 ... RDataN
CData1 1 1
CData2 1
CData3 1
....
CDataM 1
The "1" indicates that CData1 applies to RData1 and RData2, but not to
RData3, and so on...
The output post conversion should look like:
RData1 COL2 CData1
COL2 CData3
COL2 CDataM
RData2 COL2 CData1
COL2 CData2
....and so on...
COL2 is a fixed formula that is the same in each row. The output
should be on a new sheet.
Is this possible using Excel macros or VBA code? I have tried some
approaches but have been unsuccessful :-(
Any help will be much appreciated.
Thx,
sinhamp