title: Excel Function to Replace Substring
body: <p>I need to replace the values in cells that may contain certain values. Lets say I have the following values listed in the A column.</p>
  
  <pre><code>Trucking Inc.
  New Truck Inc
  ABV Trucking Inc, LLC
  </code></pre>
  
  <p>I want to be able to replace the following with a corresponding value. The following is a list contains in 2 columns. 1 Column is the From and the other is the To field.</p>
  
  <pre><code>      From      To
        " Inc."   ""
        " Inc"    ""
        " Inc, "  ""
        " LLC"    ""
  </code></pre>
  
  <p>The result should be:</p>
  
  <pre><code>Trucking
  New Truck
  ABV Trucking
  </code></pre>
  
  <p>Hope I am making sense here.</p>