Date count error
Hi all,
I'm trying to get a formula working which is able to count days between two dates or provide days since initial consult. This is my current formula (not working). Its been a while since I have to create excel formula.
=IF(K7="blank",DATEDIF(E7,TODAY(),"d"),""=DAYS(K7,E7))
The =DAYS(K7,E7) will count the days between two dates and wokrs well.
The +DATEDIF(E7,TODAY(),"d"),"" works well in counting how many days between a set date and today.
Trying to combine these into a single cell that will return a count of days with when the k7(end date) has no value. How do get around the issue of not having an end date which seems to be causing the error.
Many thanks,
Matt
IF condition
=IF(J13="",(TODAY()-I13),DAYS360(I13,J13))
J13 = startdate
I13 = Enddate
Try this function ...
Hi,
Your function is almost correct just need to do some correction...
assuming K7 cell has no value
=IF(K7="",DATEDIF(E7,TODAY(),"d"),DAYS(K7,E7))
or
=IF(K7="",DATEDIF(E7,TODAY(),"D"),DATEDIF(E7,K7,"D"))
Thanks
Tanuj