Ana içeriğe atla

Değerleri yalnızca Excel'de görünen / filtrelenmiş hücrelere nasıl yapıştırabilirim?

Excel'de, verileri filtrelediyseniz veya bazı hücreleri gizlediyseniz ve değerleri filtrelenmiş veya gizli aralığa yapıştırdığınızda, gizli hücreler de yapıştırılan değerlerle doldurulacaktır. Burada, değerleri yalnızca Excel'de görünen hücrelere yapıştırmak için bazı püf noktaları anlatacağım.

VBA ile değerleri görünür hücrelere yapıştırın

Kutools for Excel'in Görünür Aralığına Yapıştır ile değerleri görünür hücrelere yapıştırın iyi fikir3


VBA ile değerleri görünür hücrelere yapıştırın

Excel'de, bu sorunu VBA dışında çözmenin başka yolu yoktur.

1. Basın Alt + F11 aynı anda tuşlar ve Uygulamalar için Microsoft Visual Basic pencere açılır.

2. tık Ekle > modül, ardından açılan Modül penceresine VBA kodunun altına yapıştırın.

VBA: Değerleri yalnızca görünür hücrelere yapıştırın.

Sub CopyFilteredCells()
	'Updateby20150203
	Dim rng1 As Range
	Dim rng2 As Range
	Dim InputRng As Range
	Dim OutRng As Range
	xTitleId     = "KutoolsforExcel"
	Set InputRng = Application.Selection
	Set InputRng = Application.InputBox("Copy Range :", xTitleId, InputRng.Address, Type: = 8)
	Set OutRng   = Application.InputBox("Paste Range:", xTitleId, Type: = 8)
	For Each rng1 In InputRng
		rng1.Copy
		For Each rng2 In OutRng
			If rng2.EntireRow.RowHeight > 0 Then
				rng2.PasteSpecial
				Set OutRng = rng2.Offset(1).Resize(OutRng.Rows.Count)
				Exit For
			End If
		Next
	Next
	Application.CutCopyMode = False
End Sub

3. tık F5 tuşu veya koşmak düğmesi, ardından kopyalanacak değerleri seçmeniz için bir iletişim kutusu açılır. Ekran görüntüsüne bakın:
doc-yapıştırma-görünür-hücre-1

4. Değerleri seçtikten sonra tıklayın OK, ardından seçilen verilerin yapıştırılacağı aralığı seçmek için başka bir iletişim kutusu açılır. Ekran görüntüsüne bakın:
doc-yapıştırma-görünür-hücre-2

5. tık OK. Yalnızca görünen hücrelerin seçilen değerlerin yapıştırıldığını görebilirsiniz.


Kutools for Excel'in Görünür Aralığına Yapıştır ile değerleri görünür hücrelere yapıştırın

Aslında kullanırsan Görünür Aralığa Yapıştır yarar Kutools for Excel - kullanışlı bir Excel aracı, değerleri görünür aralığa yapıştırma sorununu hızlı ve kolay bir şekilde çözebilirsiniz.
doc görünen hücreyi yapıştırın

Kutools for Excel, ile daha fazla 300 kullanışlı fonksiyonlar, işlerinizi daha kolay hale getirir. 

