Hi everyone,
I am trying to standardize items listed in different formats (people didn't enter consistently) and can't figure out an easy way to use a function to obtain the correct formatting. See screen shot below with entry examples (column A) and needed output (column B). Is there any way to enter a function(s) to achieve outcome listed in column B (I manually entered for sake of this question)? Thanks much in advance!
COL A COL B
Iterations Needed Format: P-XXXX-A (unless different letter listed in coulmn A)
1234 P-1234-A
P1235 P-1235-A
1236-A P-1236-A
1236-B P-1236-B
1237 P-1237-A
P1237C P-1237-C
I am trying to standardize items listed in different formats (people didn't enter consistently) and can't figure out an easy way to use a function to obtain the correct formatting. See screen shot below with entry examples (column A) and needed output (column B). Is there any way to enter a function(s) to achieve outcome listed in column B (I manually entered for sake of this question)? Thanks much in advance!
COL A COL B
Iterations Needed Format: P-XXXX-A (unless different letter listed in coulmn A)
1234 P-1234-A
P1235 P-1235-A
1236-A P-1236-A
1236-B P-1236-B
1237 P-1237-A
P1237C P-1237-C