title: How to make formula field for salesforce field?
body: <p>I am trying to make formula field for the salesforce field. the condition is given below.</p>
  <pre><code>if Company = &quot;WIL&quot; And (ShippingCountry = &quot;United States&quot; Or &quot;USA&quot;) then
     &quot;US&quot;
  elseif Company = &quot;WST&quot; And (ShippingCountry = &quot;United States&quot; Or &quot;US&quot;) then
     &quot;USA&quot;
  elseif ShippingCountry &lt;&gt; &quot;&quot; then
     ShippingCountry
  elseif Company = &quot;WIL&quot; then
     &quot;US&quot;
  elseif Company = &quot;WST&quot; then
     &quot;USA&quot;
  else
     &quot;&quot;
  end if
  </code></pre>