title: IF function in combination with an Round function Excel
body: <p>I'm trying to combine an <code>IF</code> function with an round function to try to round a certain value.
  In this case the value is in cell H2. E2=decimal places. So if <code>E2=9</code> there are <code>9</code> decimal places. I try to use this formula but it doesn't work(just based on <code>E2=0</code> and <code>E2=1</code>).</p>
  
  <pre><code>=IF( E2= 0,ROUND( $H2, 2),IF( E2=1 ,ROUND( $H2, 1))
  </code></pre>
  
  <p>I get an error, something is wrong in the syntax can someone help me with it?</p>