Click & drag for visible cells only

niravrph

New Member
Joined
Apr 13, 2011
Messages
41
Hi,

I want to copy & paste (click & drag) a formula but have it apply to the visible cells/rows only. I have hidden a bunch of rows that I do not want the formula to apply to. How can I do this?

Thanks!
NIRAV
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hi Nirav,

One option:

  • Copy the cell (Ctrl-C).
  • Select the area you want to paste it to.
  • Press F5>Special...>Visible cells only>OK
  • Paste (Ctrl-V)
 
Upvote 0
Thank you for the reply. I followed your directions but I must be doing something wrong because when I click on F5>Special...>Visible cells only, it highlights the entire page and then when doing Ctrl-V, it tries to copy the formula to every cell in the worksheet! Obviously that's not right. Where is my error?

Thanks,
NIRAV
 
Upvote 0
Thats weird. These are the steps I would do:

  • Copy the cell you want to copy.
  • With the hidden rows hidden, select the entire range you want to copy to.
  • Press Alt>; (that's the shortcut for visible cells only). This should now select the visible cells only (you should notice a change in the selection with small gaps near the hidden cells)
  • Paste, while the cells are still highlighted

If those are the steps you've followed, I'm really not sure why it would select everything, sorry! (I've tried it on Excel 2010 and it seems to work as expected).
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,558
Members
452,928
Latest member
101blockchains

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top