kumar lama
Board Regular
- Joined
- May 20, 2014
- Messages
- 85
=IF(M5="","On Service",DATEDIF(K5,L5,"y")&" Y, "&DATEDIF(K5,L5,"ym")&
" M, "&DATEDIF(K5,L5,"md")&" D")
If Blank It's Returning #NUM!, i dont want that i want Show "On Service"
What makes Error here?
Or Can make also =If(L5=date(anydate),DATEDIF(K5,L5,"y")&" Y, "&DATEDIF(K5,L5,"ym")&
" M, "&DATEDIF(K5,L5,"md")&" D"),"On Service"
But this aslo i dont know what to do in Date If(L5=date(anydate)
Thanks
" M, "&DATEDIF(K5,L5,"md")&" D")
If Blank It's Returning #NUM!, i dont want that i want Show "On Service"
What makes Error here?
Or Can make also =If(L5=date(anydate),DATEDIF(K5,L5,"y")&" Y, "&DATEDIF(K5,L5,"ym")&
" M, "&DATEDIF(K5,L5,"md")&" D"),"On Service"
But this aslo i dont know what to do in Date If(L5=date(anydate)
Thanks