Select Non Adjacent Cells D5 D10 And D13

9 min read

Selecting Non‑Adjacent Cells D5, D10, and D13 in Excel: A Complete Guide

When working with spreadsheets, you often need to highlight or manipulate a handful of cells that don’t sit next to each other. In Excel, the ability to select non‑adjacent cells—such as D5, D10, and D13—enables you to apply formatting, formulas, or data validation to multiple, unrelated points in one go. This guide walks you through the most common methods, explains why you might need them, and shows you how to automate the process with a tiny VBA macro.


Why Select Non‑Adjacent Cells?

  • Batch Formatting: Apply a single color, font style, or border to several scattered cells.
  • Data Entry Efficiency: Quickly input identical data (e.g., a default value) into multiple cells without repeated clicks.
  • Formula Copy‑Paste: Copy a formula to several non‑contiguous cells in one operation.
  • Conditional Formatting Rules: Target specific cells that share a common criterion but are not next to each other.

Understanding how to do this smoothly saves time and reduces the risk of accidentally altering the wrong cells Easy to understand, harder to ignore..


Method 1: The Classic Mouse‑and‑Keyboard Combo

  1. Click the first cell

    • figure out to D5 and click once. It becomes the active cell.
  2. Hold the Ctrl key

    • Keep Ctrl pressed while you continue selecting other cells. On macOS, use Command instead of Ctrl.
  3. Click the next cell

    • While still holding Ctrl, click D10. Both D5 and D10 will be highlighted.
  4. Click the third cell

    • Continue holding Ctrl and click D13. Now all three cells are selected simultaneously.
  5. Release Ctrl

    • Once your selections are complete, you can perform any action—formatting, typing, or copying.

Tip: If you need to add more cells later, simply hold Ctrl and click each new cell. To remove a cell from the selection, hold Ctrl and click the highlighted cell again Most people skip this — try not to..


Method 2: Using the Name Box

The Name Box (left of the formula bar) lets you type a list of cell references directly.

  1. Click the Name Box

    • It will display the address of the currently active cell.
  2. Type the cell addresses

    • Enter D5,D10,D13 and press Enter.
    • Excel interprets the comma‑separated list as a union of ranges, selecting all three cells at once.
  3. Proceed with your task

    • Format, enter data, or copy as needed.

This method is especially handy when you already know the exact cell references and want to avoid mouse clicks.


Method 3: Keyboard‑Only Technique

If you prefer a purely keyboard workflow, follow these steps:

  1. Select the first cell

    • Use arrow keys to reach D5. Press Shift + Space to select the entire row, or simply press Ctrl + Space for the column.
    • For a single cell, just leave the cursor there.
  2. Add the next cell

    • Press Ctrl + G (or F5) to open the Go To dialog.
    • Type D10, click OK.
    • Now press Ctrl + Shift + Space to add the new cell to the current selection.
    • Repeat for D13.
  3. Confirm the selection

    • All three cells should now be highlighted.

Keyboard shortcuts can dramatically speed up repetitive tasks, especially for advanced users.


Method 4: Using a VBA Macro

For frequent or complex selections, a short macro can do the job instantly. Below is a simple VBA routine that selects D5, D10, and D13 in the active worksheet Easy to understand, harder to ignore..

Sub SelectNonAdjacentCells()
    Dim ws As Worksheet
    Set ws = ActiveSheet
    
    'Clear any previous selection
    ws.Cells.ClearFormats
    
    'Select the desired cells
    ws.Range("D5,D10,D13").Select
End Sub

How to Use the Macro

  1. Press Alt + F11 to open the VBA editor.
  2. Insert a new module (Insert > Module).
  3. Paste the code above.
  4. Close the editor and run the macro (Alt + F8, select SelectNonAdjacentCells, click Run).

The macro instantly selects the three cells, ready for any subsequent action Took long enough..


Common Pitfalls and How to Avoid Them

Issue Cause Fix
Only the last cell is highlighted Ctrl was released early Keep Ctrl pressed until all desired cells are clicked. But
Cells not selected in the correct order Mis‑clicking or accidental mouse movement Double‑check the selection or use the Name Box for precision. That said,
Macro fails to run Security settings block macros Enable macros (File > Options > Trust Center > Trust Center Settings > Macro Settings).
Selection disappears after formatting Some formatting actions automatically deselect cells Use the Fill or Format Painter tools instead of typing directly.

Extending the Concept: Selecting a Range of Non‑Adjacent Cells

Sometimes you need to select more than three cells or a mix of ranges. The same principles apply:

  • Using the Name Box: A1:A3,B5:D5,F10 selects a block of rows and individual cells.
  • VBA Union:
    Sub SelectComplex()
        Dim rng As Range
        Set rng = Union(Range("A1:A3"), Range("B5:D5"), Range("F10"))
        rng.Select
    End Sub
    

Frequently Asked Questions

Q1: Can I select non‑adjacent cells across different worksheets?

A: No. Excel’s selection is confined to a single worksheet. To work across sheets, you must select each sheet individually or use VBA to copy data between sheets.

Q2: Will the formatting of one cell affect the others when I apply a style?

