tanyaslater
New Member
- Joined
- Oct 13, 2015
- Messages
- 8
I am looking for a formula (preferably a formula rather than a macro as generally whenever I run a macro it crashes Excel and I lose all my changes) that will allow me to incrementally increase a number within a string of alphanumeric text horizontally across columns.
I have a column of serial numbers for a range of items that apply to 1 part of a construction. That construction is then replicated so i need to replicate the serial numbers but incrementally increase the number that indicates the order of construction i.e. my first column is as below:
<!--StartFragment--> <colgroup><col width="65" style="width:65pt"> </colgroup><tbody>
<!--EndFragment--></tbody>
the next column needs to be identical with the exception of the fact that I need to replace the first 1 with a 2 i.e. CUB - 1 becomes CUB-2
<!--StartFragment--> <colgroup><col width="65" style="width:65pt"> </colgroup><tbody>
<!--EndFragment--></tbody>
I've tried to drag the handle across but it just copies and replicates the first two columns and I can't figure out how to incrementally increase the number.
Any hlep would be much appreciated.
I have a column of serial numbers for a range of items that apply to 1 part of a construction. That construction is then replicated so i need to replicate the serial numbers but incrementally increase the number that indicates the order of construction i.e. my first column is as below:
CUB-1-F1 |
CUB-1-FA |
CUB-1-FB |
CUB-1-FC |
CUB-1-B1 |
CUB-1-B2 |
CUB-1-B3 |
CUB-1-B4 |
<!--StartFragment--> <colgroup><col width="65" style="width:65pt"> </colgroup><tbody>
<!--EndFragment--></tbody>
the next column needs to be identical with the exception of the fact that I need to replace the first 1 with a 2 i.e. CUB - 1 becomes CUB-2
CUB-2-F1 |
CUB-2-FA |
CUB-2-FB |
CUB-2-FC |
CUB-2-B1 |
CUB-2-B2 |
CUB-2-B3 |
CUB-2-B4 |
<!--StartFragment--> <colgroup><col width="65" style="width:65pt"> </colgroup><tbody>
<!--EndFragment--></tbody>
I've tried to drag the handle across but it just copies and replicates the first two columns and I can't figure out how to incrementally increase the number.
Any hlep would be much appreciated.