excel-laptop-screen-with-title

If you need to enter the current date and time in a cell within a Microsoft Excel spreadsheet, here’s a simple way to do it without using up a bunch of your valuable time inputting pesky keystrokes. (FYI: I’m using MS Excel 2010 on a PC; other versions and a Mac may differ slightly, but you should be able to get this done in any version following the steps below.)

First, make sure your cursor is in the cell that you want the date to appear in.  Then press and hold the Control key and the semi-colon key at the same time.  The current date will appear in the cell.

excel enter date2

If you also want the current time to appear, that’s easy, too.  First type a space after the date you just entered, and then press and hold the Control key, the Shift key, and the semi-colon key all at once.  The time will appear after the date you just inserted.

excel enter date1

As you might be able to guess, you could use either of these shortcuts by themselves to enter just the date or just the time.

Now what if you want the date to be formatted differently?  Maybe you want the day of the week to be shown, the month spelled out, or AM/PM after the time.

 First, be sure the cell you want to format is selected.  Then go to the Format Menu, toward the far right of your Excel menu bar.

excel enter date3

Click on Format to bring up the sub-menu.  Choose Format Cells from the bottom of the list.

excel enter date4

In the dialog box that comes up, make sure the Number tab is selected.  Date should be highlighted, because the cell that you have selected already has a date format.

excel enter date5

 For a simple pre-formatted date and time, choose one of the options from the list in the ‘Type:’ box.  Watch the ‘Sample’ box above it to see the effect of the different choices.excel enter date6When you are done, click OK, and you’ll be back in your spreadsheet with your newly formatted date and time.

excel enter date7

If you want to get a little fancier, you can go back to the Format menu and choose Custom from the Category list (where Date was pre-selected before).  This will call up a box of all kinds of mysterious symbols for you to choose from.  You don’t need to know what they all stand for right now (wait for a future post on that…), but scroll down and select a few to see what results they produce in the ‘Sample’ box.

excel enter date8

Click OK to return to your spreadsheet and see the effect.

excel enter date9

Happy spreadsheeting, and let me know if you have any questions in the comments!

images courtesy of pixabay.com and day2daybiz; edited screenshots by day2daybiz.