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

एक्सेल में सेल वैल्यू के आधार पर पंक्तियों को कैसे छिपाएं?

लेखक: रवि अंतिम संशोधित: 2020-04-26

मान लीजिए कि आपके पास डेटा की एक श्रृंखला है, और आप कॉलम मान के आधार पर पंक्तियों को छिपाना चाहते हैं, उदाहरण के लिए, यदि कॉलम का सेल मान 3000 से छोटा है, तो नीचे दिखाए गए स्क्रीनशॉट के अनुसार सेल की पंक्ति को छुपाएं।


Excel में, आप सेल मान के आधार पर पंक्तियों को फ़िल्टर करने और छिपाने के लिए फ़िल्टर फ़ंक्शन का उपयोग कर सकते हैं।

1. वह डेटा चुनें जिसे आप फ़िल्टर करना चाहते हैं, और क्लिक करें जानकारी > फ़िल्टर. स्क्रीनशॉट देखें:

दस्तावेज़ मान 2 के आधार पर पंक्तियाँ छिपाएँ

2. फिर फ़िल्टर ड्रॉप डाउन सूची प्रदर्शित करने के लिए डाउन एरो पर क्लिक करें और क्लिक करें संख्या फ़िल्टर (या पाठ फ़िल्टर) > से अधिक (आप सबमेनू से अपनी आवश्यकतानुसार अन्य मानदंड चुन सकते हैं)। स्क्रीनशॉट देखें:

दस्तावेज़ मान 3 के आधार पर पंक्तियाँ छिपाएँ

3. पॉपिंग डायलॉग में, इससे बड़ा है के आगे वाले टेक्स्टबॉक्स में मानदंड टाइप करें। स्क्रीनशॉट देखें:

दस्तावेज़ मान 4 के आधार पर पंक्तियाँ छिपाएँ

4। क्लिक करें OK. अब केवल 3000 से अधिक डेटा दिखाया जाता है, और वे पंक्तियाँ जिनका डेटा 3000 से छोटा है छिपा हुआ है।

दस्तावेज़ मान 5 के आधार पर पंक्तियाँ छिपाएँ


इसके अलावा, यदि आप वीबीए कोड में रुचि रखते हैं, तो यहां मैं सेल वैल्यू के आधार पर पंक्तियों को छिपाने के लिए एक वीबीए कोड पेश कर सकता हूं।

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

2। तब दबायें सम्मिलित करें > मॉड्यूल एक नया खोलने के लिए मॉड्यूल विंडो, और उसमें नीचे VBA कोड चिपकाएँ।

VBA: सेल मान के आधार पर पंक्तियाँ छिपाएँ।

Sub HideRow()
'Updateby20150618
Dim Rng As Range
Dim WorkRng As Range
Dim xNumber As Integer
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
xNumber = Application.InputBox("Number", xTitleId, "", Type:=1)
For Each Rng In WorkRng
    Rng.EntireRow.Hidden = Rng.Value < xNumber
Next
End Sub

3. फिर दबाएं F5 वीबीए चलाने के लिए कुंजी, फिर उस डेटा श्रेणी का चयन करें जिसे आप पॉपिंग डायलॉग (हेडर को छोड़कर) में पंक्तियों को छिपाना चाहते हैं। स्क्रीनशॉट देखें:

दस्तावेज़ मान 6 के आधार पर पंक्तियाँ छिपाएँ

4। क्लिक करें OK, और दूसरे संवाद में मानदंड संख्या टाइप करें। स्क्रीनशॉट देखें:

दस्तावेज़ मान 7 के आधार पर पंक्तियाँ छिपाएँ

5। क्लिक करें OK. अब वे पंक्तियाँ जिनका डेटा 3000 से छोटा है, छुपी हुई हैं।

सुझाव: यदि आप 3000 से अधिक पंक्तियों को छिपाना चाहते हैं, तो बस बदल दें Rng.EntireRow.Hidden = Rng.Value <xNumber सेवा मेरे Rng.EntireRow.Hidden = Rng.Value > xNumber, या यदि आप उन पंक्तियों को छिपाना चाहते हैं जिनका डेटा 3000 के बराबर है, तो इसे बदलें Rng.EntireRow.Hidden = Rng.Value = xNumber.


Excel में मानदंडों के आधार पर शीघ्रता से कक्षों का चयन करें

एक्सेल के लिए कुटूल्स के साथ विशिष्ट कक्षों का चयन करें, आप एक बार में एक या दो मानदंडों के आधार पर कोशिकाओं का चयन कर सकते हैं। 
दस्तावेज़ विशिष्ट कक्षों का चयन करें
 
