Convert to minutes

DarrenF

Board Regular
Joined
Jun 9, 2014
Messages
90
I'm using the below formula and would like to convert it minutes. How would I go about doing that?

=(NETWORKDAYS(C6,D6)-1)*("17:00"-"8:00")+IF(NETWORKDAYS(D6,D6),MEDIAN(MOD(D6,1),"17:00","8:00"),"17:00")-MEDIAN(NETWORKDAYS(C6,C6)*MOD(C6,1),"17:00","8:00")
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
To convert days to minutes you multiply it by 1440.
 
Upvote 0
Perfect, thank you. I figured out I needed to add another set of brackets. I was multiplying 1440 on just the last part of the formula which was giving me a negative number. Thanks for your help.
 
Upvote 0

Forum statistics

Threads
1,214,608
Messages
6,120,500
Members
448,968
Latest member
screechyboy79

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