<?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 RE: Can't to get the last 0 from the Cell Excel in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Can-t-to-get-the-last-0-from-the-Cell-Excel/m-p/71213#M23818</link>
    <description>&lt;P&gt;I think transferring the data to bp collection as a numerical wouldnt always be the case where the format is general in excel or there are a mix of formats in column. The easiest and simplest solution would always be to format the cells to get the desired outcome, the default format in excel is General and if you enter a number in these cells the value will be missing the trailing zero and when taken as a collection and it will be shown as text. As you can see from the example screenshot below the first column was formatted as text, second as General and the third column as a number format. The text and general columns are displayed as text in the collection and only the number formatted column is taken as a number in the collection but Text and Number produce the desired outcome of showing the trailing zero.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15106.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15272i78223E72EFA8920D/image-size/large?v=v2&amp;amp;px=999" role="button" title="15106.png" alt="15106.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 05 Mar 2024 11:48:00 GMT</pubDate>
    <dc:creator>michaeloneil</dc:creator>
    <dc:date>2024-03-05T11:48:00Z</dc:date>
    <item>
      <title>Can't to get the last 0 from the Cell Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-to-get-the-last-0-from-the-Cell-Excel/m-p/71209#M23814</link>
      <description>&lt;P&gt;Hi Evryone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I whant tO get Collection from excel I got all data but when the data is Number I can't to get 0 in the last of Number like this 185.170 &amp;gt;&amp;gt; I Got juste 185.17 No 0 in the last of the Number .&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15109.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15271i81E1271AF9B47B81/image-size/large?v=v2&amp;amp;px=999" role="button" title="15109.png" alt="15109.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your helping&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;SLIMANE OUZIALA&lt;BR /&gt;Consultant&lt;BR /&gt;Arondor Capture&lt;BR /&gt;Europe/Paris&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Mar 2024 16:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-to-get-the-last-0-from-the-Cell-Excel/m-p/71209#M23814</guid>
      <dc:creator>Souziala</dc:creator>
      <dc:date>2024-03-04T16:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: Can't to get the last 0 from the Cell Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-to-get-the-last-0-from-the-Cell-Excel/m-p/71210#M23815</link>
      <description>&lt;DIV class="flex flex-grow flex-col max-w-full"&gt;
&lt;DIV data-message-author-role="assistant" data-message-id="14fdbbc7-289f-4561-a97a-9a9b85065aee" class="min-h-[20px] text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&amp;amp;]:mt-5 overflow-x-auto"&gt;
&lt;DIV class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;P&gt;Hello Slimane,&lt;/P&gt;
&lt;P&gt;I don't think the issue lies with the "Get Collection" action. Instead, I would suggest looking into the format of the values in the Excel file. I notice that '13656.29' has decimals, so the first dot '.' is acting as the decimal separator. "Get Collection" may be rounding the number.&lt;/P&gt;
&lt;P&gt;Following this logic, '185.17' is equivalent to '185.170'; it's just rounded.&lt;/P&gt;
&lt;P&gt;What I would do is change the format of the column in the Excel file and then obtain it with the action.&lt;/P&gt;
&lt;P&gt;Edit: Sorry, I didnt reply with the workaround, so here it goes. Try to use FormatCell action and in the input cell type "B:B" or "B1:Bn" (where 'n' is the number of total rows) and the format if I remember correctly is "@" to set as text. Then use get collection and see what it brings&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Regards.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Daniel Sanhueza&lt;BR /&gt;RPA Professional Developer&lt;BR /&gt;Deloitte&lt;BR /&gt;America/Santiago&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 19:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-to-get-the-last-0-from-the-Cell-Excel/m-p/71210#M23815</guid>
      <dc:creator>Daniel_Sanhueza</dc:creator>
      <dc:date>2024-03-04T19:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Can't to get the last 0 from the Cell Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-to-get-the-last-0-from-the-Cell-Excel/m-p/71211#M23816</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="e5b5bc8a-bff5-4d31-a9af-fad80a472384" data-tag-text="@SLIMANE OUZIALA" href="https://community.blueprism.com/network/profile?UserKey=e5b5bc8a-bff5-4d31-a9af-fad80a472384" data-itemmentionkey="f7cb608f-bc3b-4729-bed3-6e20b5dc51e1"&gt;@SLIMANE OUZIALA&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It looks like some of the cells in excel are text and some are number which is why you have a couple of zeros and others are blank in the collection. As &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1100"&gt;@Daniel_Sanhueza&lt;/a&gt; mentioned you will need to format the column of the ones you need zeros in. Use the Excel VBO action 'Format Cell' and you can set an entire column using this as B:B for example and either try text "@" and if you still dont get the result you need then try setting it as number "0.000"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 10:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-to-get-the-last-0-from-the-Cell-Excel/m-p/71211#M23816</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2024-03-05T10:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Can't to get the last 0 from the Cell Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-to-get-the-last-0-from-the-Cell-Excel/m-p/71212#M23817</link>
      <description>&lt;P&gt;Excel formatting is a FACADE. Unless setting the text format FIRST (before data is even entered into that cell by whoever) in Excel, and then capturing any trailing zeroes, Excel will always transfer the value to BP as a numerical. No trailing zeroes.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;If you want the text as formatted in Excel, you can make a new Excel action that asks for the Excel Text property of a call instead of the value. It will return whatever is displayed in the cell.&lt;/P&gt;
&lt;P&gt;WARNING, where text is compressed in the Excel workbook and appears like this "##########", that is also what you will get!!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Anton Hosang&lt;BR /&gt;Director&lt;BR /&gt;Omega RPA Ltd&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Mar 2024 10:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-to-get-the-last-0-from-the-Cell-Excel/m-p/71212#M23817</guid>
      <dc:creator>Anton__Hosang</dc:creator>
      <dc:date>2024-03-05T10:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Can't to get the last 0 from the Cell Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-to-get-the-last-0-from-the-Cell-Excel/m-p/71213#M23818</link>
      <description>&lt;P&gt;I think transferring the data to bp collection as a numerical wouldnt always be the case where the format is general in excel or there are a mix of formats in column. The easiest and simplest solution would always be to format the cells to get the desired outcome, the default format in excel is General and if you enter a number in these cells the value will be missing the trailing zero and when taken as a collection and it will be shown as text. As you can see from the example screenshot below the first column was formatted as text, second as General and the third column as a number format. The text and general columns are displayed as text in the collection and only the number formatted column is taken as a number in the collection but Text and Number produce the desired outcome of showing the trailing zero.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15106.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15272i78223E72EFA8920D/image-size/large?v=v2&amp;amp;px=999" role="button" title="15106.png" alt="15106.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Mar 2024 11:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-to-get-the-last-0-from-the-Cell-Excel/m-p/71213#M23818</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2024-03-05T11:48:00Z</dc:date>
    </item>
  </channel>
</rss>

