calculate repair days

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


Book1
EFG
23reportreturndays
242/02/1813/02/187
253/02/1813/02/187
264/02/1815/02/189
275/02/1813/02/187
286/02/1813/02/185
297/02/1815/02/187
308/02/1820/02/187
319/02/1820/02/187
3210/02/1820/02/187
3311/02/1821/02/188
3412/02/1820/02/187
3513/02/18
3614/02/18
3715/02/18
Blad1
 
Hi there,

first, thanks for using my formula translator :-)

Yes, unfortunately, the online translator is not able to translate array constants in formulas for many language pairs. This, as it is difficult to reverse the logic Excel is using for that.
Needs a lot testing in several languages and is very time consuming. So, for example, Excel mostly - but not always - uses the list separator for vertical arrays and dots, commas
or backslashes for horizontal arrays. Depends as far as I can currently see on the Windows Language and the Excel Language and then, also differs, if it matches the Windows
Language or not.

However, I am working on that and I hope to be able to publish an update in the coming 2-3 months,
after the redesign of the website, which is also currently in progress.

Best,
Mourad
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top