Welcome toExcel.Tips.Net
Tips.Net Home
ExcelTips Home
Ask an Excel Question
Make a Comment
ExcelTips FAQ
ExcelTips Premium
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips
Advertise on the
ExcelTips Site
Assigning a Macro to a Keyboard Combination
Hiding Rows Based on a Cell Value
Some people use Excel to help keep track of elapsed time. This may sound like a rather esoteric use of Excel, but it is not, really. For instance, you may develop a time sheet. You enter a starting time in a cell, an ending time in another cell, and then calculate the elapsed time between the two by simply subtracting the starting time from the ending time.
If you use Excel in this way, you may have a need to display your results in just minutes, with no hours showing. You can do this in one of two ways. The first is to simply format the cell containing the aggregate of your elapsed times. Follow these steps:
Your cell now contains only elapsed minutes. This is great for displaying results, but you may actually want a cell to literally contain a number representing the number of elapsed minutes. This need brings us to the second solution: simply multiply the aggregation cell by 1440 and format the result as a regular number (not as a date or time). This effectively takes a value out of the special date/time format maintained by Excel and puts it back into the realm of regular numbers.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2820) applies to Microsoft Excel versions: 97 2000 2002 2003
Organize Your Data! Using the powerful sorting capabilities of Excel can help you get your data into just the order you need. Find out how you can use the full capabilities of sorting to your benefit.