Extend Selection Up One Screen: What It Does
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This article explains the “Extend selection up one screen” keyboard command, which moves the cursor or selection highlight up by one full screen’s worth of content while selecting everything it passes over. You trigger it with Shift+Page Up on Windows and Shift+Fn+Up Arrow on Mac, and it is most useful for quickly highlighting large blocks of text or files without dragging.
What Does “Extend Selection Up One Screen” Mean?
The phrase comes from keyboard-driven selection in operating systems and applications. When you press the key combination, the program moves the insertion point (or the active cell in a spreadsheet) upward by the height of the visible area, and it highlights everything between the old position and the new one. In a text editor, that means you select roughly 40–60 lines at once, depending on your font size and window height. In a file manager, it selects all items from the current one up to the item at the top of the window.
The command is part of a family of selection shortcuts that use the Shift key with navigation keys. Shift+Page Down extends downward, Shift+Home extends to the beginning of the line, and Shift+Ctrl+Home extends to the very top of the document. Together they let you select large regions without ever touching the mouse.
How to Use It on Windows, Mac, and Linux
The exact keys vary by operating system and sometimes by application.
- Windows: Press Shift + Page Up. In most text editors, browsers, and file explorers, this selects from the cursor up one screen.
- Mac: Press Shift + Fn + Up Arrow. The Fn key is needed because Page Up is not a dedicated key on most Mac keyboards.
- Linux (GNOME, KDE): Same as Windows: Shift + Page Up. In terminal emulators, it may select the scrollback buffer instead of the document text.
- Spreadsheets (Excel, Google Sheets): Shift + Page Up extends the selected range up by one screen’s worth of rows.
If the key combination does nothing, the application may not support it, or the focus might be in a field that ignores it (like a search box).
Why It Exists: The History of Keyboard Selection
Before graphical mouse interfaces became universal, keyboards were the primary way to navigate and edit text. Word processors like WordPerfect and early versions of Microsoft Word relied on Shift+arrow keys for selection. The Page Up and Page Down keys were already standard on IBM PC keyboards, so extending them with Shift was a natural way to select a whole screen at once. This design carried into modern operating systems and remains in place because it is still faster than dragging a mouse for large selections.
Today, the command is also used in file managers (Windows Explorer, macOS Finder) to select multiple files, and in code editors (VS Code, Sublime Text) to select large blocks of code. Even though the mouse is now primary, the keyboard shortcut persists because it is precise and repeatable.
Common Problems and Misconceptions
A frequent misconception is that “one screen” always means exactly the number of visible lines. In practice, it is the number of lines the program scrolls when you press Page Up, which can be slightly less than the full window height (for example, it may leave a few lines of context at the top). This means the selection may not end exactly at the top of the window.
Another issue: in some applications, pressing Shift+Page Up while the cursor is already at the top of the document does nothing, which is correct—there is nothing above to select. Also, in terminal programs, the command may select the terminal’s scrollback buffer (the text that has scrolled off the top), not the current document. In that case, you might need to use the mouse or a different shortcut.
If the shortcut stops working, check that the application has focus (click inside the document first). Some programs, like certain web-based editors, may have their own keyboard shortcuts that override the system default. Also, on laptops, the Fn key can be locked or remapped, so test with the on-screen keyboard if needed.
How to Choose the Right Selection Method
Use Shift+Page Up when you need to select a large, contiguous block that is roughly one screen tall. For smaller selections, Shift+arrow keys are more precise. For very large selections (many screens), use Shift+Ctrl+Home (to the top) or Shift+Ctrl+End (to the bottom). In file managers, you can also click the first item, then Shift+click the last item to select a range—this is often easier than holding keys.
Consider the context:
- Text editing: Shift+Page Up selects text; Shift+Ctrl+Home selects everything to the start of the document.
- Spreadsheets: Shift+Page Up extends the range up by one screen; Shift+Ctrl+Home goes to cell A1.
- File selection: In Windows Explorer, Shift+Page Up selects items up to the top of the current view; in macOS Finder, it works similarly but may require Fn.
If you frequently need to select a specific number of lines, it may be faster to use the mouse or a macro.
Alternatives to Keyboard Selection
If keyboard shortcuts are not working or are not convenient, you have other options:
- Mouse drag: Click at the start, hold the button, and drag to the end. This is intuitive but less precise for large areas.
- Shift+click: Click at the start, then hold Shift and click at the end. This selects everything in between. Works in text and file lists.
- Triple-click: In most text editors, triple-click selects the entire paragraph. Double-click selects a word.
- Select All: Ctrl+A (Cmd+A on Mac) selects everything in the document or folder. Use it when you want the whole content.
- Find and select: Some editors allow you to select all occurrences of a string (e.g., Ctrl+Shift+L in VS Code). This is not a screen-based selection but is useful for repetitive edits.
For touchscreens, you can often double-tap and drag the selection handles, but that is slower for large blocks.
Frequently Asked Questions
Why doesn’t Shift+Page Up work in my browser?
Browsers generally do not support text selection via keyboard shortcuts like Shift+Page Up. The shortcut is reserved for scrolling the page. To select text in a browser, you must use the mouse or press Ctrl+A to select all. Some web apps (like Google Docs) have their own shortcuts, but they may differ.
Does Shift+Page Up select the same amount as the visible screen?
Not exactly. The amount selected depends on the application’s scroll behavior. Most programs scroll by a value slightly less than the full window height (often leaving a few lines of overlap), so the selection may cover a bit less than the visible area. It is always a full “page� of content, not necessarily the exact pixel height of the window.
Can I use Shift+Page Up in Excel to select cells?
Yes. In Excel and Google Sheets, Shift+Page Up extends the selected range upward by one screen’s worth of rows. For example, if you have cell A10 selected, pressing Shift+Page Up might select A1:A10 (depending on your zoom level). This is a quick way to select a large block of data.
What is the difference between Shift+Page Up and Shift+Home?
Shift+Page Up selects from the cursor up one full screen. Shift+Home selects from the cursor to the beginning of the current line. They are complementary: one is vertical (screen), the other is horizontal (line). Use Shift+Home for a single line, Shift+Page Up for many lines.
Is there a way to extend selection down one screen?
Yes, the counterpart is Shift+Page Down (or Shift+Fn+Down Arrow on Mac). It works the same way but in the opposite direction. You can use both together to select a large block that spans multiple screens.
Why does Shift+Page Up sometimes select nothing in a terminal?
In terminal emulators, Shift+Page Up often scrolls the terminal’s scrollback buffer instead of selecting text. This is because the terminal treats the command as a scroll request, not a selection request. To select text in a terminal, you usually need to use the mouse or a different selection mode (e.g., copy mode in tmux).
Related
Formula used
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.