• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Calculation Car In Operation and The Number of Days

cyliyu

Member
Need help in my formula.
I am trying to calculate the number of days but my formula not working.
Attached file the sample Excel sheet. Thanks.

upload_2018-3-7_8-31-26.png
 

Attachments

  • Car In Operation Calculation.xlsx
    175.3 KB · Views: 4
HI:

May be this

=IF(OR(M6={0,""}),"",IF(L6="","In Service",IF(COUNTIFS(I6:I$1063,I6,K6:K$1063,K6) <=2,L6-G6,IF(M6=1,"Removed","R"))))

But I am not sure how you arrived at 31 and why the logic is different only for that row.


Thanks
 
Thanks Nebu,

Let me try on my master spreadsheet when back to office.
Yes, it should be 43 not 31.
 
Last edited:
Back
Top