Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Saved Search Formula To Sum Numbers In Text Field
I have a text field let's just call it {textfield} that will contain data like this:-
e.g.
["400.00","500.00","300.00"]
[300]
["100.00","200.00"]
etc..
I am trying to create a formula field to sum the numbers in this text field but no luck.
I tried this to remove all the [, " and comma and hope by adding a + it will auto sum but the result is still a string
REPLACE(REPLACE(REPLACE(REPLACE({textfield},'[',''),'"',''),',','+'),']','')
What I want to get the result from the formula field is
["400.00","500.00","300.00"] ⇒ 1200.00
[300] ⇒ 300
["100.00","200.00"] ⇒ 300
Anyone got any idea do let me know. Thanks !