Hourly consumption

orsm6

Well-known Member
Joined
Oct 3, 2012
Messages
515
Office Version
  1. 365
Platform
  1. Windows
Hi all, very much banging my head on the desk on this one.

how can I write a formula that splits product we made, lets say 5000 units, over 2:08 (2 hours 8 minutes)

BUT.... here is the trick,
- in column A I have a list of date and time starting at Monday 5:00am
- but what if we started making product at 5:30 am and it finishes at 7:38am


it might look something like this as example, but I do not know how to write the formula, it may simply not even be possible by formula:
- 5am 1170 - ran for 30 minutes
- 6am 2340 - ran for 1 hour
- 7am 1490 - ran for 38 minutes
- 8am


any help appreciated.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi,

Not sure to fully understand your problem ...

You should have three columns:

- in Column A, time formatted as time 5:00:00 AM
- in Column B, number formatted as number 1170
- in Column C, time formatted as time 12:30:00 AM

Adding your times in Column C ... would produce the expected result ...

HTH
 
Upvote 0
Hi James,
thank you for taking the time to reply. This one is difficult to explain, and I am unable to load up a file to help .

I think that what I want to do is not going to be possible by a formula. possibly a macro, but I do not know lol.
 
Upvote 0
Hi,

Sadly ... you cannot attach a sample workbook in this Forum ...:(
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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