Copy Visible Cells Only in Excel (2024)

When you’re working with the data set that has hidden rows, and you select and copy the cells in this dataset, it is going to copy the visible cells as well as the hidden cells.

That’s the default behavior in Excel.

But what if you only want to copy the visible cells (and not the hidden cells)?

Thankfully, it’s pretty easy and can be done with a very simple keyboard shortcut or an inbuilt feature in Excel.

Let me show you how it works.

This Tutorial Covers:

Click here to download the file and follow along

Shortcut to Copy Visible Cells

There’s a special keyboard shortcut in Excel to select only the visible cells in a data set. Once these visible cells are selected, you can easily copy them using the regular Control + C (or right-click and Copy).

And below is that shortcut (both Windows and Mac)

Windows - ALT + ; (semicolon)
Mac - Command + Shift + Z

Now, let me show you how it works.

Below, I have a data set where I have some rows hidden:

Copy Visible Cells Only in Excel (1)

Here are the steps to copy only the visible cells:

  1. Select all the visible cells that you want to copy. In this example, I will select A2:C8.
  2. Hold the ALT key and press the Semicolon key (or use Command + Shift + Z if using a Mac). As soon as you do this, you will notice a thin white border wherever there are hidden rows (as shown below). This indicates that only the visible cells have been selected, and the hidden cells have not been selected.
Copy Visible Cells Only in Excel (2)
  1. Copy the cells using Control + C (or right-click on the selection and then click on the Copy option). You will notice that the green marching ants lines appear around the overall data set as well as in between the data set wherever there are hidden rows.
Copy Visible Cells Only in Excel (3)
  1. Go to the destination cell and paste this using Control + V (or right-click and then click on the Paste option)

Pro Tip: Do you know that if you have a filtered dataset and you select the visible cells and use Control + C, the filtered rows that are not visible won’t be copied? But if you have hidden rows, those would be copied.

Also read: How to Select Non-adjacent Cells in Excel?

Copy Visible Cells Only Using Go To Special Dialog Box

If you don’t want to remember a keyboard shortcut, here is another way to copy only the visible cells.

Below, I have a data set with some rows hidden, and I want to copy only visible rows.

Copy Visible Cells Only in Excel (4)

Here are the steps to copy only the visible cells:

  1. Select all the visible cells that you want to copy.
  2. Press the F5 key on your keyboard. This will open the ‘Go To’ dialog box.
  3. Click on the ‘Special’ button in the Go To dialog box. This will open the ‘Go To Special’ dialog box.
Copy Visible Cells Only in Excel (5)
  1. Select the ‘Visible cells only’ option in the Go To Special dialog box.
Copy Visible Cells Only in Excel (6)
  1. Click Ok.
  2. Copy the cells using Control + C (or right-click on the selection, then click on the Copy option)
Copy Visible Cells Only in Excel (7)
  1. Go to the destination cell and paste this using Control + V (or right-click and then click on the Paste option)

Note: You can also open the Go To Special dialog box by clicking on the Home tab, then clicking on the ‘Find and Select’ option in the Editing group, and then clicking on the ‘Go To Special’ option.

Also read: Select Till End of Data in a Column in Excel (Shortcuts)

Add an Icon to Copy Visible Cells to the Quick Access Toolbar

If copying visible cells is something you need to do quite often, you can add the option to Select Visible Cells only in the Quick Access Toolbar (QAT).

This way, whenever you want to copy only visible cells, you can select the dataset and then click on the Select Visible Cells icon in the Quick Access Toolbar. Once done, you can then easily copy only the selected visible cells.

Below are the steps to add the Select Visible Cells only icon to the Quick Access Toolbar:

  1. Click on the Customize Quick Access Toolbar icon. It’s the downward pointing arrow after all the icons in the QAT.
Copy Visible Cells Only in Excel (8)
  1. Click on the More Commands option.
Copy Visible Cells Only in Excel (9)
  1. In the Choose commands from dropdown, click on All Commands.
Copy Visible Cells Only in Excel (10)
  1. Scroll down in the options and click on the Select Visible Cells option.
Copy Visible Cells Only in Excel (11)
  1. Click on the add button to add this option to the Quick Access Toolbar.
Copy Visible Cells Only in Excel (12)
  1. Click Ok.

The above steps would add the select visible cells icon to the QAT.

Copy Visible Cells Only in Excel (13)

Now, when you want to copy only the visible cells in a dataset, select the dataset, click on the Select Visible Cells icon in the QAT, and then use Control + C to copy only the visible cells.

So these are three simple methods you can use to quickly copy visible cells or rows/columns in a data set in Excel.

I hope you found this Excel article useful.

I would love to hear your thoughts in the comments section below. Also, if you know of any other method you can use to copy only the visible cells in Excel, do share it with us all.

Other Excel articles you may also like:

  • How to Count Filtered Rows in Excel?
  • Paste into Filtered Column (Skipping Hidden Cells) in Excel
  • Fill Down Blank Cells Until the Next Value in Excel
  • 7 Easy Ways to Select Multiple Cells in Excel
  • Select Till End of Data in a Column in Excel (Shortcuts)
  • Remove Dashes in Excel
  • Select a Far-off Excel Cell or Range
  • How to Swap Cells in Excel?
