Receiving data as:
[TABLE="width: 500"]
<tbody>[TR]
[TD]XXXXabc(XXXX)[/TD]
[/TR]
[TR]
[TD]XXXXabcd[/TD]
[/TR]
[TR]
[TD]XXXXabcde(XXXXXX)[/TD]
[/TR]
</tbody>[/TABLE]
I need a formula that removes the first 4 characters and removes parenthesis(and data within) IF they appear at the end.
I started with... =MID(A2,5,FIND("(",A2,1)-5) which behaves fine for cells with parenthesis but shows #VALUE ! for cells without parenthesis.
Thoughts?
[TABLE="width: 500"]
<tbody>[TR]
[TD]XXXXabc(XXXX)[/TD]
[/TR]
[TR]
[TD]XXXXabcd[/TD]
[/TR]
[TR]
[TD]XXXXabcde(XXXXXX)[/TD]
[/TR]
</tbody>[/TABLE]
I need a formula that removes the first 4 characters and removes parenthesis(and data within) IF they appear at the end.
I started with... =MID(A2,5,FIND("(",A2,1)-5) which behaves fine for cells with parenthesis but shows #VALUE ! for cells without parenthesis.
Thoughts?