Hi All:
I have certain info in one column as below. I'd like to use a formula that would show me only the 4 last numbers if it has the format CC - xxxx (see in bold below). For those that don't have the same format (in red), they should remain the same.
(What I did was: For the first 3 rows, I could use =Right(A1,4) to come up with 4 last number; however, for those in red, it would show: /21), U 20, /13, PMTS, RRIS, etc, which I don't want them that way. I just want those to remain unchanged.
Please help. Thanks so much.
Henry
[TABLE="width: 123"]
<tbody>[TR]
[TD]CC - 4469[/TD]
[/TR]
[TR]
[TD]CC - 9762[/TD]
[/TR]
[TR]
[TD]CC - 0817
CC - 7679(9/21)[/TD]
[/TR]
[TR]
[TD]CC-TENN SU 20[TABLE="width: 123"]
<tbody>[TR]
[TD][TABLE="width: 123"]
<tbody>[TR]
[TD]CC-PHILA(9/13)[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[TABLE="width: 123"]
<tbody>[TR]
[TD]CC-0061 (9/25)
CC-10/1PMTS[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[TABLE="width: 123"]
<tbody>[TR]
[TD]CC-10/8 FERRIS[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
I have certain info in one column as below. I'd like to use a formula that would show me only the 4 last numbers if it has the format CC - xxxx (see in bold below). For those that don't have the same format (in red), they should remain the same.
(What I did was: For the first 3 rows, I could use =Right(A1,4) to come up with 4 last number; however, for those in red, it would show: /21), U 20, /13, PMTS, RRIS, etc, which I don't want them that way. I just want those to remain unchanged.
Please help. Thanks so much.
Henry
[TABLE="width: 123"]
<tbody>[TR]
[TD]CC - 4469[/TD]
[/TR]
[TR]
[TD]CC - 9762[/TD]
[/TR]
[TR]
[TD]CC - 0817
CC - 7679(9/21)[/TD]
[/TR]
[TR]
[TD]CC-TENN SU 20[TABLE="width: 123"]
<tbody>[TR]
[TD][TABLE="width: 123"]
<tbody>[TR]
[TD]CC-PHILA(9/13)[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[TABLE="width: 123"]
<tbody>[TR]
[TD]CC-0061 (9/25)
CC-10/1PMTS[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[TABLE="width: 123"]
<tbody>[TR]
[TD]CC-10/8 FERRIS[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]