Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Cell Movement After Enter.

Cell Movement After Enter

by Allen Wyatt
(last updated June 5, 2020)

25

When you enter information in a cell, and then press the Enter key, Excel normally moves to the cell below the one in which you entered the information. You can configure Excel to move in a different direction after pressing Enter by following these steps:

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 and later versions, display the File tab of the ribbon and then click Options.)
  2. At the left of the dialog box click Advanced. (See Figure 1.)
  3. Figure 1. The Advanced options in the Excel Options dialog box.

  4. Make sure the After Pressing Enter Move Selection check box is selected.
  5. Use the Direction drop-down list to specify the direction that Excel should move.
  6. Click OK.

There is one interesting thing about how Excel selects a new cell: If you press Shift+Enter (instead of Enter) when entering data, then Excel selects the cell in the opposite direction of what you have specified in step 4. Thus, if the Direction drop-down list is set to Down, and you press Shift+Enter, then Excel actually moves the selection upwards.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6712) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Cell Movement After Enter.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Ensuring that Spell Checking is Enabled in All Styles

Ever want to enable spell checking in all of the styles within a document, but don't want to check each and every one ...

Discover More

Using Extend Mode

One of the most overlooked shortcut keys in Word has to be the extend key. Yet, learning how to use this simple key can ...

Discover More

Copying Rows between Worksheets Based on a Text Value

Want to move data from one worksheet to another based on a text value in a column. There are a couple of ways you can ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Locking the Zoom Factor

When using alternative pointing devices with a computer (such as a laptop), Excel may not always behave in helpful ways. ...

Discover More

Tab Key Won't Move from Cell to Cell in Locked Worksheet

Normally the Tab key can be used to move from one cell to another in Excel. If this cell movement doesn't work for you, ...

Discover More

Disabling Page Layout View

Excel allows you to display your workbooks using a couple of different views. If you want to disable one of the views, it ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 4 + 0?

2020-06-25 05:29:50

David Smith

FAO Zever

how would i use make a spreadsheet where i want to enter data only in rows a,b and c then go back to A. for example i want to function like this .
enter data in A2 then go to B2 then to C2 after C2 i want it to go to A3

Hi Zever
The solution to moving sideways, then down a row is to use the TAB key after entering your data in the cells. When you reach the final cell in your row press ENTER to enter the data and your cursor should go back to cell A3

This works for me in Excel 97 but I had to go into OPTIONs/Edit and set "Move selection after Enter" to "Down".

Hope this helps?

Dave
Liverpool
England


2020-06-24 09:02:40

Zever

how would i use make a spreadsheet where i want to enter data only in rows a,b and c then go back to A. for example i want to function like this .
enter data in A2 then go to B2 then to C2 after C2 i want it to go to A3


2020-06-24 08:54:32

Zever

how would i use make a spreadsheet where i want to enter data only in rows a,b and c then go back to A. for example i want to function like this .
enter data in A2 then go to B2 then to C2 after C2 i want it to go to A3


2020-06-11 09:45:57

JMJ

Here is the way I use to fill a table, hitting as few keys as possible:

-1) Have the Enter key moving to the next cell down, as indicated in this tip.

-2) In the first cell of the first row of your table, enter the value you want, then hit TAB: this moves the cursor to the next cell to right

- 3) in this cell, enter the corresponding value, then hit TAB, and so on for each cell in the row

-4) when you've reached the last cell of the row, hit ENTER instead of TAB: this moves the cursor one line down and just below the first cell where you began to type!
So, you can type without ever leaving your keyboard nor using arrow keys.
I hope this helps...


2019-05-06 11:37:17

Martin

I have found in Excel 365, (whatever version that is), that if the spreadsheet is protected then the return to the starting column when pressing enter does not work. Pressing enter goes in whatever direction is specified as per Figure 1 of this tip.
As soon as the sheet is unprotected, pressing enter will return to the starting column and next row after having used Tab to move through the cells in the previous row.
This makes filling in a table of values much nicer than using the mouse or arrow keys to do the same thing.
Another option to make an entry in a cell and have the cursor remain in that cell is to click the check mark in the block beside the cell reference indicator block at the top left of the spreadsheet. Means moving from the keyboard to the mouse though.


2019-05-01 09:12:20

Dave Smith

Hi Trevor,
The key combination of Control/ENTER keeps the cursor on the cell you have just edited.
Hope this helps.
Dave


2019-05-01 05:49:03

Dave Smith

Hi Trevor,
The key combination of Control/ENTER keeps the cursor on the cell you have just edited.
Hope this helps.
Dave


2019-04-30 22:54:34

Trevor

Is it possible to hit enter once, have it stay in the same cell, then move down after hitting enter again?


2018-04-03 18:16:03

