I need either a foumula or macro to add leading zeros to a number based on text in another column
Column A is the original number
Column B is blank and where I want my result to go leaving column A original
Column C is where the text is that the leading zeros will be based on
A1 = 14M3652100
B1 = Blank
C1 = If this column has text "ASP" or "POSMOS" or "ANISON" I need B1 to result in 0014M3652100
Thanks for any help. Sounds easy but I am new at this......
Column A is the original number
Column B is blank and where I want my result to go leaving column A original
Column C is where the text is that the leading zeros will be based on
A1 = 14M3652100
B1 = Blank
C1 = If this column has text "ASP" or "POSMOS" or "ANISON" I need B1 to result in 0014M3652100
Thanks for any help. Sounds easy but I am new at this......