Forum Discussion

Platinum2000's avatar
Platinum2000
Copper Contributor
Mar 18, 2019
Solved

IF (logical;yes; no) How to use a Date function in the result ?

I need to add a Date function as a result in an IF formula.   I tried =IF(R4>0;Date;"") but the result is #¿....  an error.    How I would do it ?   Thank you any help
  • Twifoo's avatar
    Mar 18, 2019
    DATE must have arguments for YEAR, MONTH, and DAY. For example, your formula might look like this:
    =IF(R4>0,
    DATE(2019,3,18),
    “”)
    The formula returns March 18, 2019, if the value of R4 is more than 0; otherwise, it returns an empty text (“”).

Resources