In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Rounding excel file

bsheremeta
7 - Meteor

I have a big excel file with multiple columns and multiple data types (v_string and double) and I need to round every single cell whenever possible. 

 

Should I use something like multi-field formula and try to round with if statement? 

 

Thanks for all the help. 

4 REPLIES 4
Luke_C
17 - Castor
17 - Castor

Hi @bsheremeta based on your description a multi-field formula tool seems appropriate. You'll need to use a 'tonumber' function in conjunction with the rounding to handle the string fields. 

 

You could also transpose the data all to one column, then just round the value column and crosstab it back.

bsheremeta
7 - Meteor

I'm able to select all numeric fields within multi field formula, but my formula seem not to work - round([_CurrentField_],1). Do you know what may be the case?

Hi @bsheremeta 

 

Are you creating new columns or updating existing ones? Could it be output data type? 

christine_assaad_0-1627070208412.png

 

bsheremeta
7 - Meteor

I got it figured out! Some of the fields I was selecting didn't have the necessary data. I selected all fields and used round(tonumber([_CurrentField_]),1) and it worked. Thanks!

Labels
Top Solution Authors