×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

date list extraction

date list extraction

date list extraction

(OP)
Okay this has me stuck

i have a list of date in a which has id, date and status (pass/fail) i want to be able to extract from the table all the data between two dates i.e. a week, if that is not possible then extract all data on a singular date. I used to be able to do this sort of thing in older versions of office, using ctirea and database commands, but i cannot seem to find what im looking for now.


RE: date list extraction

Use the datevalue function.

Cheers

Greg Locock

RE: date list extraction

Or try using a pivot table...

RE: date list extraction

(OP)
to me the date value function is not the answer, all it seems to do is convert the date to a number, perhaps i made my question unclear.

I have a list of parts inspected, the parts are inputed on a day by day basis, on any typical day there will be 30 - 40 results. I want to be able to come along an extract all this data to another sheet for any given day, preferably a week. I know filters could do it, but its automating it and pulling it to another sheet thats the problem.

i know it would be easy in access but hey acess is for wimps lol, or more likley im dire at it.

RE: date list extraction

Lets's assume your data is arranged as follows:-
A3 : Heading "Date"
B3 : Heading "DataValue"
A4 to A999 or whatever : actual dates
B4 to B999 or whatever : corresponding data values


Then in cell A1 enter the earliest required date,
 and in cell A2 enter the last required date.

Then add an extra column C in your data table , with
C3 : Heading "SelectedData" and the following formula (replicated down for all rows of data)in cell
C4  : =if(and($A3>=$A$1,$A3<=$A$1),$B3,"")

Now by using autofilter on the data list, you can just select "NonBlanks" for "SelectedData" in the filter criterion dropdown list, and only the data rows for the required data range will show, and you can then easily copy those rows to paste wherever you want.

RE: date list extraction

Apologies - correction of formula, should be
=if(and($A3>=$A$1,$A3<=$A$2),$B3,"")

RE: date list extraction

Apologies - I shouldn't have rushed in - further correction of formula in C4, should be
=if(and($A3>=$A$1,$A3<=$A$2),$B4,"")
 
 



 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close