+ Reply to Thread
Results 1 to 13 of 13

How to auto-filter rows from one sheet to another?

  1. #1
    Registered User
    Join Date
    11-22-2006
    Posts
    10

    Smile How to auto-filter rows from one sheet to another?

    I have rows in Sheet 1 that I want to filter into two other Sheets.

    Rows with the word "To" in Sheet 1 should be filtered into Sheet 2.

    Rows with the word "From" in Sheet 1 should be filtered into Sheet 3.

    Basically, Sheet 1 looks like a bank statement.

    Sheet 2 is the Payments area for a Cash Flow chart.

    Sheet 3 is the Receipts area for a Cash Flow chart.

    So Sheets 2 and 3 must automatically break down Payments and Receipts so they can be calculated seperately.

    My question is how do I create a sheet that filters select content from one sheet to another?

    This is something I have never done before and I don't know where to start.

    Thanks.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to auto-filter rows from one sheet to another?

    simplest would be to filter then copy/paste or do you want this to happen automatically with functions or possible vba code?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    11-22-2006
    Posts
    10

    Re: How to auto-filter rows from one sheet to another?

    Copy/Paste would be very time-consuming and would increase the chance of mistakes. I want the process to be automatic.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How to auto-filter rows from one sheet to another?

    'SHEET1 TO MANY SHEETS
    I have a macro that may be "ready to use" for parsing rows of data from one sheet to many sheets named for the same values.It not only can parse the rows, it can create the sheets if they are missing.

    Once you've edit the macro to use the correct column, running the macro will put the "TO" rows on a sheet called "TO" and the "FROM" rows on a sheet called "FROM".
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  5. #5
    Registered User
    Join Date
    11-22-2006
    Posts
    10

    Re: How to auto-filter rows from one sheet to another?

    It looks impressive. I only wish I understood it all!

    It looks like I might need a little bit of hands on help.

    Would you be willing to look at what I've got and to tell me how to apply your macro more specifically?

    Thanks,
    Dom

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How to auto-filter rows from one sheet to another?

    I don't see a sample workbook in your post, put one up if the macro doesn't perform. There's only a couple of variables to "tweak" and the rest should work automatically for creating these subsheets for you. Give it a try before you give up.

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to auto-filter rows from one sheet to another?

    Copy/Paste would be very time-consuming?????
    2xcopy and 2xpaste how long does that take?

  8. #8
    Registered User
    Join Date
    11-22-2006
    Posts
    10

    Smile Re: How to auto-filter rows from one sheet to another?

    Quote Originally Posted by martindwilson View Post
    Copy/Paste would be very time-consuming?????
    2xcopy and 2xpaste how long does that take?
    I wouldn't be 2xcopy and 2xpaste. It would be one year's worth of transactions. Which could well be several thousand ... or more!

  9. #9
    Registered User
    Join Date
    11-22-2006
    Posts
    10

    Re: How to auto-filter rows from one sheet to another?

    [QUOTE=JBeaucaire;2391051]'SHEET1 TO MANY SHEETS
    I have a macro that may be "ready to use" for parsing rows of data from one sheet to many sheets named for the same values.

    I tried it but it did not work. I got a debug message and didn't know what to do about it.

    But I think my need is a little different to this.

    To give you a better idea of what I want to do, I have attached two images.

    Note that the end product is now one sheet with a left and right set of values. In other words, it is the same as a Cash Flow book. (not two seperate sheets).

    "Accounts" shows the Accounts spreadsheet (S1). This is the sheet from which S2 should collect and filter rows.

    Accounts.jpg

    "Cash Flow" shows the Cash Flow spreadhseet (S2). It should organise the data automatically in the manner shown (but without the gaps).

    Cash Flow.jpg

    Thanks, Dom
    Last edited by Dom2012; 09-29-2010 at 02:46 PM.

  10. #10
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How to auto-filter rows from one sheet to another?

    Pictures of spreadsheets uploaded to other sites? Very ineffective.

    Click GO ADVANCED and use the paperclip icon to post up a desensitized copy of your workbook. Make it easy to help.

  11. #11
    Registered User
    Join Date
    11-22-2006
    Posts
    10

    Re: How to auto-filter rows from one sheet to another?

    Quote Originally Posted by JBeaucaire View Post
    Pictures of spreadsheets uploaded to other sites? Very ineffective.

    Click GO ADVANCED and use the paperclip icon to post up a desensitized copy of your workbook. Make it easy to help.
    Thanks for the tip.

  12. #12
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to auto-filter rows from one sheet to another?

    once filtered you can copy paste visible cells in one go

  13. #13
    Registered User
    Join Date
    11-22-2006
    Posts
    10

    Smile Re: How to auto-filter rows from one sheet to another?

    Quote Originally Posted by martindwilson View Post
    once filtered you can copy paste visible cells in one go
    Even so, I require an automated solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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