Pranav

Hi Allen, Could you help me, I have a tracker. I would like to know how to disable the row after I select the last column. I need that pointer to go directly to the row below.

Ex:- tracker from Column 1,2,3
Row A,B,

So when I enter a value in A3, press enter or tab, Pointer should go directly to B1. main point is A1to A3 should be disabled. No editing should be possible.


2018-01-04 20:02:13

CL

i'm using excel 2010. Is there a tip/way when i press enter the cell jump to within 'Allow User to Edit Ranges' cell?


2017-09-05 12:20:50

Daniel Fits

I'm using excel 2013 and i have about 4 sheets linking up to eventually and automatically prepare an invoice for farmers. Recently when i try making some inputs, and after entering, the cursor moves to a particular cell in a different workbook. Whatever entry I make, after entring, moves to that cell. This is making it difficult to work in the entire workbook. Please how do I solve this. Thank you


2017-03-10 15:33:44

Peter Atherton

Greg Stough

Ctrl + Enter holds the cursor.


2017-03-09 09:52:53

B. Diddy

Thank you for this tip! Saved me a ton of frustration!!!!!


2017-01-23 18:32:54

Jan Barcz

I figured it out. Somehow the scroll lock got pushed.

Thanks


2017-01-23 18:02:45

Jan Barcz

If I put my cursor in cell B1 and push the down arrow, the whole page shifts up. This didn't use to do this. Not sure what I did to cause this?


2017-01-04 07:12:03

Graham

In reply to Greg, the solution could be to create 2 macros and link them to command buttons. The code needed is :-

Application.MoveAfterReturn = True

or change to = False

Alternatively a single macro could be set up to toggle between the 2 options.

To control the direction of cursor movement add code such as :-

Application.MoveAfterReturnDirection = xlToRight

replace with xlToLeft, xlDown or xlUp if desired.


2017-01-03 10:55:53

Greg Stough

This has been an ongoing issue for me so perhaps you can help. When I uncheck the "After Pressing Enter, Move Selection" checkbox, as you mentioned, this affects all my workbooks. I'd like to have the cursor to remain in the same cell in some workbooks, but not in others. Is there a way to do this? Ideally I'd like it at the sheet level, but if I can get it to work on the workbook level that would be okay too.


2016-12-15 11:35:42

CJ

James - in protected worksheets, I have more luck using the tab key rather than enter. This moves the cursor to the next unlocked cell.

Hope this helps!


2016-10-25 09:06:07

dan

AC: press tab then enter to return


2016-10-22 11:31:16

David Siu

Awesome, it works great!


2016-09-27 09:14:45

AC

I am using Excel 2016. In previous versions of Excel you could enter data across multiple columns and when you pressed enter it would move the cursor down one and all the way to the first column you started with. How can I do this in Excel 2016?


2016-08-13 03:41:36

James Bowen

Jim (or anyone else who knows),

I used your suggestion and deselected the movement after enter. Initially, it had the desired effect (cursor remained in the selected cell after enter). However, I then went in and used the protect worksheet option (allowing the cursor to only snap to unlocked cells). After protecting the worksheet, entering data into a cell, and hitting enter I've found that the cursor jumps to a cell approx 400 rows below the cell I'm working in. At that point, reselecting or deselecting the movement after enter has no effect. Can you offer any suggestions on why this works on an unprotected worksheet and not a protected one?

Thanks So Much


2016-08-07 23:44:13

JIM MINER

As a teacher of Excel, I usually suggest students deselect the movement after enter. This allows the cursor to stay in the current cell where a host of other commands can be implemented.

Use the up arrow, down arrow, right arrow or left arrow to move the cursor. It works flawlessly. Try it, you'll like it!


2016-08-07 19:04:32

Alec Whatmough

I often need (want) to flick between moving down and moving across on Enter, so I have added two small macros to my personal workbook, and put buttons on the QAT.
Macros are:
Sub MoveRightOnEnter()

Application.MoveAfterReturnDirection = xlToRight
End Sub
Sub MoveDownOnEnter()

Application.MoveAfterReturnDirection = xlDown
End Sub

If you want the option to change by worksheet, you could add it to the sheet code as worksheet.activate and deactivate code (you could also do it as workbook.open/close, but that is only any good if you open the file, do your thing and close it again.)


2016-08-06 09:57:23

Graham

I originally entered this comment for a similar article for VBA on individual workbooks. Probably more appropriate here.

I turn off the 'After pressing Enter' option. This has the effect of no movement.

However the 4 'Arrow' keys can be used for BOTH data entry (instead of the Enter key) and movement to another cell.

Because I can never be certain in which direction I want the 'selection' to move, I prefer to use these 4 'Arrow' keys to move up, down, left or right as desired.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.