Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

subtract date and time display how many minutes difference

Posted on 2010-09-15
3
Medium Priority
?
499 Views
Last Modified: 2012-05-10
How can i subtract two dates and times and display the difference in Minutes?

-Brandon
0
Comment
Question by:KnutsonBM
3 Comments
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 2000 total points
ID: 33685352
Total minutes between two date/time values:

   =(B1-A1)*1440

Kevin
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 33685354
If you have a date/time in A2 and a later one in B2 just subtract, i.e.
=B2-A2
You can now use formatting to display the difference as required, e.g. custom format as [h]:mm to show the difference in hours and minutes, so 2 ½ hours will display as 2:30. If you want to see just minutes, i.e. 150 then custom format as [m]
regards, barry
0
 
LVL 6

Author Closing Comment

by:KnutsonBM
ID: 33685368
exactly what i was looking for, thanks!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question