+ Reply to Thread
Results 1 to 2 of 2

Copy/Filter Results That Are Not Blank/Zero From One Worksheet to Another

  1. #1
    Registered User
    Join Date
    12-12-2016
    Location
    Tulsa, Oklahoma
    MS-Off Ver
    2016
    Posts
    5

    Copy/Filter Results That Are Not Blank/Zero From One Worksheet to Another

    Hi all, been messing with this all morning and I've finally given in.

    On the attached workbook, I am needing all rows that are not blank (or zero) for Sheet1 Column D6:D48 to auto populate (in order) D6 onward on Sheet2. Sheet3 is the end result I am trying to obtain, what would change as I modified Sheet1. I was looking at other threads and playing around with AUTOFILTER this morning trying to get it to work, but I am completely out of my depth here. Any help would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Copy/Filter Results That Are Not Blank/Zero From One Worksheet to Another

    In B10, use this formula, array entered, and then copied across and down:

    =IFERROR(INDEX(Sheet1!B:B,SMALL(IF(Sheet1!$D$6:$D$48<>"",ROW(Sheet1!$D$6:$D$48)),ROWS(B$10:B10))),"")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. Replies: 3
    Last Post: 04-27-2017, 05:25 PM
  2. Replies: 12
    Last Post: 06-13-2016, 12:37 PM
  3. [SOLVED] VBA to Filter out Blank Cells, copy /paste into another worksheet
    By bdouglas1011 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2014, 03:36 AM
  4. Hyperlink to filter results in another worksheet
    By seanblanton in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-26-2013, 11:16 AM
  5. Auto filter data and copy results to another worksheet?
    By thisiscrazy in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-24-2012, 07:46 AM
  6. Filter results on a different worksheet.
    By jleyenhorst in forum Excel General
    Replies: 5
    Last Post: 10-19-2011, 02:11 AM
  7. Using VBA to Filter then copy results to another worksheet
    By Chris_J in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2010, 02:46 PM

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