+ Reply to Thread
Results 1 to 5 of 5

Help with Excel 2010 data extraction

  1. #1
    Registered User
    Join Date
    01-30-2014
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question Help with Excel 2010 data extraction

    Please help!

    I have a very old database at work that I can only export to excel 2010. I've tried various filters and renditions of IF statements within excel....and I don't even know if that is the way to attack this issue.

    I am not an excel novice but I am not an expert either. I'm somewhere in the middle and need help.


    Here is a sample of the spreadsheet...in its entirety it has several thousand records and many fields. This should have been set up differently from the start but too late now.

    clsd file sample.xlsx

    Here is my situation. We have boxes that contain files. Some contain one (1) file (identified by "case no")and others contain many files. I need a list of all of the box numbers where every file in that box has reached the "Date to destroy" date and the "Destroy or Return" field = "Destroy".

    I keep running into problems because each box contains a different number of files.

    Please help!

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Help with Excel 2010 data extraction

    Hi, rvrkids,

    I need a list of all of the box numbers where every file in that box has reached the "Date to destroy" date and the "Destroy or Return" field = "Destroy".
    For clarification: only for the files or do you only need it if all files in the box meet that criteria? I´d give it a try with the Autofilter first (check all dates to be less than today and not empty), then destroyed to meet that criteria. With the Advanced Filter and a criteria list on the outcome sheet you may pass the information and receive the information wanted in the outpout range. Please mind that if you include blank rows in the criteria range all data will be returned.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    01-30-2014
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Help with Excel 2010 data extraction

    Thanks HaHoBe-

    I only need the box # if every file in that box meets the date and destroy criteria...so if one file in the box does not meet the date and destroy criteria, I don't want that box #.

    I tried the filter as you said but that did not work because of the fact that I need EVERY file in the box to meet the criteria....it was giving me the boxes that had files that did meet the criteria but not every file.


    Hope you can follow this.

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Help with Excel 2010 data extraction

    Hi, rvrkids,

    build a list of unique boxnumbers, you could run a loop applying the Autopfilter for a unique number and compare the number of files with the counted items Destroy and if the greatest date is lower than or equal to the today the data could be copied.

    I´m pretty sure this could be done reading the contents into an array and working with it - sadly I don´t have a clue at how to describe it as a workout plan for me.

    Ciao,
    Holger

  5. #5
    Registered User
    Join Date
    01-30-2014
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Help with Excel 2010 data extraction

    Thanks for the suggestion Holger but I either need a little more info or I'm not understanding.

    If I extract a list of unique box numbers I will be missing a large number of the records. For instance, if box #1 contains 20 files (which is actually 20 records or 20 rows) it will only show one record/row in the filtered list. That particular record might meet my criteria but the other 19 files in that box (19 other records/rows) don't meet the criteria so I don't need that box #.

+ 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. Data Extraction with Excel VBA from .msg files
    By arnabmit in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2011, 02:21 AM
  2. Data extraction from web to excel
    By cmb80 in forum Excel General
    Replies: 0
    Last Post: 10-21-2010, 03:27 PM
  3. Excel Workbook Data Extraction
    By tommyfernandez in forum Excel General
    Replies: 6
    Last Post: 05-13-2009, 03:24 PM
  4. Extraction of data in Excel?
    By JoKeR.Warez in forum Excel General
    Replies: 3
    Last Post: 03-11-2009, 06:52 PM
  5. Data Extraction from Excel
    By backoffice1 in forum Excel General
    Replies: 3
    Last Post: 02-05-2008, 11:30 AM

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