I've been banging my head with this for a few days..
I have 2 dates, one in column J and the other in L, I need to calculate the difference between the 2 dates, however where 1 of them may be blank (this could be either / or), then I need to return "N/A" to the cell.
I've tried this, but it only works when cell L15 does not have a date, If cell J15 doesn't have a date, it returns 41311 (based on the date in L15 and J15 being blank
Then I tried this:
But it returns #Value
any ideas?
I have 2 dates, one in column J and the other in L, I need to calculate the difference between the 2 dates, however where 1 of them may be blank (this could be either / or), then I need to return "N/A" to the cell.
I've tried this, but it only works when cell L15 does not have a date, If cell J15 doesn't have a date, it returns 41311 (based on the date in L15 and J15 being blank
Code:
=IF(L15>0,L15-J15, "N/A")
Then I tried this:
Code:
=IF(L2<>"",L2-J2,"N/A") OR =IF(J2<>"",L2-J2,"N/A")
But it returns #Value
any ideas?
