+ Reply to Thread
Results 1 to 5 of 5

How to sort rows in Excel into different sheets using a filter

  1. #1
    Registered User
    Join Date
    06-22-2014
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2015
    Posts
    4

    How to sort rows in Excel into different sheets using a filter

    Hello!

    I am new to this forum and I suspect I shall be asking a lot of questions. I have a basic understanding of Excel but have learnt a lot over the last few weeks trying to set up a Master Price List that is synced with SharePoint so that people will be able to view it online and sync it to their costing sheets.

    I have had trouble syncing the MPL to SharePoint Online because of Sharepoint's "resource throttling." To go around this I need to get the lists down to 5000 rows or less for SharePoint to sync data correctly. I have tried setting up a macro using the advanced filter to sort my 15000 entries alphabetically and move them into separate sheets but I have found this is way too heavy and doesn't update the sub-sheets when the main price is altered. There must be a way of using a filter that will automatically move data into the various sheets without the use of a heavy macro, but I understand if one is necessary to do so.

    I'm sorry if I posted this n the wrong place on the forum!

    Cheers and thanks in advance!

    Luke
    Attached Files Attached Files
    Last edited by lukeafuller; 06-23-2014 at 01:44 AM.

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: How to sort rows in Excel into different sheets using a filter

    please send a sample

  3. #3
    Registered User
    Join Date
    06-22-2014
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2015
    Posts
    4

    Re: How to sort rows in Excel into different sheets using a filter

    Hope that helps its only a few rows.

    Thanks for the reply!

    Luke

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: How to sort rows in Excel into different sheets using a filter

    how are they linked to the sub-sheets?

  5. #5
    Registered User
    Join Date
    06-22-2014
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2015
    Posts
    4

    Re: How to sort rows in Excel into different sheets using a filter

    At the moment there is no link because I just uploaded a portion or the master price list. That is what I am trying to figure out. I tried using a macro and it was way too heavy ad it was keep bugging out with errors. I watched a few videos to try and help me but they didn't seem to help much. When I run the macro it just deletes my master price list.

  6. #6
    Registered User
    Join Date
    06-22-2014
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2015
    Posts
    4

    Re: How to sort rows in Excel into different sheets using a filter

    I have been trying a different code which looks something like this:

    Private Sub CommandButton1_Click()
    Sheet1.Activate
    Sheet1.Range("A10:Z10").Select
    Selection.Copy
    Sheet2.Select
    Range("A1").PasteSpecial
    Columns("A:A").EntireColumn.AutoFit
    Columns("B:B").EntireColumn.AutoFit
    Sheet2.Range("C4").Select
    Sheet1.Select
    Application.CutCopyMode = False
    Sheet1.Range("C15").Select
    Sheet2.Select
    Sheet1.Range("A10:Z18916").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Sheet1.Range("AB10:AB11"), CopyToRange:=Sheet2.Range("A1:Z1"), Unique:=True
    End Sub


    It works but it takes 1 minute to filter. Is there anyway of streamlining this?

+ 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. Filter and sort rows with several dates
    By joce_777 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2013, 11:14 AM
  2. Replies: 0
    Last Post: 04-13-2011, 08:49 PM
  3. Sort and combine records/rows from two sheets.
    By Tinman88 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-27-2009, 03:36 PM
  4. Sort / Filter rows
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-27-2008, 02:11 PM
  5. [SOLVED] Columns A - BY and 336 rows.Too much to filter&sort?Lose info.
    By greenlawn06 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-16-2006, 02:20 PM

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