We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
fireworks
SOLVED

How to format a column into numbers but ignore any strings?

richleeb2
8 - Asteroid

I have a column with numbers but they are in a scientific format.  Also in the same column I have N/A and numbers with a decimal.  How do I format this column to have all regular numbers but ignore the N/A?

 

1.25468233E8
15447.0
1.17894576E8
N/A
 
6 REPLIES 6
Qiu
21 - Polaris
21 - Polaris

@richleeb2 
For the scientific format, we can use a Text to Columns tool.

1025-richleeb2-1.PNG1025-richleeb2-2.PNG

richleeb2
8 - Asteroid

Thanks, I tried this, but this removed all of the N/A's from the output

Qiu
21 - Polaris
21 - Polaris

@richleeb2 

YOu mean still want the "N/A"?

Just Union Data steam from "F" anchor of first Filter tool.

binuacs
21 - Polaris

@richleeb2 One way of doing this

 

binuacs_0-1666694682723.png

 

DataNath
17 - Castor
17 - Castor

@richleeb2 this can be handled with a formula tool like so. We just perform a check to see if the record = N/A. If it is, we leave it as is and if not, we convert it as you wish:

 

DataNath_0-1666695034046.png

richleeb2
8 - Asteroid

Thank you, this is the most simple and it worked!

Labels
Top Solution Authors