• 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.

Calculate Total Number Of Days

cyliyu

Member
I want to calculate the no of days a product remains in working condition after repair.

The criteria as follow:-
1) When the product 1st time sends out for repair, the In/Out in col "F" will show "Out". No calculation required.
2) When the product returns from the supplier after repair, the In/Out will show "In". "∞" use to indicate it still in working condition. replace with "-" if the product rejected again.
3) When it rejected the 2nd time and send back to the supplier, the In/Out will show "Out" again. and it needs to calculate how many days the product was in working condition. Out date - In date = no of days.

The calculation will keep going and if the product keeps on rejecting.

Any help, please?
 

Attachments

  • Sample.xlsx
    25.7 KB · Views: 7
I would like to have the formula in column M to replace the manual calculation in column "K".
One point to take note was the spreadsheet was sorted for easy explanation. It should take into consideration once the spreadsheet is sorted by Date.
 

Attachments

  • Sample.xlsx
    26.6 KB · Views: 4
Thanks, Bosco.

The formula will not work if the spreadsheet sort according to the date.

upload_2017-11-10_13-55-26.png
 

Attachments

  • Sample.xlsx
    26.3 KB · Views: 6
Back
Top