SOLVED
Remove a character when it is the only character in the cell
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
TNShan
8 - Asteroid
‎08-30-2023
12:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I cannot figure out how to do this cleaning...
In my column, some cells contain a single "#". And I want to remove it.
but other cells contain also a "#" with other characters. And in that case, I need to keep the "#".
For example:
From | To |
# | |
#12-12 | #12-12 |
#Happy | #Happy |
Your guidance in achieving this is much appreciated.
Thank you.
Solved! Go to Solution.
Labels:
- Labels:
- Alteryx Practice
- Fun
2 REPLIES 2
ShankerV
17 - Castor
‎08-30-2023
01:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @TNShan
Please use the below in Formula tool.
Column name: To
IF Length([From]) = 1 AND [From] = "#"
THEN Null()
ELSE [From]
ENDIF
Many thanks
Shanker V
‎08-30-2023
02:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I extend my heartfelt gratitude for your invaluable assistance. I am pleased to share that your guidance has enabled successful implementation. Thank you immensely for your support.