एक्सेल के लिए कुटूल: 300 से अधिक उपयोगी एक्सेल ऐड-इन्स के साथ, 30 दिनों में बिना किसी सीमा के आज़माने के लिए निःशुल्क।

यदि आप फ़िल्टर फ़ंक्शन को सक्षम करना पसंद नहीं करते हैं, न ही वीबीए को, तो यहां मैं आपको एक उपयोगी टूल पेश करता हूं - विशिष्ट कक्षों का चयन करें of एक्सेल के लिए कुटूल सेल मान के आधार पर शीघ्रता से संपूर्ण पंक्तियों का चयन करने के लिए, फिर आप उन्हें छिपा सकते हैं।

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

बाद मुफ़्त इंस्टालेशन एक्सेल के लिए कुटूल, कृपया नीचे दिए अनुसार कार्य करें:

टिप। यदि आप एक्सट्रेक्ट टेक्स्ट फ़ंक्शन का निःशुल्क परीक्षण करना चाहते हैं, कृपया एक्सेल के लिए नि:शुल्क कुटूल आज़माएं पर जाएं पहले, और फिर उपरोक्त चरणों के अनुसार ऑपरेशन लागू करने के लिए जाएं।

1. डेटा रेंज चुनें और क्लिक करें कुटूल > चुनते हैं > विशिष्ट कक्षों का चयन करें. स्क्रीनशॉट देखें:

दस्तावेज़ मान 14 के आधार पर पंक्तियाँ छिपाएँ

2। में विशिष्ट कक्षों का चयन करें संवाद, जांचें पूरी पंक्ति के अंतर्गत चयन प्रकार अनुभाग, फिर उस मानदंड का चयन करें जिसकी आपको आवश्यकता है विशिष्ट प्रकार सूची बनाएं, फिर टेक्स्टबॉक्स में नंबर या टेक्स्ट टाइप करें। स्क्रीनशॉट देखें:

दस्तावेज़ मान 9 के आधार पर पंक्तियाँ छिपाएँ

3। क्लिक करें Ok > OK संवाद बंद करने के लिए. अब वे पंक्तियाँ जिनका डेटा 3000 से छोटा है, चयनित हैं, और आपको संदर्भ मेनू दिखाने के लिए बस पंक्ति शीर्षलेख पर राइट क्लिक करना होगा, और छिपाएँ पर क्लिक करना होगा। स्क्रीनशॉट देखें:
दस्तावेज़ मान 10 के आधार पर पंक्तियाँ छिपाएँ

अब वे पंक्तियाँ जिनका डेटा 3000 से छोटा है, छुपी हुई हैं।

दस्तावेज़ मान 11 के आधार पर पंक्तियाँ छिपाएँ

सुझाव:

1. यदि आप उन पंक्तियों को छिपाना चाहते हैं जिनमें एक निश्चित मान शामिल है, तो आप चयन कर सकते हैं शामिल हैं और टेक्स्ट बॉक्स में निश्चित मान टाइप करें।

दस्तावेज़ मान 12 के आधार पर पंक्तियाँ छिपाएँ

2. यदि आप उन पंक्तियों को छिपाना चाहते हैं जिनमें मान से अधिक लेकिन मान से कम मान शामिल है, तो आप चयन कर सकते हैं से अधिक और कम से कम, फिर दो बॉक्स में मान टाइप करें और जांचें तथा.

दस्तावेज़ मान 13 के आधार पर पंक्तियाँ छिपाएँ

एक्सेल के लिए कुटूल्स के साथ विशिष्ट कक्षों का चयन करें उपयोगिता, आप विशिष्ट सेल के स्थान की पहचान कर सकते हैं, सेल मान के आधार पर संपूर्ण पंक्तियों या स्तंभों का चयन कर सकते हैं इत्यादि। इस उपयोगिता के बारे में अधिक जानने के लिए यहां क्लिक करें।

एक्सेल के लिए कुटूल: 300+ फ़ंक्शन जो आपके पास एक्सेल में होने चाहिए, यहां से 30 दिन का निःशुल्क परीक्षण।

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

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

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

Description


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

  • Word, Excel, PowerPoint में टैब्ड संपादन और रीडिंग सक्षम करें, प्रकाशक, एक्सेस, विसियो और प्रोजेक्ट।
  • नई विंडो के बजाय एक ही विंडो के नए टैब में एकाधिक दस्तावेज़ खोलें और बनाएं।
  • आपकी उत्पादकता 50% बढ़ जाती है, और आपके लिए हर दिन सैकड़ों माउस क्लिक कम हो जाते हैं!
