+ Reply to Thread
Results 1 to 6 of 6

Splitting a Table By 1000 Rows

  1. #1
    Registered User
    Join Date
    07-27-2009
    Location
    Scranton, Pennsylvania
    MS-Off Ver
    Office 365
    Posts
    31

    Splitting a Table By 1000 Rows

    Hey everyone,

    I'm wondering if anyone has a suggestion to do this via power query, or within excel? Let's say I have a table with 12000 rows in it. Is there a function within excel (or PowerQuery) to take the first 1000 and dump to a new tab, take the next 1000 and dump to another tab, with the end goal of having 12 tabs or even 12 separate workbooks with 1000 rows of data each? If we can only get it to separate tabs, I can copy and paste it for the time being until we can get a developed process in place.

    Thanks alot -

  2. #2
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Splitting a Table By 1000 Rows

    Power Query can do it for sure.

  3. #3
    Registered User
    Join Date
    07-27-2009
    Location
    Scranton, Pennsylvania
    MS-Off Ver
    Office 365
    Posts
    31

    Re: Splitting a Table By 1000 Rows

    I don't see any transformations for that. Can you tell me where to do it? I'm not looking to split in the sense of text to column, I'm looking to break a spreadsheet up from 12000 rows into multiple tabs with no more than 1000 rows in each. The DataXL add in will do it, but I don't see a way otherwise.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Splitting a Table By 1000 Rows

    You could do it with formulae, but you would have to set up the 12 tabs manually.

    Pete

  5. #5
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Splitting a Table By 1000 Rows

    Quote Originally Posted by Falk781 View Post
    I don't see any transformations for that. Can you tell me where to do it? I'm not looking to split in the sense of text to column, I'm looking to break a spreadsheet up from 12000 rows into multiple tabs with no more than 1000 rows in each. The DataXL add in will do it, but I don't see a way otherwise.
    With Power Query open you have two buttons [keep rows] [Remove rows], managing with those two you can select first 1000 rows to keep or erase, then select to new sheet.
    I am supposing you have some experience with PQ, tell me if you don't.
    Last edited by DJunqueira; 11-11-2021 at 02:24 PM.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Splitting a Table By 1000 Rows

    You could create a simple VBA loop and use the loop counter to add a new sheet/workbook and copy/paste subsets of the table.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Splitting an 8 sheet WB with 46,000 rows into smaller WB with 1000 rows?
    By Konakick in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-16-2015, 08:11 PM
  2. [SOLVED] How can I sort over 1000 rows
    By Larbec in forum Excel General
    Replies: 6
    Last Post: 09-30-2013, 10:13 PM
  3. [SOLVED] Autofill 1,2,3,4,5 . . . For 1000 Rows . . . and Beyond!
    By Gnokrojam in forum Excel General
    Replies: 6
    Last Post: 09-12-2013, 05:04 PM
  4. Replies: 8
    Last Post: 05-10-2012, 04:52 PM
  5. Replies: 4
    Last Post: 03-28-2010, 10:58 AM
  6. Pivot Table - Splitting out rows
    By shaunshaun in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-18-2008, 10:08 AM
  7. In sheet of 1000+ rows how do I go to last?
    By parvenu in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-06-2006, 10:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1