मुख्य सामग्री पर जाएं

केवल Excel में दृश्यमान/फ़िल्टर किए गए कक्षों में मान कैसे चिपकाएँ?

लेखक: रवि अंतिम संशोधित: 2023-07-05

एक्सेल में, यदि आपने डेटा फ़िल्टर किया है या कुछ सेल छिपाए हैं, और जब आप फ़िल्टर किए गए या छिपे हुए रेंज में मान पेस्ट करते हैं, तो छिपे हुए सेल भी चिपकाए गए मानों से भर जाएंगे। यहां मैं आपको केवल एक्सेल में दृश्यमान कोशिकाओं में मान चिपकाने की कुछ तरकीबें बताऊंगा।

VBA के साथ दृश्यमान कक्षों में मान चिपकाएँ

एक्सेल के लिए कुटूल्स की दृश्यमान रेंज में पेस्ट के साथ दृश्यमान कोशिकाओं में मान चिपकाएँ अच्छा विचार3


VBA के साथ दृश्यमान कक्षों में मान चिपकाएँ

एक्सेल में, VBA के अलावा इस समस्या को हल करने का कोई अन्य तरीका नहीं है।

1। दबाएँ ऑल्ट + F11 एक साथ चाबियाँ, और ए अनुप्रयोगों के लिए माइक्रोसॉफ्ट विज़ुअल बेसिक खिड़की चबूतरे.

2। क्लिक करें सम्मिलित करें > मॉड्यूल, फिर VBA कोड के नीचे पॉपिंग मॉड्यूल विंडो पर पेस्ट करें।

वीबीए: मानों को केवल दृश्यमान कोशिकाओं पर चिपकाएँ।

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। क्लिक करें F5 कुंजी या रन बटन, फिर आपके लिए कॉपी करने के लिए मानों का चयन करने के लिए एक संवाद पॉप आउट हो रहा है। स्क्रीनशॉट देखें:
दस्तावेज़-पेस्ट-टू-विज़िबल-सेल-1

4. मान चुनने के बाद क्लिक करें OK, फिर चयनित डेटा को पेस्ट करने के लिए एक श्रेणी का चयन करने के लिए एक और संवाद पॉप आउट होता है। स्क्रीनशॉट देखें:
दस्तावेज़-पेस्ट-टू-विज़िबल-सेल-2

5। क्लिक करें OK. आप देख सकते हैं कि केवल दृश्यमान सेल में ही चयनित मान चिपकाए गए हैं।


एक्सेल के लिए कुटूल्स की दृश्यमान रेंज में पेस्ट के साथ दृश्यमान कोशिकाओं में मान चिपकाएँ

दरअसल, यदि आप उपयोग करते हैं दृश्यमान सीमा तक चिपकाएँ की उपयोगिता एक्सेल के लिए कुटूल - एक आसान एक्सेल टूल, आप दृश्य सीमा पर मान चिपकाने की समस्या को जल्दी और आसानी से हल कर सकते हैं।
दस्तावेज़ पेस्ट दृश्यमान सेल 6

एक्सेल के लिए कुटूल, से अधिक के साथ 300 सुविधाजनक कार्य, आपके कार्यों को और अधिक आसान बनाते हैं। 

स्थापित करने के बाद एक्सेल के लिए कुटूल, कृपया नीचे दिए अनुसार कार्य करें:(अब एक्सेल के लिए नि:शुल्क कुटूल डाउनलोड करें!)

1. उन मानों की श्रेणी का चयन करें जिन्हें आप कॉपी और पेस्ट करना चाहते हैं, फिर क्लिक करें कुटूल > रेंज > दृश्यमान सीमा तक चिपकाएँ > सब or केवल मान चिपकाएँ. स्क्रीनशॉट देखें:
दस्तावेज़ पेस्ट दृश्यमान सेल 7

2. फिर ए दृश्यमान सीमा तक चिपकाएँ संवाद पॉप आउट हो जाता है, और उस श्रेणी का चयन करें जिसमें आप मान चिपकाना चाहते हैं। स्क्रीनशॉट देखें:
दस्तावेज़ पेस्ट दृश्यमान सेल 8

3। क्लिक करें OK. अब चयनित मान केवल दृश्यमान श्रेणी में चिपकाए जाते हैं।

दृश्यमान कोशिकाओं पर केवल मान चिपकाएँ सभी को दृश्यमान कोशिकाओं पर चिपकाएँ
दस्तावेज़ पेस्ट दृश्यमान सेल 9 दस्तावेज़ पेस्ट दृश्यमान सेल 10