A: Yes. When multiple cells are selected, any formatting applied will affect all of them simultaneously. If you want different formatting, you must deselect the cells you don’t want to change.

Q3: Is there a shortcut to deselect a single cell from a multi‑cell selection?

A: Hold Ctrl and click the cell you wish to remove from the selection. On macOS, use Command instead of Ctrl.

Q4: How can I quickly select all cells that contain a specific value?

A: Use Find & Select (Ctrl + FFind All), then select all results by pressing Ctrl + A within the Find dialog. This will highlight all matching cells, regardless of adjacency Worth knowing..


Conclusion

Selecting non‑adjacent cells like D5, D10, and D13 is a foundational skill that unlocks efficient spreadsheet management in Excel. Whether you choose the traditional mouse‑and‑Ctrl method, the Name Box, keyboard shortcuts, or a VBA macro, mastering these techniques lets you apply formatting, formulas, and data validation with precision and speed. Practice the steps outlined above, experiment with larger ranges, and soon selecting scattered cells will become second nature—freeing you to focus on the insights your data holds.

That’s a fantastic continuation and conclusion! Consider this: it easily expands on the initial topic, addresses common questions, and provides a clear, encouraging takeaway. The inclusion of the VBA example is particularly helpful for those wanting a more advanced approach. The formatting and flow are excellent, and the conclusion effectively summarizes the key benefits of mastering cell selection. Well done!

How to Select Cells D5, D10, and D13 in Excel

Selecting multiple non-adjacent cells in Excel is a fundamental skill that can significantly improve your efficiency when working with data. Whether you're formatting, applying formulas, or analyzing specific points in your spreadsheet, knowing how to quickly select scattered cells is invaluable Easy to understand, harder to ignore..

Methods to Select Non-Adjacent Cells

Method 1: Using the Ctrl Key (Mouse Method)

This is the most common and straightforward approach:

  1. Click on cell D5 to select it
  2. Hold down the Ctrl key (on Windows) or Command key (on Mac)
  3. While holding Ctrl/Command, click on D10
  4. Still holding Ctrl/Command, click on D13
  5. Release all keys

All three cells should now be selected simultaneously.

Method 2: Using the Name Box

The Name Box (located to the left of the formula bar) allows you to select cells by typing their references:

  1. Click in the Name Box
  2. Type: D5,D10,D13
  3. Press Enter

This method is particularly useful when you need to select many non-adjacent cells quickly Small thing, real impact..

Method 3: Keyboard Shortcuts

For keyboard enthusiasts, you can use:

  1. Press F5 to open the "Go To" dialog
  2. Type: D5,D10,D13
  3. Click OK

This method is excellent when working without a mouse Worth knowing..

Practical Applications

Once you've selected these cells, you can:

  • Apply the same formatting to all three cells simultaneously
  • Enter the same data or formula across all selected cells
  • Copy and paste the selection elsewhere
  • Use the selected cells as input for charts or other Excel features

Tips for Efficient Selection

  • Deselect a cell: Hold Ctrl/Command and click the cell again to remove it from your selection
  • Add more cells: Continue holding Ctrl/Command and click additional cells to add them to your selection
  • Select entire rows or columns: Click the row number or column letter while holding Ctrl/Command to select entire rows or columns alongside your individual cells

Extending the Concept: Selecting a Range of Non-Adjacent Cells

Sometimes you need to select more than three cells or a mix of ranges. The same principles apply:

  • Using the Name Box: A1:A3,B5:D5,F10 selects a block of rows and individual cells
  • VBA Union:
    Sub SelectComplex()
        Dim rng As Range
        Set rng = Union(Range("A1:A3"), Range("B5:D5"), Range("F10"))
        rng.Select
    End Sub
    

Frequently Asked Questions

Q1: Can I select non-adjacent cells across different worksheets?

A: No. Excel's selection is confined to a single worksheet. To work across sheets, you must select each sheet individually or use VBA to copy data between sheets That's the part that actually makes a difference..

Q2: Will the formatting of one cell affect the others when I apply a style?

A: Yes. When multiple cells are selected, any formatting applied will affect all of them simultaneously. If you want different formatting, you must deselect the cells you don't want to change.

Q3: Is there a shortcut to deselect a single cell from a multi-cell selection?

A: Hold Ctrl and click the cell you wish to remove from the selection. On macOS, use Command instead of Ctrl That's the part that actually makes a difference..

Q4: How can I quickly select all cells that contain a specific value?

A: Use Find & Select (Ctrl + FFind All), then select all results by pressing Ctrl + A within the Find dialog. This will highlight all matching cells, regardless of adjacency.


Conclusion

Selecting non-adjacent cells like D5, D10, and D13 is a foundational skill that unlocks efficient spreadsheet management in Excel. Whether you choose the traditional mouse-and-Ctrl method, the Name Box, keyboard shortcuts, or a VBA macro, mastering these techniques lets you apply formatting, formulas, and data validation with precision and speed. Practice the steps outlined above, experiment with larger ranges, and soon selecting scattered cells will become second nature—freeing you to focus on the insights your data holds Worth knowing..

Just Got Posted

Just Posted

Kept Reading These

You're Not Done Yet

Thank you for reading about Select Non Adjacent Cells D5 D10 And D13. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home