Copy Visible Cells Only in Excel (2024)

FAQs

Copy Visible Cells Only in Excel? ›

Select Visible Cells using a Keyboard Shortcut

The easiest way to select visible cells in Excel is by using the following keyboard shortcut: For windows: ALT + ; (hold the ALT key and then press the semicolon key) For Mac: Cmd+Shift+Z.

How do you select only visible cells in Excel? ›

Select Visible Cells using a Keyboard Shortcut

The easiest way to select visible cells in Excel is by using the following keyboard shortcut: For windows: ALT + ; (hold the ALT key and then press the semicolon key) For Mac: Cmd+Shift+Z.

What is the shortcut for copy only visible in Excel? ›

To copy only the visible cells using shortcut keys, select the data first. Now, press Alt+;. All the operation you perform after pressing Alt+; only pertains to the visible cells.

How to paste skipping hidden rows? ›

Paste Skipping Hidden/Filtered Cells and Rows
  1. First, select the range of cells where you want to paste the data and click Alt +; to activate the filter. Select Cells > Alt + ;.
  2. Then enter the formula as =A2 and click Ctrl + Enter to complete the task. ...
  3. This is how you can paste hidden or filtered cells and rows in Excel.
Sep 6, 2023

How do you add only visible cells in Excel formula? ›

Sum Only Visible Cells in Excel

Use the formula =SUBTOTAL(109, reference), where 109 is the function number for summing and reference is the range of cells you wish to sum. SUBTOTAL also has the capability to disregard manually hidden rows.

How do I only show select cells in Excel? ›

Filter data in a table
  1. Select the column header arrow. for the column you want to filter.
  2. Uncheck (Select All) and select the boxes you want to show.
  3. Select OK. The column header arrow changes to a. Filter icon. Select this icon to change or clear the filter.

How do I select and delete only visible cells in Excel? ›

How to Delete Visible Filter Rows in Excel using Go To Special
  1. Step 1: Select Visible Cells. Select visible cells, then press F5 to load the Go To dialog, and click Special.
  2. Step 2: Select Visible Cells Only and Click Ok. ...
  3. Step 3: Right Click to open the menu and Choose Delete Rows. ...
  4. Step 4: Preview Result.
7 days ago

How to copy only cells with data in Excel? ›

Select the cells that contain the data or other attributes that you want to copy. Click the first cell in the area where you want to paste what you copied. On the Home tab, click the arrow next to Paste, and then select Paste Special. Select the options you want.

How do I copy and paste selected rows in Excel? ›

Procedure
  1. Select the row or column that you want to move or copy.
  2. On the Home tab, in the Clipboard group, click Copy. or press Ctrl+C.
  3. Select the upper-left cell of the paste area or the cell where you want to paste the value, cell format, or formula.
  4. On the Home tab, in the Clipboard group, click the arrow below Paste.

How do you get rid of duplicates in Excel? ›

Remove duplicate values

Select the range of cells that has duplicate values you want to remove. Tip: Remove any outlines or subtotals from your data before trying to remove duplicates. Select Data > Remove Duplicates, and then under Columns, check or uncheck the columns where you want to remove the duplicates.

How to copy only visible cells? ›

Click Home > Find & Select, and pick Go To Special. Click Visible cells only > OK. Click Copy (or press Ctrl+C).

How to select only visible cells in Excel shortcut? ›

Like a lot of useful actions in Excel, there is a keyboard shortcut for this. After highlighting the entire range, press ALT + ; and only the visible cells will be selected. Once the visible cells have been selected, you can now copy just those cells.

How to paste without hidden cells in Google Sheets? ›

Click to select the start cell. Go to 'Edit' > 'Paste special' to see more pasting options. Select 'Paste Values Only' or 'Paste Format Only' to Exclude Hidden Data.

What is the shortcut button for visible cells only? ›

Like a lot of useful actions in Excel, there is a keyboard shortcut for this. After highlighting the entire range, press ALT + ; and only the visible cells will be selected. Once the visible cells have been selected, you can now copy just those cells.

How do you paste into visible cells only in Excel Mac? ›

Once you select the range go to Edit> Find> Go To - Special & select the Visible Cells Only option then copy. [Note: If you need to do this frequently a keyboard shortcut can be assigned to the Select Visible Cells command which also can be added to the Ribbon as well as to the QAT.

How do I copy and paste only cells with values? ›

How to copy values in Excel
  1. Select the cell(s) with formulas and press Ctrl + C to copy them.
  2. Select the destination range. If you don't need to keep the formulas, you can select the same range that you've just copied (cells with formulas).
  3. Press Excel's paste values shortcut: Ctrl + Alt + V, then V.
  4. Press Enter.
Mar 20, 2023

Top Articles
Latest Posts
Article information

Author: Lidia Grady

Last Updated:

Views: 5745

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.