Time: MS Excel
There are several different methods of entering time into a cell. Take a look below to see them. After you've read all about it, open MS Excel and take them for a test drive. I find that if I use a function I'm more likely to remember it the next time I need it.
To enter the current time into a cell you can use a keyboard shortcut:
- Select a cell and press CTRL + Shift + ;
To enter the current time into a cell by using a formula that returns the current date and time:
- Enter the formula: =NOW ()
- To get a formula that calculates the current time, change the format of the cell containing the NOW formula to h:mm in the Type box.
- Press CTRL + Shift + ; to insert the current time into cell A1.
- Press CTRL + ' to display the serial number of the current time.
Totaling Time Values
The time format to display hours, minutes and seconds is hh:mm:ss. For example, a time of 13 hours and 42 minutes is displayed as 13:42:00. The default time format does not allow a time value to exceed 24 hours. For example, by entering a time of 28:56:00, the result is 04:56:00. The way to get around that is to change the format of the cell by placing brackets around the hour, [HH]:MM:SS. The result is displayed as 28:56:00.
Calculating the Difference Between Hours
When you need to calculate your employees' hours for payroll, Excel can do it for you.
- Open up a new spreadsheet and in B2 type EMPLOYEE
- In C2 type Start Time.
- In D2 type End Time.
- In E2 type DIFFERENCE.
- Next, in C3 type an employee name.
- In C4 type 05:44.
- In D4 type 10:40
- In E4, type this formula: =D4-C4+IF(C4>D4,1) and depress your tab key.
(The number 1 in the IF formula equals 24 when dealing with time.) If you have entered all the data properly, your answer in E4 should be 4:56:00. To see the screenshot for this article click here.
Visit Carol's web site to learn more tips like this one!
Most popular articles
- Which Processor is Better: Intel or AMD? - Explained
- How to Prevent Ransomware in 2018 - 10 Steps
- 5 Best Anti Ransomware Software Free
- How to Fix: Computer / Network Infected with Ransomware (10 Steps)
- How to Fix: Your Computer is Infected, Call This Number (Scam)
- Scammed by Informatico Experts? Here's What to Do
- Scammed by Smart PC Experts? Here's What to Do
- Scammed by Right PC Experts? Here's What to Do
- Scammed by PC / Web Network Experts? Here's What to Do
- How to Fix: Windows Update Won't Update
- Explained: Do I need a VPN? Are VPNs Safe for Online Banking?
- Explained: VPN vs Proxy; What's the Difference?
- Explained: Difference Between VPN Server and VPN (Service)
- Forgot Password? How to: Reset Any Password: Windows Vista, 7, 8, 10
- How to: Use a Firewall to Block Full Screen Ads on Android
- Explained: Absolute Best way to Limit Data on Android
- Explained: Difference Between Dark Web, Deep Net, Darknet and More
- Explained: If I Reset Windows 10 will it Remove Malware?
My name is Dennis Faas and I am a senior systems administrator and IT technical analyst specializing in cyber crimes (sextortion / blackmail / tech support scams) with over 30 years experience; I also run this website! If you need technical assistance , I can help. Click here to email me now; optionally, you can review my resume here. You can also read how I can fix your computer over the Internet (also includes user reviews).
We are BBB Accredited
We are BBB accredited (A+ rating), celebrating 21 years of excellence! Click to view our rating on the BBB.