# FarPoint.Web.Spread.IConditionalFormatSupport.SetFormulaConditionalFormat

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_IConditionalFormatSupport_SetFormulaConditionalFormat_" data-uid="FarPoint.Web.Spread.IConditionalFormatSupport.SetFormulaConditionalFormat*">SetFormulaConditionalFormat Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_IConditionalFormatSupport_SetFormulaConditionalFormat_" data-uid="FarPoint.Web.Spread.IConditionalFormatSupport.SetFormulaConditionalFormat*"></a>
<h4 id="FarPoint_Web_Spread_IConditionalFormatSupport_SetFormulaConditionalFormat_System_Int32_System_Int32_FarPoint_Web_Spread_NamedStyle_System_String_" data-uid="FarPoint.Web.Spread.IConditionalFormatSupport.SetFormulaConditionalFormat(System.Int32,System.Int32,FarPoint.Web.Spread.NamedStyle,System.String)">SetFormulaConditionalFormat(int, int, NamedStyle, string)</h4>
<div class="markdown level1 summary"><p>Sets a formula conditional format for the cell at the specified row and column.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool SetFormulaConditionalFormat(int row, int column, NamedStyle style, string formula)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function SetFormulaConditionalFormat(row As Integer, column As Integer, style As NamedStyle, formula As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Row index of cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>Column index of cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.NamedStyle.html">NamedStyle</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>Style to be applied to the cell if the formula evaluates to true</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">formula</span></td>
      <td><p>Formula for the condition</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
