Dear All
I have some spreadsheets containing substantial rows of data, basically 3 columns as this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Sample[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[TD]Difference (End-Start)[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1500
[/TD]
[TD]1600
[/TD]
[TD]100
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]1200
[/TD]
[TD]1260
[/TD]
[TD]60
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]960
[/TD]
[TD]1020
[/TD]
[TD]60
[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]900[/TD]
[TD]920[/TD]
[TD]20[/TD]
[/TR]
</tbody>[/TABLE]
And what i want to obtain is different rows of data such as every row has the same difference (20 in this case, without changing the first column), like the following (never mind the colors, they are only to make my point clear):
[TABLE="width: 500"]
<tbody>[TR]
[TD]Sample[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[TD]Difference (End-Start)[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1500
[/TD]
[TD]1520
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1520
[/TD]
[TD]1540
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1540
[/TD]
[TD]1560
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1560
[/TD]
[TD]1580
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1580
[/TD]
[TD]1600
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]1200
[/TD]
[TD]1220
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]1220
[/TD]
[TD]1240
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]1220
[/TD]
[TD]1260
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]960
[/TD]
[TD]980
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]980
[/TD]
[TD]1000
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]1000
[/TD]
[TD]1020
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]900[/TD]
[TD]920[/TD]
[TD]20[/TD]
[/TR]
</tbody>[/TABLE]
We can also think about splitting only one certain number into 20's, like in the case of samples B and C above, because I have already split the data into separate sheets based on their "difference" value, using the help in this link:
http://www.mrexcel.com/forum/excel-questions/396069-copy-new-worksheets.html
Do you think it is doable?
Many thanks in advance,
Best,
m.
I have some spreadsheets containing substantial rows of data, basically 3 columns as this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Sample[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[TD]Difference (End-Start)[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1500
[/TD]
[TD]1600
[/TD]
[TD]100
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]1200
[/TD]
[TD]1260
[/TD]
[TD]60
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]960
[/TD]
[TD]1020
[/TD]
[TD]60
[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]900[/TD]
[TD]920[/TD]
[TD]20[/TD]
[/TR]
</tbody>[/TABLE]
And what i want to obtain is different rows of data such as every row has the same difference (20 in this case, without changing the first column), like the following (never mind the colors, they are only to make my point clear):
[TABLE="width: 500"]
<tbody>[TR]
[TD]Sample[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[TD]Difference (End-Start)[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1500
[/TD]
[TD]1520
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1520
[/TD]
[TD]1540
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1540
[/TD]
[TD]1560
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1560
[/TD]
[TD]1580
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1580
[/TD]
[TD]1600
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]1200
[/TD]
[TD]1220
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]1220
[/TD]
[TD]1240
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]1220
[/TD]
[TD]1260
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]960
[/TD]
[TD]980
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]980
[/TD]
[TD]1000
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]1000
[/TD]
[TD]1020
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]900[/TD]
[TD]920[/TD]
[TD]20[/TD]
[/TR]
</tbody>[/TABLE]
We can also think about splitting only one certain number into 20's, like in the case of samples B and C above, because I have already split the data into separate sheets based on their "difference" value, using the help in this link:
http://www.mrexcel.com/forum/excel-questions/396069-copy-new-worksheets.html
Do you think it is doable?
Many thanks in advance,
Best,
m.