Data define and search function request?
Did you try Pivot Tables? You can aggregate your data by days/weeks/
months and look at sums, counts, averages, etc.
HTH
--JP
On Mar 9, 3:05*am, joecrabtree wrote:
All,
I have posted this already, but still have had no joy... and takers??
Thanks....
I have a workbook with three (3) worksheets in it. The first one is
called 'codes' the second one is called 'data', and the third one is
called 'output'.
In 'codes' there is a list of codes that appear in the data set for
example:
CODES:
ABC
BGD
JDJ
KDK
DID
In the sheet 'data' the data is in the following format:
DATE * * * CODE * *QUANTITY * VALUE
01/01/09 * ABC * * * 10 * * * * * * * 1000
01/01/09 * ABC * * * *1 * * * * * * * *100
01/01/09 * KDK * * * 4 * * * * * * * * *44
02/01/09 * JDJ * * * * 2 * * * * * * * * 13
02/01/09 * JDJ * * * * 33 * * * * * * * *22
What I would like to be able to do is as follows:
1) The user is asked to input a date range for example
01/01/09-01/01/09
2) The program then searchs the data for everything in that date range
in the 'data' sheet that corresponds to the codes defined in the
'codes' sheet and returns the summed values. For example when the user
enters in *01/01/09-01/01/09 the value returned would be:
|