Comments (17)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Yes, "Entire Row" is selected.
This comment was minimized by the moderator on the site
All rows remain selected without using Kutools. As soon as I use Kutools and select header row, all other rows but the header row de-select.
This comment was minimized by the moderator on the site
Are you sure check the Entire row option in the dialog? If you check cell option, the selected cells will be unselected when you right click at one row.
https://www.extendoffice.com/images/stories/comments/sun-comment/doc-select-specific-cell-1.png
This comment was minimized by the moderator on the site
Hi - I'm using a newer Lenovo PC with Windows 10 Professional and Microsoft 365 Apps for business. Excel Version 2210 (Build 15726.20202 Click-to-Run).
This comment was minimized by the moderator on the site
I have tried the operation in the same version with you, there is no any problem. Could you try to manually select several rows (without using Kutools for Excel), then right click at one row header, see all rows are remained selecting?
This comment was minimized by the moderator on the site
I have done exactly what you've demonstrated. However, when I right-click on the row header, all other rows become de-selected and only that one row remains selected to be hidden or deleted. No matter what I do, the other rows do not stay selected when right-clicking on the header. I'm at a loss to know what to do now.
This comment was minimized by the moderator on the site
I am so sorry for that. Could you tell me what Excel version and system you use?
This comment was minimized by the moderator on the site
Hello,

That is exactly what I've been doing, however, it only hides the row on which I have clicked the row header. All other selected rows remain unhidden, and are deselected at the same time. I will try it again following your gif exactly. Thanks for your reply.
This comment was minimized by the moderator on the site
I'm using Kutools to select entire rows based on a value, and it does select all the rows with that value. However, when I right-click on the row header and click on "Hide" in the menu, only that row is hidden and the rest that were selected become de-selected. It appears I still have to hide each row one at a time. What am I doing wrong?
This comment was minimized by the moderator on the site
Hi, Rochelley, I think there may be some wrong when you right-click at the row header. After the rows which match your condition are selecetd after applying the feature, right click at one row header of them, note that other rows are kept selected, then choose hide from the context menu. Please see the gif:
https://www.extendoffice.com/images/stories/comments/sun-comment/doc-hide-selected-row.gif
This comment was minimized by the moderator on the site
Hello,

I have a drop down with multiple reponses. I am trying to hide certain rows dependant on the response, can someone please assist?

Dropdown options are "CDI", "AR", "Legal", "Multiple" and "Other".

If response is CDI then hide rows 42-100

If response is AR then hide rows 19-41 and rows 66-100

If response is Legal then hide rows 19-66 and rows 88-100

If response is multiple then don't hide anything

If response is Other then hide rows 19-88



Can someone please asssist?
This comment was minimized by the moderator on the site
Hi I need some help with my work sheet. I have to build a dynamic questionnaire and I need to have a code that allow me to hide/ Unhide automatically some rows base on a cell information. Example:

if c6 is "internally" then show me row 7 but hide 8 to 107
if c6 is "Externally" then hide all the rows from 7 to 107


if c7 is "yes" then show me row 8 but hide 9 to 107
if c7 is "No" then show me row 8 but hide 9 to 107
if c8 is "Critical" then show me row 9 but hide 10 to 107

if c8 is "Important" show me row 9 but hide 10 to 107
if c8 is "Ordinary" show me row 9 but hide 10 to 107
if c8 is "Other" then show me row 9 but hide 10 to 107

if c9 is "Critical" then show me row 10 but hide 11 to 107
if c9 is "Important" then show me row 10 but hide 11 to 107
if c9 is "Ordinary" then show me row 10 but hide 11 to 107
if c9 is "Other" then show me row 10 but hide 11 to 107

etc.

can somebody help me?
This comment was minimized by the moderator on the site
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 And Target.Row = 1 Then

If Target.Value = "YES" Then
Worksheets(2).Activate
Worksheets(2).Application.Columns("A:Z").Select
Worksheets(2).Application.Selection.EntireColumn.Hidden = True
Worksheets(2).Application.Columns("AA:AZ").Select
Worksheets(2).Application.Selection.EntireColumn.Hidden = False
ElseIf Target.Value = "NO" Then
Worksheets(2).Activate
Worksheets(2).Application.Columns("AA:AZ").Select
Worksheets(2).Application.Selection.EntireColumn.Hidden = True
Worksheets(2).Application.Columns("A:Z").Select
Worksheets(2).Application.Selection.EntireColumn.Hidden = False
Else
Worksheets(2).Activate
Worksheets(2).Application.Columns("A:Z").Select
Worksheets(2).Application.Selection.EntireColumn.Hidden = False
Worksheets(2).Application.Columns("AA:AZ").Select
Worksheets(2).Application.Selection.EntireColumn.Hidden = False
End If

End If
End Sub
This comment was minimized by the moderator on the site
I got same error
This comment was minimized by the moderator on the site
Sorry I do not know either.
This comment was minimized by the moderator on the site
I don't know either Sunny
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