Knightrider
New Member
- Joined
- May 1, 2018
- Messages
- 2
Good Morning all,
I am new in the forum. I am struggling to reshape a range, what I have tried with formulas but without success. I need to convert a range of NRx7C ( N = number of rows , C = number of columns ) which is constant in columns but not in rows (see attacthment "Source"). At the end of the process, the range shall be reshaped as it is shown in Attachment "Result". I only have in this example one range of data, but I would need to include this routine into another code in which I am working now, since this request is part of the problem. The sequence to offset the range is as per Source:
- First range 1Rx7C remain in same place
- Second range offset -1 row up and 7column right
- Third range offset -1 row up and 14 column to right
- Fourth range as first one, remain in same place
- Fifth range , ( as second range offset)
- Sixth range , ( as third range offset )
So, given this range (B3:H41) , at the end shall be (B3:V15) form. (See result sheet)
any ideas?
I have uploaded the excel sheet if is easier for you to visualize the request. I
https://www.dropbox.com/s/hfl1lkp6uqks1dq/Example_rev0.xlsm?dl=0
Thank you very much in advance,
With best Regards,
Miguel,
I am new in the forum. I am struggling to reshape a range, what I have tried with formulas but without success. I need to convert a range of NRx7C ( N = number of rows , C = number of columns ) which is constant in columns but not in rows (see attacthment "Source"). At the end of the process, the range shall be reshaped as it is shown in Attachment "Result". I only have in this example one range of data, but I would need to include this routine into another code in which I am working now, since this request is part of the problem. The sequence to offset the range is as per Source:
- First range 1Rx7C remain in same place
- Second range offset -1 row up and 7column right
- Third range offset -1 row up and 14 column to right
- Fourth range as first one, remain in same place
- Fifth range , ( as second range offset)
- Sixth range , ( as third range offset )
So, given this range (B3:H41) , at the end shall be (B3:V15) form. (See result sheet)
any ideas?
I have uploaded the excel sheet if is easier for you to visualize the request. I
https://www.dropbox.com/s/hfl1lkp6uqks1dq/Example_rev0.xlsm?dl=0
Thank you very much in advance,
With best Regards,
Miguel,