<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Issue with Excel Formulas in JSReport each Iteration]]></title><description><![CDATA[<p>Hi team,</p>
<p>I am trying to insert an Excel formula within an each loop in JSReport.</p>
<p>For example, in cell A2, I have the formula:</p>
<p>=B2 + C2</p>
<p>After rendering the report, I expect the following:</p>
<p>Cell A3 should contain =B3 + C3</p>
<p>Cell A4 should contain =B4 + C4</p>
<p>And so on…</p>
<p>However, this is not what I’m seeing. Instead, all cells contain the same formula referencing the last item in the list. For example, if my list contains 100 elements, all cells show:</p>
<p>=B100 + C100</p>
<p>Could you help me understand why the formula does not increment automatically in the each loop and suggest a solution?</p>
<p>I am using JsReport v4.10.1</p>
<p>Thank you!!</p>
<p><img src="/uploads/files/1762265762075-template-resized.png" alt="1_1762265761291_template.png" class="img-responsive img-markdown" /><br />
<img src="/uploads/files/1762265762874-result-resized.png" alt="0_1762265761290_result.png" class="img-responsive img-markdown" /></p>
<p>[1_1762265512054_template.xlsx](Uploading 100%)<br />
[0_1762265512052_result.xlsx](Uploading 100%)</p>
]]></description><link>https://forum.jsreport.net/topic/3503/issue-with-excel-formulas-in-jsreport-each-iteration</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 01:50:16 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/3503.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Nov 2025 14:17:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Issue with Excel Formulas in JSReport each Iteration on Invalid Date]]></title><description><![CDATA[<p>Hi team,</p>
<p>I am trying to insert an Excel formula within an each loop in JSReport.</p>
<p>For example, in cell A2, I have the formula:</p>
<p>=B2 + C2</p>
<p>After rendering the report, I expect the following:</p>
<p>Cell A3 should contain =B3 + C3</p>
<p>Cell A4 should contain =B4 + C4</p>
<p>And so on…</p>
<p>However, this is not what I’m seeing. Instead, all cells contain the same formula referencing the last item in the list. For example, if my list contains 100 elements, all cells show:</p>
<p>=B100 + C100</p>
<p>Could you help me understand why the formula does not increment automatically in the each loop and suggest a solution?</p>
<p>I am using JsReport v4.10.1</p>
<p>Thank you!!</p>
<p><img src="/uploads/files/1762265762075-template-resized.png" alt="1_1762265761291_template.png" class="img-responsive img-markdown" /><br />
<img src="/uploads/files/1762265762874-result-resized.png" alt="0_1762265761290_result.png" class="img-responsive img-markdown" /></p>
<p>[1_1762265512054_template.xlsx](Uploading 100%)<br />
[0_1762265512052_result.xlsx](Uploading 100%)</p>
]]></description><link>https://forum.jsreport.net/post/14798</link><guid isPermaLink="true">https://forum.jsreport.net/post/14798</guid><dc:creator><![CDATA[enoranowak-beep]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Issue with Excel Formulas in JSReport each Iteration on Invalid Date]]></title><description><![CDATA[<p>hi <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/4325">@enoranowak-beep</a></p>
<p>can you try to upload the xlsx files again? it would be great if you add the data you use too.</p>
<p>if you like you can also send me those files at <a href="mailto:bjrmatos@gmail.com" rel="nofollow">bjrmatos@gmail.com</a></p>
]]></description><link>https://forum.jsreport.net/post/14799</link><guid isPermaLink="true">https://forum.jsreport.net/post/14799</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Issue with Excel Formulas in JSReport each Iteration on Invalid Date]]></title><description><![CDATA[<p>FYI, this is fixed now on master, it will be part of next release</p>
]]></description><link>https://forum.jsreport.net/post/14810</link><guid isPermaLink="true">https://forum.jsreport.net/post/14810</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>