title: How to convert IF function from Excel formula to TSQL?
body: <pre><code>= if( _DataCell_ILF_Cred_ = "", "", 
        _DataCell_ILF_Lyr_Pick * _DataCell_ILF_Cred + _DataCell_Burn_Lyr_Pick_ * (1 - _DataCell_ILF_Cred_) 
      )
  </code></pre>
  
  <p>I want to convert this Excel IF Function into SQL code.</p>