This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I want to replace all fields in my document that only have one character. I know I want to use the Multi-Field Formula. How can I write an if, then statement for this?
Solved! Go to Solution.
Are you looking to remove all columns that have length 1? Or are you looking to find all values in a data set that are of character length 1 and perform an action on them?
The attached module look at all fields in your data set at replace the entries on length 1 with NULL. Is that what you are looking to do? This example module assumes all fields will be strings or numeric. If this isn't the case with your data set, you may need multiple Multi-Field tools but the idea remains the same.
The Multi-Field Formula will be configured like this
I'm looking to find values that ore a length of one character, and delete those fields.
The above post should find all values of length 1 and "delete" them by changing them to null.
Hi,
There is no way of directly deleting those null cells, however one way to remove them from your workflow is by transposing the data and then filtering based on the value field for Null values. You can then return the data back to it's original format by using the crosstab tool.
See the attached workflow for an example.
Best,
Jordan Barker
Client Service Reprentative
This works splendidly! Thank you :)