Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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 !
Tagged:
0