Kurduktan sonra Kutools for Excel, lütfen aşağıdaki işlemleri yapın:(Şimdi Excel için Kutools'u Ücretsiz İndirin!)

1. Kopyalamak ve yapıştırmak istediğiniz bir dizi değer seçin ve ardından Kutools > Aralık > Görünür Aralığa Yapıştır > Türkiye or Yalnızca Değerleri Yapıştır. Ekran görüntüsüne bakın:
doc görünen hücreyi yapıştırın

2. Sonra a Görünür Aralığa Yapıştır iletişim kutusu açılır ve değerleri yapıştırmak istediğiniz aralığı seçin. Ekran görüntüsüne bakın:
doc görünen hücreyi yapıştırın

3. tık OK. Şimdi seçilen değerler yalnızca görünür aralığa yapıştırılır.

Yalnızca değerleri görünür hücrelere yapıştır Tümünü görünür hücrelere yapıştır
doc görünen hücreyi yapıştırın doc görünen hücreyi yapıştırın


Not:
Bu yardımcı program hem gizli hem de filtrelenmiş satırlar veya sütunlar üzerinde çalışır

Görünür Aralığa Yapıştır yardımcı programı hakkında daha ayrıntılı bilgi için burayı tıklayın.

  Yalnızca Görünür Hücrelere Yapıştır

En İyi Ofis Üretkenlik Araçları

🤖 Kutools AI Yardımcısı: Aşağıdakilere dayalı olarak veri analizinde devrim yaratın: Akıllı Yürütme   |  Kodunu oluşturun  |  Özel Formüller Oluşturun  |  Verileri Analiz Edin ve Grafikler Oluşturun  |  Kutools İşlevlerini Çağır...
Popüler Özellikler: Yinelenenleri Bul, Vurgula veya Tanımla   |  Boş Satırları Sil   |  Veri Kaybı Olmadan Sütunları veya Hücreleri Birleştirin   |   Formülsüz Tur ...
Süper Arama: Çoklu Ölçütlü VLookup    Çoklu Değer VLookup  |   Birden Çok Sayfada VLookup   |   Bulanık Arama ....
Gelişmiş Açılır Liste: Hızla Açılır Liste Oluşturun   |  Bağımlı Açılır Liste   |  Çoklu Seçim Açılır Liste ....
Sütun Yöneticisi: Belirli Sayıda Sütun Ekleme  |  Sütunları Taşı  |  Gizli Sütunların Görünürlük Durumunu Değiştir  |  Aralıkları ve Sütunları Karşılaştırın ...
Öne Çıkan Özellikler: Izgara Odağı   |  Tasarım görünümü   |   Büyük Formül Çubuğu    Çalışma Kitabı ve Sayfa Yöneticisi   |  Kaynak Kütüphanesi (Otomatik metin)   |  Tarih Seçici   |  Çalışma Sayfalarını Birleştirin   |  Hücreleri Şifrele/Şifresini Çöz    E-postaları Listeye Göre Gönder   |  Süper Filtre   |   Özel Filtre (kalın/italik/üstü çizili filtre...) ...
En İyi 15 Araç Seti12 Metin Tools (Metin ekle, Karakterleri Kaldır, ...)   |   50+ Grafik Türleri (Gantt şeması, ...)   |   40+ Pratik Formüller (Yaşı doğum gününe göre hesapla, ...)   |   19 sokma Tools (QR Kodunu Girin, Yoldan Resim Ekle, ...)   |   12 Dönüştürme Tools (Sayılardan Kelimelere, Para Birimi Dönüştürme, ...)   |   7 Birleştir ve Böl Tools (Gelişmiş Kombine Satırları, Bölünmüş hücreler, ...)   |   ... ve dahası

Kutools for Excel ile Excel Becerilerinizi Güçlendirin ve Daha Önce Hiç Olmadığı Gibi Verimliliği Deneyimleyin. Kutools for Excel, Üretkenliği Artırmak ve Zamandan Tasarruf Etmek için 300'den Fazla Gelişmiş Özellik Sunar.  En Çok İhtiyacınız Olan Özelliği Almak İçin Buraya Tıklayın...

Açıklama


Office Tab, Office'e Sekmeli Arayüz Getirir ve İşinizi Çok Daha Kolay Hale Getirir

  • Word, Excel, PowerPoint'te sekmeli düzenlemeyi ve okumayı etkinleştirin, Publisher, Access, Visio ve Project.
  • Yeni pencereler yerine aynı pencerenin yeni sekmelerinde birden çok belge açın ve oluşturun.
  • Üretkenliğinizi% 50 artırır ve her gün sizin için yüzlerce fare tıklamasını azaltır!
Comments (22)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thank you very much hundred times
This comment was minimized by the moderator on the site
After going absolutely crazy trying to find a solution, this worked - specifically, the macro for pasting INTO visible only cells. Note that I was copying only from unfiltered cells. However, the people complaining that it doesn't do both (which I'm not sure is true) should be quiet because it's pretty easy to copy FROM only visible/filtered cells into an unfiltered area. You don't need a macro for that (and if you're trying to do both, just do the copying of filtered cells in Excel first, then use this macro). Again, what Excel is fully unable to do on its own without a macro is to paste to visible cells only. This macro saved my bum. Thanks!
This comment was minimized by the moderator on the site
Thanks for your recognition.
This comment was minimized by the moderator on the site
This worked perfectly, thanks!
This comment was minimized by the moderator on the site
You can also easily do this without a plugin....
CTRL+C the cells you want to paste
Highlight the filtered/partially hidden range you're pasting to
CTRL+G
Select "Special"
Select "Visible Cells Only" & hit OK
CTRL+V
This comment was minimized by the moderator on the site
Thansk for you reply, but it does not work. With your method, it paste all cells including hidden ones with the copied values.
This comment was minimized by the moderator on the site
VBA method did not work! It copied the invisible cells into the visible cells. Now, I realize that the title doesn't say "How to paste values FROM VISIBLE/FILTERED CELLS to visible/filtered cells only in Excel?" but if my workbook is filtered, it's highly possible that this is what is needed. If this is what you want - copy from one section to another (or to simply paste values from certain cells right back to the same cells, so to remove the fomulas) you first need to copy/paste values to an unfiltered workbook/worksheet. THEN you can use the macro...or at least I hope you can. I didn't save my data and UNDO does not work....
This comment was minimized by the moderator on the site
I am sorry for that.
This comment was minimized by the moderator on the site
So is there any update version for this situation?
This comment was minimized by the moderator on the site
It is even more flexible and functional if the inner loop is constructed with Do While loop.
This comment was minimized by the moderator on the site
This was very helpful. Many thanks.
This comment was minimized by the moderator on the site
i am currently developing a macro. In that i need to do filter for a particular column for Eg: Column D and need to paste some values Eg: Valid in column B. only i need to paste the value for the filtered cells. And also i want to know the coding for multiple filters at a time. EG: filtering in one column and checking the value and again do filter in another column without making false for the previous filter. help me on this.
This comment was minimized by the moderator on the site
This works great up to record 1163 of 23,000 and then it stops. Why would it stop?
This comment was minimized by the moderator on the site
You rock! I've had this issue multiple times in the past but it became a back-breaker for the recent project. And you've helped me to fix it beautifully. THANK YOU!
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations