Nanogirl21
Active Member
- Joined
- Nov 19, 2013
- Messages
- 331
- Office Version
- 365
- Platform
- Windows
Is there a formula to move a specific text within a cell to the end of the string?
For all rows in column W I would like to move “ / HOLD” to the end of the sting. If the cell does not have “ / HOLD” I would like to keep it as is.
I would like the results to be in column X.
Example:
<tbody>[TR]
[TD="align: center"]CURRENT
[/TD]
[TD="align: center"]WANT
[/TD]
[/TR]
[TR]
[TD]APPLES 10
[/TD]
[TD]APPLES 10
[/TD]
[/TR]
[TR]
[TD]PINEAPPLE / HOLD 2
[/TD]
[TD]PINEAPPLE 2 / HOLD
[/TD]
[/TR]
[TR]
[TD]BANANAS 20
[/TD]
[TD]BANANAS 20
[/TD]
[/TR]
[TR]
[TD]CHERRIES / HOLD 20
[/TD]
[TD]CHERRIES 20 / HOLD
[/TD]
[/TR]
[TR]
[TD]BANANAS / HOLD 82
[/TD]
[TD]BANANAS 82 / HOLD
[/TD]
[/TR]
[TR]
[TD]GRAPES 23 DON'T WASH
[/TD]
[TD]GRAPES 23
[/TD]
[/TR]
[TR]
[TD]GRAPES / HOLD 352 WASH
[/TD]
[TD]GRAPES 352 WASH / HOLD
[/TD]
[/TR]
</tbody>[/TABLE]
Thank you for the help.
For all rows in column W I would like to move “ / HOLD” to the end of the sting. If the cell does not have “ / HOLD” I would like to keep it as is.
I would like the results to be in column X.
Example:
[TABLE="width: 500"]<tbody>[TR]
[TD="align: center"]CURRENT
[/TD]
[TD="align: center"]WANT
[/TD]
[/TR]
[TR]
[TD]APPLES 10
[/TD]
[TD]APPLES 10
[/TD]
[/TR]
[TR]
[TD]PINEAPPLE / HOLD 2
[/TD]
[TD]PINEAPPLE 2 / HOLD
[/TD]
[/TR]
[TR]
[TD]BANANAS 20
[/TD]
[TD]BANANAS 20
[/TD]
[/TR]
[TR]
[TD]CHERRIES / HOLD 20
[/TD]
[TD]CHERRIES 20 / HOLD
[/TD]
[/TR]
[TR]
[TD]BANANAS / HOLD 82
[/TD]
[TD]BANANAS 82 / HOLD
[/TD]
[/TR]
[TR]
[TD]GRAPES 23 DON'T WASH
[/TD]
[TD]GRAPES 23
[/TD]
[/TR]
[TR]
[TD]GRAPES / HOLD 352 WASH
[/TD]
[TD]GRAPES 352 WASH / HOLD
[/TD]
[/TR]
</tbody>[/TABLE]
Thank you for the help.