Bruno_x
Active Member
- Joined
- Feb 17, 2002
- Messages
- 491
I have column A with the date that a power tool has been reported as "to repair" and column B with the day the repaired tool was returned
I have to calculate the number of days that the machine was not present. But...
The broken machines are only collected on Tuesdays and Thursdays
So, a machine reported on thursday, friday or monday will be collected on the next tuesday. A machine reported on tuesday or wednesday will be collected the next thursday.
I can use 7 nested IF formulas, but there might be a better way to calculate the number of days...
I have to calculate the number of days that the machine was not present. But...
The broken machines are only collected on Tuesdays and Thursdays
So, a machine reported on thursday, friday or monday will be collected on the next tuesday. A machine reported on tuesday or wednesday will be collected the next thursday.
I can use 7 nested IF formulas, but there might be a better way to calculate the number of days...
Book1 | |||||
---|---|---|---|---|---|
E | F | G | |||
23 | report | return | days | ||
24 | 2/02/18 | 13/02/18 | 7 | ||
25 | 3/02/18 | 13/02/18 | 7 | ||
26 | 4/02/18 | 15/02/18 | 9 | ||
27 | 5/02/18 | 13/02/18 | 7 | ||
28 | 6/02/18 | 13/02/18 | 5 | ||
29 | 7/02/18 | 15/02/18 | 7 | ||
30 | 8/02/18 | 20/02/18 | 7 | ||
31 | 9/02/18 | 20/02/18 | 7 | ||
32 | 10/02/18 | 20/02/18 | 7 | ||
33 | 11/02/18 | 21/02/18 | 8 | ||
34 | 12/02/18 | 20/02/18 | 7 | ||
35 | 13/02/18 | ||||
36 | 14/02/18 | ||||
37 | 15/02/18 | ||||
Blad1 |