Remaining time

Martinpetersson

New Member
Joined
Apr 27, 2022
Messages
31
Office Version
  1. 365
Platform
  1. Windows
I’m creating a tact time board and I’m trying to get an automatic updated cell with remaining work hours left on the work week.

For an example.

We work straight from Sunday 10 pm to Friday 2.30 pm
Our goal is to produce 12000 pieces in that time frame. (Approximately 113 hours)

I already have a live updated cell that shows how many pieces we have produced so far this week and also one cell that shows how many pieces there are left to produce.

I also have one cell that shows the tact we have produced in during the actual day. (Ex. 96 pieces per hour during this day)

I now want excel to calculate how many pieces we need to produce/hour during the hours that are left of this week.

If I only could get a cell that automatically shows spent time since Sunday 10 pm and remaining time to Friday 2.30 pm then it will work.

Please help.
Martin
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
It would be nice if you gave us actual Excel cell references so we could give you an actual Excel formula.

I have made assumptions as shown below. The bottom formula gives the pieces/hour required to make the goal.

$scratch.xlsm
AB
1Pieces Produced This Week 6,000
2Weekly Goal 12,000
3Week StartSunday 4/24/2022 10:00 PM
4Week EndFriday 4/29/2022 2:30 PM
5
6Time left this week (hours)46.8
7Remaining to make goal: 6,000
8Pieces per hour required to make goal: 128.2
Rate
Cell Formulas
RangeFormula
B3B3=TODAY()-WEEKDAY(TODAY(),1)+1+TIMEVALUE("10:00 PM")
B4B4=TODAY()-WEEKDAY(TODAY(),1)+1+5+TIMEVALUE("2:30 PM")
B6B6=ROUND(24*(B4-NOW()),1)
B7B7=B2-B1
B8B8=B7/B6
 
Upvote 0
Thank you so much! I really appreciate it! Will look into it as soon as I come to work tomorrow.
I guess I just have to figurate out how the start and end date will automatically change every week so I don’t have to do it manually for each working week.
 
Upvote 0
Ok, thank you again for your service.
I think something is wrong because of my region.
I need to use isoweek and isoyear when I do things because of i live in Sweden, Europe.
i also had to change the "," to ";" in B6

I have tried to change to iso but it didn't work out for me. Would be very greatful if you could take a quick look again.
Please see attached mini sheet.
/Martin

tact_time.xlsx
ABC
1Pieces Produced This Week9 500
2Weekly Goal12 200
3Week Start2022-04-28Suppose to be Sunday.
4Week End2022-05-03Suppose to be friday
5
6Time left this week (hours)126
7Remaining pieces to make goal:2700
8Pieces per hour required to make goal:21,4
Sheet1
Cell Formulas
RangeFormula
B3B3=TODAY()-WEEKDAY(TODAY()*0.1)+1+TIMEVALUE("10:00 PM")
B4B4=TODAY()-WEEKDAY(TODAY()*0.1)+1+5+TIMEVALUE("2:30 PM")
B6B6=ROUND(24*(B4-NOW()),1)
B7B7=B2-B1
B8B8=B7/B6
 
Upvote 0
I just changed it to today()*0,3 now it works! Thank you so much.
couldn't have done it without you two.
 
Upvote 0
You should not be multiplying TODAY by anything. Your formula should look like:
Rich (BB code):
=TODAY()-WEEKDAY(TODAY();1)+1+TIMEVALUE("10:00 PM")
No *

I always show the U.S. format unless the question indicates a different localization.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,264
Members
449,075
Latest member
staticfluids

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