Forum Discussion

Greg Bonaparte's avatar
Greg Bonaparte
Iron Contributor
Mar 09, 2019
Solved

Syntax help in a formula

Hello Community

 

Can anyone help me with my syntax below? This gets "too few arguments" error

 

=IF((($R30 > 0.00001), ROUNDDOWN(($Y$17-$Y$18)/$Q30,0,"")))

  • Twifoo's avatar
    Twifoo
    Mar 09, 2019
    This is the complete formula:
    =IF(ISNUMBER($R30),
    ROUNDDOWN(($Y$17-$Y$18)/$Q30,0),
    “”)
  • Twifoo's avatar
    Twifoo
    Silver Contributor
    It should be like this:
    =IF($R30>0.00001,
    ROUNDDOWN(($Y$17-$Y$18)/$Q30,0),
    “”)
    • Greg Bonaparte's avatar
      Greg Bonaparte
      Iron Contributor

      Thank you very much. This took away the error. However the new formula continues to place a value in the cell when the r30 cell is empty. Why does it think an empty cell is greater than 0.00001?

      • Greg Bonaparte's avatar
        Greg Bonaparte
        Iron Contributor

        Or better yet, is it possible to say "process this function only if r has any value" as opposed to saying "process if r is greater than 0.00001?

Resources