Skip to main content

Insert Multiple Blank Row मल्टीपल ब्लैंक रो डालें

👍 If you ever need to insert multiple blank rows into your data, doing it manually could be very time consuming if you have a large data set. Here’s a quick way to do this by inserting a blank row into your data after every Nth record.
यदि आपको कभी भी अपने डेटा में कई रिक्त पंक्तियों को सम्मिलित करने की आवश्यकता होती है, तो मैन्युअल रूप से ऐसा करने में बहुत समय लग सकता है यदि आपके पास एक बड़ा डेटा सेट है। हर Nth रिकॉर्ड के बाद आपके डेटा में एक रिक्त पंक्ति सम्मिलित करके ऐसा करने का एक त्वरित तरीका है।


  1. Add a column to the right of your data. If the helper column is in E1, then add this formula into E2 and copy it down to the end of the data. Change N to a number (5 if you want every 5th row etc…).
    =MOD(ROW(E2)-ROW($E$1)-1,N)
    Now highlight the whole column.
  2. Go to the Home tab in the ribbon.
  3. In the Editing section, press the Find & Select button.
  4. In the drop down menu, select Find. You can also use the Ctrl + F keyboard shortcut to open the Find and Replace window.
  5. In the Find what input type in 0.
  6. Press the Options button to reveal the advanced search options.
  7. Select Sheet from the Within drop down list.
  8. Select Values from the Look in drop down menu.
  9. Press the Find All button.
  10. Select all the results by pressing Ctrl + A.
  11. Press the Close button.
All the zero’s in our helper column should now be selected and we can now insert our rows.हमारे सहायक कॉलम में सभी शून्य को अब चुना जाना चाहिए और अब हम अपनी पंक्तियों को सम्मिलित कर सकते हैं।
  1. Left click on one of the selected cells.
  2. Select Insert in from the menu.
  3. Select Entire row.
  4. Press the OK button.

Now we’ve got a blank row every Nth record.

अब हमें प्रत्येक Nth रिकॉर्ड को एक खाली पंक्ति मिल गई है।

Thanks for watching My Blog  https://pkexcel.blogspot.com

Comments

Post a Comment

Your advice or suggestions will be much appreciated and welcomed....

Popular posts from this blog

What is Excel ? एक्सेल क्या है ?

Excel is a spreadsheet application which have rows and columns to organize data. We can easily organize and analysis data in excel. एक्सेल एक स्प्रेडशीट एप्लिकेशन है जिसमें डेटा व्यवस्थित करने के लिए पंक्तियां और कॉलम हैं। हम एक्सेल में आसानी से डेटा व्यवस्थित और विश्लेषण कर सकते हैं।

VBA Code to Clear Cells with Zero शून्य के साथ सेल को साफ़ करने के लिए VBA कोड

# VBA Code to Clear Cells with Zero:- To  clear cells with zero within a cell range using VBA , use a macro with the following statement structure: शून्य के साथ सेल को साफ़ करने के लिए VBA कोड For   Each   Cell  In   Range If   Cell.Value = myValue  Then   Cell.Clear Next   Cell VBA Statement Explanation Lines #1 and #3: For Each Cell In Range | Next Cell Item:  For Each… In… Next. VBA Construct:  For Each… Next statement. Description:  The For Each… Next statement repeats the statement within the loop (line #2) for each element (Cell) in the cell range (Range) you want to search for zeroes in. Item:  Cell. VBA Construct:  Element of the For Each… Next statement and object variable of the Range object data type. Description:  The Element of the For Each… Next statement is an object variable used to iterate through the elements (Cell) of the cell range (Range) you want to sear...

VBA Coding : For Sharing data by Email With Attachment using Excel data in other Place

' We have some data in Excel that we want to share by email with attachment हमारे पास Excel में कुछ डेटा हैं जिन्हें हम अनुलग्नक के साथ ईमेल द्वारा साझा करना चाहते हैं Sub For_GSTR3B_Report_Share() Dim sWorkbook1 As Workbook Dim wb As Workbook Dim objApp As Object  'For New Workbook Dim ws As Worksheet Dim savepath As String         'Delete all file from folder temp2         On Error Resume Next         Kill "C:\Users\PRAMOD.GARG\Desktop\pk_temp*.*"         On Error GoTo 0               On Error Resume Next         Set wb = Workbooks("Pkgarg_Control_Sheet_With_Gaurav_Coding.xlsm")         On Error GoTo 0         If Not wb Is Nothing Then         MsgBox "It's open"         wb.Activate         Worksheets("For_GSTR3B_Report_Share...