Hello,
<tbody>
</tbody>
Please refer to the above table, we have the following formula to translate col A and Col B to the desired output
=REPLACE(SUBSTITUTE(A2,"-"," dash "),IF(ISNUMBER(VALUE((MID(A2,2,1)))),2,3),0," ")&" quantity "&B2
We are looking for a macro that can accomplish the same output instead of a formula.
Any ideas?
Thanks
Amit
Item | Qty | Output | |
P18456 | 2 | P 18456 quantity 2 | |
SP10458 | 1 | SP 10458 quantity 1 | |
SR10456-9 | 2 | SR 10456 dash 9 quantity 2 | |
E8986 | 4 | E 8986 quantity 4 |
<tbody>
</tbody>
Please refer to the above table, we have the following formula to translate col A and Col B to the desired output
=REPLACE(SUBSTITUTE(A2,"-"," dash "),IF(ISNUMBER(VALUE((MID(A2,2,1)))),2,3),0," ")&" quantity "&B2
We are looking for a macro that can accomplish the same output instead of a formula.
Any ideas?
Thanks
Amit