नोट:
यह उपयोगिता छिपी हुई और फ़िल्टर की गई पंक्तियों या स्तंभों दोनों पर काम करती है

पेस्ट टू विज़िबल रेंज उपयोगिता के बारे में अधिक विस्तृत जानकारी के लिए यहां क्लिक करें।

  केवल दृश्यमान कोशिकाओं पर चिपकाएँ

सर्वोत्तम कार्यालय उत्पादकता उपकरण

🤖 कुटूल्स एआई सहयोगी: निम्न के आधार पर डेटा विश्लेषण में क्रांति लाएं: बुद्धिमान निष्पादन   |  कोड जनरेट करें  |  कस्टम फ़ॉर्मूले बनाएं  |  डेटा का विश्लेषण करें और चार्ट बनाएं  |  कुटूल फ़ंक्शंस का आह्वान करें...
लोकप्रिय सुविधाएँ: डुप्लिकेट ढूंढें, हाइलाइट करें या पहचानें   |  रिक्त पंक्तियाँ हटाएँ   |  डेटा खोए बिना कॉलम या सेल को संयोजित करें   |   फॉर्मूला के बिना गोल ...
सुपर लुकअप: एकाधिक मानदंड VLookup    मल्टीपल वैल्यू वीलुकअप  |   अनेक शीटों में VLookup   |   फजी लुकअप ....
उन्नत ड्रॉप-डाउन सूची: शीघ्रता से ड्रॉप डाउन सूची बनाएं   |  आश्रित ड्रॉप डाउन सूची   |  बहु-चयन ड्रॉप डाउन सूची ....
स्तम्भ प्रबंधक: कॉलमों की एक विशिष्ट संख्या जोड़ें  |  कॉलम ले जाएँ  |  छिपे हुए कॉलम की दृश्यता स्थिति टॉगल करें  |  रेंज और कॉलम की तुलना करें ...
फीचर्ड फीचर्स: ग्रिड फोकस   |  डिजाइन देखें   |   बड़ा फॉर्मूला बार    कार्यपुस्तिका एवं शीट प्रबंधक   |  संसाधन लाइब्रेरी (ऑटो टेक्स्ट)   |  खजूर बीनने वाला   |  कार्यपत्रकों को संयोजित करें   |  एन्क्रिप्ट/डिक्रिप्ट सेल    सूची के अनुसार ईमेल भेजें   |  सुपर फ़िल्टर   |   विशेष फ़िल्टर (फ़िल्टर बोल्ड/इटैलिक/स्ट्राइकथ्रू...) ...
शीर्ष 15 टूलसेट12 टेक्स्ट टूल्स (पाठ जोड़ें, अक्षर हटाएँ, ...)   |   50 + चार्ट प्रकार (गैन्ट चार्ट, ...)   |   40+ प्रैक्टिकल सूत्र (जन्मदिन के आधार पर आयु की गणना करें, ...)   |   19 निवेशन टूल्स (QR कोड डालें, पथ से चित्र सम्मिलित करें, ...)   |   12 रूपांतरण टूल्स (शब्दों को संख्याएँ, मुद्रा रूपांतरण, ...)   |   7 विलय और विभाजन टूल्स (उन्नत संयोजन पंक्तियाँ, विभाजन कोशिकाओं, ...)   |   ... और अधिक

एक्सेल के लिए कुटूल के साथ अपने एक्सेल कौशल को सुपरचार्ज करें, और पहले जैसी दक्षता का अनुभव करें। एक्सेल के लिए कुटूल उत्पादकता बढ़ाने और समय बचाने के लिए 300 से अधिक उन्नत सुविधाएँ प्रदान करता है।  वह सुविधा प्राप्त करने के लिए यहां क्लिक करें जिसकी आपको सबसे अधिक आवश्यकता है...

Description


ऑफिस टैब ऑफिस में टैब्ड इंटरफ़ेस लाता है, और आपके काम को बहुत आसान बनाता है

  • Word, Excel, PowerPoint में टैब्ड संपादन और रीडिंग सक्षम करें, प्रकाशक, एक्सेस, विसियो और प्रोजेक्ट।
  • नई विंडो के बजाय एक ही विंडो के नए टैब में एकाधिक दस्तावेज़ खोलें और बनाएं।
  • आपकी उत्पादकता 50% बढ़ जाती है, और आपके लिए हर दिन सैकड़ों माउस क्लिक कम हो जाते हैं!
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