Percent of work day

cthorne1

New Member
Joined
Apr 21, 2024
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hey! So if I have the time my work day begins and ends, and the current time in an excel file, can I get what percent of the way through the day the current time is?
So like if
A1= 9:00 AM
A2= 5:00 PM
A3= 1:00 PM
then have A4= 50%
Is there anyway to do this?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
In A4:
Excel Formula:
=(A3-A1)/(A2-A1)
Format as %

(This will not work if your work day starts before midnight and finishes after midnight. Need to enhance for that case.)
 
Upvote 0
So when I do this I am returning a value of 10397261%. If my A3 is set to =NOW() instead of a manually typed in time will that effect how it is calculated?
 
Upvote 0
So when I do this I am returning a value of 10397261%. If my A3 is set to =NOW() instead of a manually typed in time will that effect how it is calculated?
A3
=TIME(HOUR(NOW()),MINUTE(NOW()),SECOND(NOW()))
 
Upvote 0
NOW gives you the date and time. You need just the time. This strips off the date:
Excel Formula:
=MOD(NOW(),1)
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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