Rounding excel file
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
Solved! Go to Solution.
- Labels:
- Developer
- Developer Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @bsheremeta
Are you creating new columns or updating existing ones? Could it be output data type?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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!
