EXCEL Calculate if cell is not empty
Solved
TITI66MATH
Posted messages
5
Status
Member
-
xx -
xx -
Hello,
I would like to subtract two dates only if the cells are not empty.
If one cell is empty, I would like to get an empty cell as a result.
The formula I am using is =NETWORKDAYS(A1,A2)
For example, in A1 I have 10/03/13 and in A2 I have 10/05/13, in A3 I get 2.
If in A1 I have 10/03/13 but A2 is empty, I would like to have an empty cell.
Thank you in advance for your responses.
I would like to subtract two dates only if the cells are not empty.
If one cell is empty, I would like to get an empty cell as a result.
The formula I am using is =NETWORKDAYS(A1,A2)
For example, in A1 I have 10/03/13 and in A2 I have 10/05/13, in A3 I get 2.
If in A1 I have 10/03/13 but A2 is empty, I would like to have an empty cell.
Thank you in advance for your responses.