KutoolsforOffice — One Suite. Five Tools. Get More Done.

How to quickly deselect cells from a selected range in Excel?

AuthorKellyLast modified

When working with large datasets in Excel, it’s common to select a large range first and then realize that some cells, rows, or columns should not be included.

For example, you may want to:

  • Exclude totals or header rows from formatting
  • Prevent certain cells from being modified during batch editing
  • Remove accidentally selected areas from a large selection
  • Keep specific rows or columns unchanged when applying operations

Unfortunately, Excel does not provide a direct way to remove selected cells from an existing selection. In most cases, users have to cancel the selection and start over again, which becomes frustrating and time-consuming for complex or non-adjacent ranges. In this tutorial, you’ll learn several practical ways to deselect cells from an existing selection in Excel:


Deselect cells manually with Ctrl in Excel

If you only need to remove a few cells from a selected range, Excel provides a simple built-in way to deselect them using the Ctrl key.

This method is suitable for small worksheets or quick adjustments. However, when working with large datasets or complex selections, repeatedly holding Ctrl and manually deselecting cells can become inconvenient and difficult to manage.

Step 1: Select the main range

First, select the range you want to work with.

For example:

  • Select A1:H20
  • Then realize some cells or rows should not be included
    a screenshot of deselecting the main range

Step 2: Hold Ctrl and click the cells you want to deselect

Press and hold the Ctrl key.

Then:

  • Click selected cells to remove them from the selection
  • Or drag across selected ranges to deselect multiple cells at once
    a screenshot of deselecting cells from selected ranges with ctrl

Excel will keep the remaining cells selected.

If you frequently need to refine selections interactively, the Kutools method below provides a much faster and more intuitive solution.


Quickly deselect cells from a selected range with Kutools for Excel

If you frequently work with large or complex selections, Kutools for Excel provides the easiest and most intuitive solution. Its upgraded Select Range Helper pane allows you to directly remove unwanted cells or ranges from the current selection interactively.

Kutools for Excel - Packed with over 300 essential tools for Excel. Make Excel tasks faster, easier, and more efficient. Download now!

After selecting the main range where you want to work with, if you want to deselect some cells from it, do as follows.

Steps

  1. Click Kutools > Select > Select Range Helper.
    a screenshot of enabling the select range helper feature
  2. The helper pane will appear on the right side of the worksheet. In the pane, select Deselect Cells.
    a screenshot of enable the Deselect Cells mode
  3. Then simply click or drag over the cells or ranges you want to remove from the current selection.
    a screenshot of deselecting cells from selected ranges with kutools
  4. Once finished, change the option to General or close the pane.

That's it. Without holding down any keys, simply enable the Deselect Cells option, then click or drag across the cells you want to remove from the current selection. The remaining cells stay selected automatically, making the entire process fast, visual, and effortless.

Kutools for Excel - Supercharge Excel with over 300 essential tools, making your work faster and easier, and take advantage of AI features for smarter data processing and productivity. Get It Now


Deselect cells from a selected range with VBA

Excel VBA can simulate a “deselect” operation by subtracting specified cells from the current selection.

This method is useful for advanced users who frequently work with large datasets and want a reusable solution. However, it requires opening the VBA editor and running macros manually, which may not be convenient for everyday Excel users.

Steps

  1. Press Alt + F11 to open the Microsoft Visual Basic for Applications window.
  2. Click Insert > Module. Then paste the following VBA code into the module window.
    VBA code: Deselect cells from current selection
    Sub UnSelectCell()
    
    'Update by ExtendOffice
    Dim rng As Range
    Dim InputRng As Range
    Dim DeleteRng As Range
    Dim OutRng As Range
    Dim xTitleId As String
    
    xTitleId = "Kutools for Excel"
    
    Set InputRng = Application.Selection
    
    Set InputRng = Application.InputBox( _
        "Select the original range:", _
        xTitleId, _
        InputRng.Address, _
        Type:=8)
    
    Set DeleteRng = Application.InputBox( _
        "Select the cells to deselect:", _
        xTitleId, _
        Type:=8)
    
    For Each rng In InputRng
    
        If Application.Intersect(rng, DeleteRng) Is Nothing Then
    
            If OutRng Is Nothing Then
                Set OutRng = rng
            Else
                Set OutRng = Application.Union(OutRng, rng)
            End If
    
        End If
    
    Next
    
    OutRng.Select
    
    End Sub
  3. Press F5 to run the macro.
  4. In the first dialog box, select the main range you want to work with. Then click OK.
    a screenshot of selecting the main range after running the code
  5. In the second dialog box, select the range you want to remove from the selection. Click OK.
    a screenshot of deselecting cells from selected ranges
  6. A confirmation dialog box will appear asking: Continue selecting ranges to deselect?
    • Click Yes to keep selecting more ranges.
    • Click No when finished.
    a screenshot of continually deselecting cells from selected ranges

After finishing the selection process, Excel automatically removes all excluded ranges from the original selection and keeps the remaining cells selected.

a screenshot of the selecting result

Conclusion

Excel provides limited ways to refine existing selections, especially for complex or large ranges. While Ctrl and VBA can help in certain situations, Kutools for Excel offers the simplest and most efficient solution. With its interactive Select Range Helper pane, you can quickly deselect cells visually without restarting your selection or using complicated steps.


Best Office Productivity Tools

🤖Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |  Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |  Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!

All Kutools add-ins. One installer

Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.

ExcelWordOutlookTabsPowerPoint
  • All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
  • One installer, one license — set up in minutes (MSI-ready)
  • Works better together — streamlined productivity across Office apps
  • 30-day full-featured trial — no registration, no credit card
  • Best value — save vs buying individual add-in