bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > Editing > Adjusting a Range's Starting Point

Adjusting a Range's Starting Point

Summary: When you hold down the Shift key and use the Arrow keys to select a range of cells, you may not know that you can expand your selection in any direction you desire. Using the ideas in this tip, you can make your selecting techniques quite a bit more powerful. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, and Excel 2003.)

When I select a range of cells in a worksheet, the most common method I use is to hold down the Shift key as I use the cursor-control keys to move to the ending point in the range. Sometimes, after selecting a range, I realize that I should have started a bit earlier in my selecting. For instance, I may originally select the range C3:H12, and then realize that I should have started the selection at B2 instead of C3.

While I can start the selection all over again, there is a much simpler way to extend my selection so that it includes the revised starting point. The key is to remember that when you hold down the Shift key, selections are always expanded (or contracted) in relation to the "currently selected cell." Try these steps, and you will see what I mean:

  1. Using the keyboard, select the range C3:H12. Notice that the selected range is shaded, but one cell (C3) is a different color than the others. This tells you that C3 is the selected cell.
  2. Release the Shift key, then press Ctrl+. (that's the period) two times. Notice that the selected cell moves first to H3 (the top right corner of the selection) and then to H12 (the bottom right corner of the selection).
  3. Hold down the Shift key as you press the Up Arrow once and the Left Arrow once. Notice that the selection is extended on the top-left corner, opposite of the selected cell.

See how easy that was? All you needed to do was to modify the selected cell, without getting rid of the original range. There is another way to accomplish the same task, which involves one less keystroke. All you need to do, in step 2, is continue to hold down the Shift key as you press the Tab key. H12 immediately becomes the selected cell.

This alternate method of accomplishing the task actually brings up some interesting possibilities that you can experiment with. Again, remember that all range extending is done relative to the currently selected cell. With your initial range selected, you can press Tab or Shift+Tab to step through the cells in the range, one at a time. When you press Tab, you cycle through them from left to right and top to bottom; when you press Shift+Tab, you cycle through them in reverse order.

The interesting part comes in when you select a cell that isn't on a corner of your original range, and then try to expand your selection. Try different combinations of "active cells" and holding down the Shift key while pressing the arrow keys. You will find the different permutations rather interesting.

Tip #2100 applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003


Got the Time? If you work with either times or dates in Excel, you really need ExcelTips: Times and Dates. Everything you need to know about slicing, dicing, and generally working with times and dates.

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home
Vital News Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)