Hi
I have a sheet where i need to calculate the time between a job start date and end date. If the end date isnt entered yet i want it to use todays date as the end date, and i want it to return blanks where neither start date or end date have yet been entered.
=IF(OR(ISBLANK(H4),ISBLANK(G4)),"",DATEDIF(G4,H4,"M")&"M "&DATEDIF(G4,H4,"MD")&"D")
G is the start date and H the end date. I have it returning in months and days.
Thanks to anyone who has a look at this - I find getting excel to return blanks the hardest thing!!
Thanks in Advance
Bookmarks