Date and time

james rockford

Active Member
Joined
May 27, 2004
Messages
250
What I am looking to do is find the time it has taking to complete a task …So the work sheet has four cells (See below) and return the total time with cell E

Cell a Cell B Cell C Cell d Cell E
June 5 10:00 AM June 6 12:30PM ????

I hope this is clear and thanks for the help
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
I somehow do not think you asked the question you really wanted to ask, but answering what you did ask, this formula will tell you the total number of hours between those two date/time values...

=24*(C2+D2-A2-B2)

Note: You will probably have to change the Cell Format back to General after entering this formula into a cell.
 
Upvote 0
Hi Rick,

I must be doing something in error because when I set up the formula it return #Valve
I have change the format to general as suggested but doing this there is no changes....HELP

a b c d
01-Jun 10:00am 01-Jun 10:00am #VALUE!
24*(C2+D2-A2-B2)

Again thanks for the help
 
Upvote 0

Forum statistics

Threads
1,219,161
Messages
6,146,657
Members
450,706
Latest member
LGVBPP

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