montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 986
- Office Version
- 2010
- Platform
- Windows
Hi, after hours of searching about sumproduct in the way I got in the code, realize that nothing help me. Please any suggestions here will be appreciated.
this is the line of my problem :
.Rows(0).Formula = "=SUMPRODUCT(--(" & rngData.Resize(NoRows - i, 1).Address(0, 0) & "=" & .Columns(1).Address(0, 0) & "))"
this line give me on sheet 1 the result in the following way:
until here
and between the are one column space
and in this way go until GP in other words this loop create 35 arrays, I would like (" IF THAT IS POSSIBLE"), instead going to the right, would be awesome if I can see the same information on sheet 2 in the way is illustrated in the following image:
for this one I have to write for every line sheet1!I2 and so on, and is 10 work books to do the same,
thank you for reading this.
this is the line of my problem :
.Rows(0).Formula = "=SUMPRODUCT(--(" & rngData.Resize(NoRows - i, 1).Address(0, 0) & "=" & .Columns(1).Address(0, 0) & "))"
this line give me on sheet 1 the result in the following way:
and in this way go until GP in other words this loop create 35 arrays, I would like (" IF THAT IS POSSIBLE"), instead going to the right, would be awesome if I can see the same information on sheet 2 in the way is illustrated in the following image:
for this one I have to write for every line sheet1!I2 and so on, and is 10 work books to do the same,
thank you for reading this.