+ Reply to Thread
Results 1 to 6 of 6

Trying to filter specific sets of data

Hybrid View

  1. #1
    Registered User
    Join Date
    06-15-2011
    Location
    Converse, TX
    MS-Off Ver
    Excel 2016
    Posts
    72

    Trying to filter specific sets of data

    I am working with a file that has 10 columns with varied data in each one. There is only one column that has (fairly) consistent data. I will attach the file so that hopefully it will help with what I am trying to do.

    I want to have the unique values copy over to another worksheet. There are multiple ACD options, but I only want ACD to be copied IF the cell above it contains the value RING. Additionally, I would like to copy over the first TIME column, if possible the second. If necessary I will have a macro change the names to the second column to length.

    Data-file.xlsx

    I know that advanced filters can be utilized but I have not yet been able to figure out how to properly set it up.

    Any tips would be greatly appreciated!
    Last edited by klturi421; 05-22-2015 at 12:36 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Trying to filter specific sets of data

    Please upload your workbook to the forum. Not all members are able - or willing - to access file hosting sites.
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    06-15-2011
    Location
    Converse, TX
    MS-Off Ver
    Excel 2016
    Posts
    72

    Re: Trying to filter specific sets of data

    My apologies. I didn't have it saved to my desktop. I updated the initial post to include the actual file.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Trying to filter specific sets of data

    Thanks for the file

    Perhaps you could include a few samples of your expected outcome?

    Im not really sure what you want, but Im thinking that using a helper column (I used U, starting in U4), with this, will give you values that you can use to pull out data that matches your criteria...
    =IF(AND(G4="ACD",G3="Ring"),U3+1,U3)
    copied down

  5. #5
    Registered User
    Join Date
    06-15-2011
    Location
    Converse, TX
    MS-Off Ver
    Excel 2016
    Posts
    72

    Re: Trying to filter specific sets of data

    Here is a copy of an updated version of the file. I changed the second time column to length and included a sample section.

    As shown in the sample, ideally I'd like to have the list show the items as listed. You will notice that the two samples I chose are directly from the data file.

    Data-file.xlsx

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Trying to filter specific sets of data

    Thanks thats what I thought you wanted.

    There is probably an ARRAY formula to do this, but this way works just as well, and may be more efficient, if you have a lot of data.

    As I said in post #4, start with that helper column in the data sheet, U4, copied down...
    =IF(AND(G4="ACD",G3="Ring"),U3+1,U3)

    Then use this in Results L4, copied down and across...
    =IFERROR(INDEX(data!$A:$T,MATCH(ROW(A1),data!$U:$U,0),MATCH(L$3,data!$A$3:$T$3,0)),"")
    Format as needed

+ 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. Copying Specific Data sets and pasting them in Columns of 10
    By novious1 in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 04-15-2015, 11:15 PM
  2. Help Filtering/Separating Specific Data Sets
    By dummy37 in forum Excel General
    Replies: 1
    Last Post: 07-10-2014, 05:31 PM
  3. [SOLVED] filter for different sets of colored data
    By jolenec in forum Excel General
    Replies: 5
    Last Post: 03-14-2014, 08:57 PM
  4. Copy two data sets, filter it and paste to summary sheet
    By pauldaddyadams in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-03-2012, 07:15 AM
  5. VBA to print specific data sets
    By ndfrose in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-01-2011, 10:58 AM

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