I use in Excel the formula =NETWORKDAYS(A2 ;B2)for calculating the number of days between the dates in cells A2 and B2. The result is in Cell C2
However, I would like to display a Predifined Text in C2 if the result is zero.
I suppose The Predifined Text can be in the formula bar in a sort of If statement.
If 0 ,OK will be displayed in cell C2)
It does not matter what in the cell will be displayed if result is not zero.
I assume the cell C2 format must then be Text or General
Normally I use Number for C2.
May be, I also can or need to use an other formula?? DateDiff or something like that?? I do not know all possibilities.
Who can help me
However, I would like to display a Predifined Text in C2 if the result is zero.
I suppose The Predifined Text can be in the formula bar in a sort of If statement.
If 0 ,OK will be displayed in cell C2)
It does not matter what in the cell will be displayed if result is not zero.
I assume the cell C2 format must then be Text or General
Normally I use Number for C2.
May be, I also can or need to use an other formula?? DateDiff or something like that?? I do not know all possibilities.
Who can help me
Comment