Hello,
I have data that contains at least one hyphen or dash. I'd like to pull only the first 2 text areas before the second hyphen, and the entire cell if there is only one hyphen. In the example data below
I'd like the formula to show:
AC-CO
AC-COB
AC-COB
AC-INT
Is this possible?
Thank you!!!!
T
I have data that contains at least one hyphen or dash. I'd like to pull only the first 2 text areas before the second hyphen, and the entire cell if there is only one hyphen. In the example data below
AC-CO-AT |
AC-COB |
AC-COB-2CL |
AC-INT-ECS-2CL |
I'd like the formula to show:
AC-CO
AC-COB
AC-COB
AC-INT
Is this possible?
Thank you!!!!
T