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.
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
Cheers
Greg Locock
RE: date list extraction
RE: date list extraction
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
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
=if(and($A3>=$A$1,$A3<=$A$2),$B3,"")
RE: date list extraction
=if(and($A3>=$A$1,$A3<=$A$2),$B4,"")