Dec 14, 2021 06:04 AM
Hi beloved Airtable Community!
I’ve got an issue with a VALUE formula.
I have a Rollup field that does a ARRAYUNIQUE job from a Lookup Field which is formatted as a % (i.e. 36%).
The output I get from the Rollup field is a string (i.e. 0.357142852346992).
I tried various ways to convert it back to a number like:
I’ve read some articles about VALUE behavior but not sure to understand how it might help in that particular case.
Would you have any hints?
Thanks a lot, appreciate it!
Solved! Go to Solution.
Dec 14, 2021 06:22 AM
Can you post a screen shot? If you are rolling up a number field, you should not be getting a string with the formulas you have posted. Instead, you may be getting an array of numbers (even if it looks like a single number).
Try this formula in the rollup …
MAX(ARRAYUNIQUE(values))
or this formula …
VALUE(ARRAYJOIN(ARRAYUNIQUE(values), "")
Dec 14, 2021 06:22 AM
Can you post a screen shot? If you are rolling up a number field, you should not be getting a string with the formulas you have posted. Instead, you may be getting an array of numbers (even if it looks like a single number).
Try this formula in the rollup …
MAX(ARRAYUNIQUE(values))
or this formula …
VALUE(ARRAYJOIN(ARRAYUNIQUE(values), "")
Dec 14, 2021 06:49 AM
Hi kuovonne,
Many thanks for your help, MAX function worked it out!
No idea why that worked - and not VALUE - but I’ll remember the trick :winking_face:
Have a nice day!