# GrapeCity.Spreadsheet.IRange.Formula

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_IRange_Formula_" data-uid="GrapeCity.Spreadsheet.IRange.Formula*">Formula Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_IRange_Formula_" data-uid="GrapeCity.Spreadsheet.IRange.Formula*"></a>
<h4 id="GrapeCity_Spreadsheet_IRange_Formula" data-uid="GrapeCity.Spreadsheet.IRange.Formula">Formula</h4>
<div class="markdown level1 summary"><p>Gets or sets the formula, which will implicitly intersect as required when set, for this <a class="xref" href="GrapeCity.Spreadsheet.IRange.html">IRange</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">string Formula { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Property Formula As String</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>A string value represents the formula of this <a class="xref" href="GrapeCity.Spreadsheet.IRange.html">IRange</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_IRange_Formula_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Setting <a class="xref" href="GrapeCity.Spreadsheet.IRange.Formula.html#GrapeCity_Spreadsheet_IRange_Formula">Formula</a> will always result in a formula that will never spill, because implicit intersection will force it to return just one result.</p>
</div>
</div>
