+ Reply to Thread
Results 1 to 5 of 5

Filtering/Sorting Data

  1. #1
    Registered User
    Join Date
    07-18-2014
    Location
    Seattle, WA
    MS-Off Ver
    2010 Pro
    Posts
    25

    Filtering/Sorting Data

    Hello Everyone,

    I would like to start by saying that I am not sure if this is possible to do in Excel, our would require Sequel/VBA to achieve what I need. But I am open to either or.

    I have a table of 2500+ records that need to be sorted from time to time, and I am attempting to automate this process. (attached sample workbook)

    Sample Workbook.xlsx

    The table records: Report Date, Staff Name, Status, IN Date, Out Date, Staff ID.

    The problem I am having is that sometimes duplicates appear, but without the full information. For example: Pedro Horton is recorded as “IN” on “1/5/2014” but an out is not recorded in this row, then we get a duplicate entry of Pedro Horton but as “OUT” which records both, an IN & OUT date.

    What I then need to do is go through the table, look for duplicate entries based on the “IN Date” and remove the duplicates. Now I know you would say “Delete all those without an “Out Date”, but the problem is that some entries will not be a duplicate, but will also not have an “Out Date”.

    Any ideas?

  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
    43,986

    Re: Filtering/Sorting Data

    Sample Workbook.xlsx

    I haven't come up with an elegant way of doing this, but, if you can accept a couple of helper columns (which can be hidden), this does work...
    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

  3. #3
    Registered User
    Join Date
    07-18-2014
    Location
    Seattle, WA
    MS-Off Ver
    2010 Pro
    Posts
    25

    Re: Filtering/Sorting Data

    This is amazing! I have no problem hiding the extra columns. THANK YOU!!! I am going to study this formula and try to learn how to implement this in the future! Thanks again!

  4. #4
    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
    43,986

    Re: Filtering/Sorting Data

    Just in case... The formulas with the curly brackets are array formulas. Don't enter the curly braces yourself, but you will need to get Excel to add them by setting the formula with CTRK SHIFT ENTER and NOT just ENTER.

    If this is all for now, can you mark the thread as solved & preferably click the Add Reputation button at the foot of any of my posts...

  5. #5
    Registered User
    Join Date
    07-18-2014
    Location
    Seattle, WA
    MS-Off Ver
    2010 Pro
    Posts
    25

    Re: Filtering/Sorting Data

    Thank you for mentioning the curly brackets, I was trying to figure out what those were. Reputation added and will mark this solved. Thanks again!

+ 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. sorting and filtering data
    By cpe.ppl in forum Excel General
    Replies: 2
    Last Post: 12-15-2013, 11:02 PM
  2. Data Filtering/Sorting
    By Jearnizck in forum Excel General
    Replies: 3
    Last Post: 06-11-2012, 08:31 PM
  3. Sorting and filtering data
    By Omega71 in forum Excel General
    Replies: 7
    Last Post: 10-29-2011, 11:54 AM
  4. Sorting/Filtering data ???
    By gws-mtc in forum Excel General
    Replies: 1
    Last Post: 04-11-2006, 04:36 PM
  5. Sorting and Filtering out data
    By Chris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-01-2005, 04:09 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