Thread
:
Conditional Difference between two dates
View Single Post
#
2
Posted to microsoft.public.excel.misc
Dougal
external usenet poster
Posts: 4
Conditional Difference between two dates
wrote:
I have a sheet in which two column are the start date and the end date.
All of the records contain a start date but not all contain an ending
date. How do I, in a third column calculate the difference between the
end date and start date (only if there is an end date present), to give
me the total days or a null if the end date is not present. Also how
do I copy that formula to all the cells in the column????
Hi,
You can use a formula like this:
=IF(B1<"",B1-A1)
Dom
Reply With Quote
Dougal
View Public Profile
Find all posts by Dougal