Time & Date Functions

smokedsalomon

New Member
Joined
Nov 5, 2010
Messages
2
I am trying to process information from a data logger.

It records the date, time and corresponding flow velocity

Cells in Column A are formatted in mm/dd/yyyy hh:mm
Cells in Column B are formatted as Numbers.

Is there a method of subtracting 1 date/time cell from another to return a value in minutes? For example:

A1 = 03/01/2011 00:00
A33 =05/01/2011 00:00
(I would hope the answer would be 89280 minutes)

There does not seem to be a direct function to carry this operation out.

Any ideas/suggestions would be most welcome

Thank You:)
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Either:
=(A33-A1)*60*24
formatted as General or a number
or:
=A33-A1
custom formatted as [mm]
but the latter's value hiding behind that format will be a number of days.

I got 87840 (61 days) rather than 62 days
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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