I have thefollowing formula. I would like to use reference cells for the parts of the formula which are in bold. So I would like to put D5 for the first Date and D6 for the second date.
When I substitute those cells with the dates I get an error which says "The formula typed contains an error")
I believe this is because I am not using the correct syntax.
How can I substitute the dates with actual cells?