<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic You can use the approach in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Paste-formula-in-Excel/m-p/86236#M37117</link>
    <description>You can use the approach suggested by Tom, but if there are many lines, my experience is it takes BP much longer to do this sort of processing than simply copy-pasting a formula into Excel (and letting Excel do the job).
You can use the Set Value in MS Excel VBO. For example MS Excel formula could be =IFERROR(TRIM(LEFT(B2;FIND(""-"",B2)-1));B2) - this should give the ""word1"". When passing it to Excel, you would pass ""=IFERROR(TRIM(LEFT(B2,FIND(""""-"""",B2)-1)),B2)"" - note the duplicated quotes to escape those quotes and the commas instead of semi-colons. You must use comma in functions (when using Set Value) even if your environment uses semi-colon.</description>
    <pubDate>Fri, 09 Sep 2016 18:23:00 GMT</pubDate>
    <dc:creator>RadoslavHiko</dc:creator>
    <dc:date>2016-09-09T18:23:00Z</dc:date>
    <item>
      <title>Paste formula in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Paste-formula-in-Excel/m-p/86234#M37115</link>
      <description>Hey,

I'm trying to split tekxt in a cell (word1 - word2) in excel.
I found two formulas to do that, but I can't paste it in Excel (also can't set the value).

Does anyone know a way to do this?

Thnx.</description>
      <pubDate>Fri, 09 Sep 2016 13:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Paste-formula-in-Excel/m-p/86234#M37115</guid>
      <dc:creator>remko.bouwens</dc:creator>
      <dc:date>2016-09-09T13:12:00Z</dc:date>
    </item>
    <item>
      <title>It might be easier if you</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Paste-formula-in-Excel/m-p/86235#M37116</link>
      <description>It might be easier if you read the cell value, do the splitting in Blue Prism, then write the values back to the worksheet.</description>
      <pubDate>Fri, 09 Sep 2016 15:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Paste-formula-in-Excel/m-p/86235#M37116</guid>
      <dc:creator>TomBlackburn1</dc:creator>
      <dc:date>2016-09-09T15:57:00Z</dc:date>
    </item>
    <item>
      <title>You can use the approach</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Paste-formula-in-Excel/m-p/86236#M37117</link>
      <description>You can use the approach suggested by Tom, but if there are many lines, my experience is it takes BP much longer to do this sort of processing than simply copy-pasting a formula into Excel (and letting Excel do the job).
You can use the Set Value in MS Excel VBO. For example MS Excel formula could be =IFERROR(TRIM(LEFT(B2;FIND(""-"",B2)-1));B2) - this should give the ""word1"". When passing it to Excel, you would pass ""=IFERROR(TRIM(LEFT(B2,FIND(""""-"""",B2)-1)),B2)"" - note the duplicated quotes to escape those quotes and the commas instead of semi-colons. You must use comma in functions (when using Set Value) even if your environment uses semi-colon.</description>
      <pubDate>Fri, 09 Sep 2016 18:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Paste-formula-in-Excel/m-p/86236#M37117</guid>
      <dc:creator>RadoslavHiko</dc:creator>
      <dc:date>2016-09-09T18:23:00Z</dc:date>
    </item>
  </channel>
</rss>

