i need a formula for workbook analytics that displ...
# ask-stanley-ai
l
i need a formula for workbook analytics that displays UK if the shipping country is the United Kingdom and International if not
c
AI generated answer (using internal Slack threads):
Based on the conversations provided, you can create a formula in NetSuite that checks the shipping country and displays "UK" if the shipping country is the United Kingdom and "International" if not. Here is a sample formula that you can use:
Copy code
CASE WHEN {shipcountry} = 'United Kingdom' THEN 'UK' ELSE 'International' END
This formula uses the
CASE WHEN
statement to check the value of the
shipcountry
field. If the value is 'United Kingdom', it returns 'UK'. If the value is anything else, it returns 'International'. Please replace
{shipcountry}
with the actual field id of the shipping country in your NetSuite environment. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803976059
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799882829
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.798940778
Please provide your feedback on this answer.