Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Excel file which have large amount of rows.

Is there an efficient way to select say 100,000 rows other than dragging my mouse?

share|improve this question

migrated from stackoverflow.com Oct 17 '12 at 2:31

This question came from our site for professional and enthusiast programmers.

1  
What about Ctrl + a ? – Dejo Oct 16 '12 at 22:15
    
Or maybe (holding Shift) Control down, control left? – Tiago Cardoso Oct 16 '12 at 22:17
    
Why do you need to select them anyway? – nutsch Oct 16 '12 at 22:30
    
I thought asking 'why not MS Access, at least?' but it could be misinterpreted... – Tiago Cardoso Oct 16 '12 at 23:01
    
Do you want the complete row or just the occupied columns? – pnuts Oct 17 '12 at 19:16
up vote 7 down vote accepted

One thing I do is press F5 (on Windows - brings up the "Go To" menu) and in the Reference section type the address of the range I want to select. For instance, to select the first 100,000 rows, type 1:100000 (or A1:D100000, etc.).

You can also do various things like hitting Shift+Space and Ctrl+Shift+Down assuming 100000 is the end and your range is contiguous, Ctrl+A to select the entire used range, etc.

share|improve this answer

I simply use the End key. Start with A1 selected. Hold down Shift, then press End and then . Then (while still holding Shift) press End again and then .

This should select everything in a very small number of key strokes. However if there are gaps in your data you may have to press End then until you have everything.

share|improve this answer
    
Or instead of ENDetc, Editing, Find& Select, Go To Special, Last Cell, OK then release Shift. – pnuts Oct 17 '12 at 18:38

For Excel (Windows 10, Office 365 at least) this is very easy.

  1. Click to select a cell within your table of data
  2. Press the "End" key to tell Excel that you want to select all cells until the end of the table of data
  3. Now press and hold the "Shift" key and then press one of the four arrow keys

All the cells from the cell you first selected to the last cell in the arrow's direction should now be selected.

You can also begin at step 1. and select a group of cells.

share|improve this answer
1  
Welcome to Super User. It seems that this answer duplicates one posted almost four years ago. If you have something new to add, please edit your post with the edit link. – Ben N Jan 7 at 22:04
    
It is similar Ben, but not a duplicate. Thanks. – user284898 Jan 10 at 2:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.