Dazzawm
Well-known Member
- Joined
- Jan 24, 2011
- Messages
- 3,783
- Office Version
- 365
- Platform
- Windows
I have sheet 1 as laid out below. Column A will have a list of numbers the same (then they change) with different numbers next to them. I need them to be put on sheet 2 with the numbers in column B next to them with a slash and a gap added, rather than in a list, like the result in sheet 2 and the same when the number in A changes and so on.... Thanks
Before Code
Excel 2010
<tbody>
[TD="align: center"]8[/TD]
[TD="align: right"]46531222[/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]60811067[/TD]
[TD="align: center"]10[/TD]
[TD="align: right"]60814507[/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]500309838[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]13[/TD]
[TD="align: center"]14[/TD]
[TD="align: right"]60811534[/TD]
[TD="align: center"]15[/TD]
[TD="align: right"]16137039[/TD]
[TD="align: center"]16[/TD]
[TD="align: right"]5234313[/TD]
[TD="align: center"]17[/TD]
[TD="align: right"]33000153[/TD]
</tbody>
After Code
Excel 2010
<tbody>
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
</tbody>
Before Code
Excel 2010
A | B | |
---|---|---|
MS001 | ||
MS001 | ||
MS001 | ||
MS001 | ||
MS001 | 9609992380 | |
MS001 | 377 906 309C | |
MS002 | ||
MS002 | ||
MS002 | ||
MS002 |
<tbody>
[TD="align: center"]8[/TD]
[TD="align: right"]46531222[/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]60811067[/TD]
[TD="align: center"]10[/TD]
[TD="align: right"]60814507[/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]500309838[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]13[/TD]
[TD="align: center"]14[/TD]
[TD="align: right"]60811534[/TD]
[TD="align: center"]15[/TD]
[TD="align: right"]16137039[/TD]
[TD="align: center"]16[/TD]
[TD="align: right"]5234313[/TD]
[TD="align: center"]17[/TD]
[TD="align: right"]33000153[/TD]
</tbody>
Sheet1
After Code
Excel 2010
A | B | |
---|---|---|
MS001 | 46531222/ 60811067/ 60814507/ 500309838/ 9609992380/ 377 906 309C | |
MS002 | 60811534/ 16137039/ 5234313/ 33000153 |
<tbody>
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
</tbody>
Sheet2
Last edited: