S
Struggling in Sheffield
Hi,
I’m having problems finding a way to auto copy rows of data from one
worksheet to another depending on a date entry within the data row. I’ve
created the following simple example to illustrate what I’m trying to achieve.
I have a workbook containing 13 worksheet tabs.
First worksheet is named ‘Raw data’, then 12 worksheets follow named
‘January’ to ‘December’.
I enter rows of data into the first worksheet like the example below:
‘Raw data’ worksheet
A B C D E
1 Nº Date Forename Surname Address
2 25 Mon 6 Jan 09 Sid James London
3 46 Sat 5 Feb 09 Frank Spencer Reading
4 53 Tue 8 Feb 09 Paul Cooper Plymouth
5 55 Fri 26 Feb 09 Phil Walker Leeds
6 72 Wed 23 May 09 John Davis Hull
7 75 Thu 5 Jul 09 Ed Grant Derby
8 81 etc
9 92
‘January’ to ‘December’ are set up to hold the same data as that entered in
the ‘Raw data’ worksheet.
On calculate I’d like the ‘January’ to ‘December’ worksheets to look up the
column of dates in the ‘Raw data’ sheet so that, for example, the ‘February’
sheet would copy all the rows of data that contain Feb in the Date column
into itself, in the same order (top to bottom) in which the data has been
originally entered into the ‘Raw data’ sheet:
‘February’ worksheet
A B C D E
1 Nº Date Forename Surname Address
2 46 Sat 5 Feb 09 Frank Spencer Reading
3 53 Tue 8 Feb 09 Paul Cooper Plymouth
4 55 Fri 26 Feb 09 Phil Walker Leeds
5
6
7
8
9
I’ve managed to do something vaguely similar looking up lists within the
same worksheet but am just struggling with looking into another sheet.
Hope my example is clear enough to follow. Many thanks for looking and hope
you can help.
Cheers.
I’m having problems finding a way to auto copy rows of data from one
worksheet to another depending on a date entry within the data row. I’ve
created the following simple example to illustrate what I’m trying to achieve.
I have a workbook containing 13 worksheet tabs.
First worksheet is named ‘Raw data’, then 12 worksheets follow named
‘January’ to ‘December’.
I enter rows of data into the first worksheet like the example below:
‘Raw data’ worksheet
A B C D E
1 Nº Date Forename Surname Address
2 25 Mon 6 Jan 09 Sid James London
3 46 Sat 5 Feb 09 Frank Spencer Reading
4 53 Tue 8 Feb 09 Paul Cooper Plymouth
5 55 Fri 26 Feb 09 Phil Walker Leeds
6 72 Wed 23 May 09 John Davis Hull
7 75 Thu 5 Jul 09 Ed Grant Derby
8 81 etc
9 92
‘January’ to ‘December’ are set up to hold the same data as that entered in
the ‘Raw data’ worksheet.
On calculate I’d like the ‘January’ to ‘December’ worksheets to look up the
column of dates in the ‘Raw data’ sheet so that, for example, the ‘February’
sheet would copy all the rows of data that contain Feb in the Date column
into itself, in the same order (top to bottom) in which the data has been
originally entered into the ‘Raw data’ sheet:
‘February’ worksheet
A B C D E
1 Nº Date Forename Surname Address
2 46 Sat 5 Feb 09 Frank Spencer Reading
3 53 Tue 8 Feb 09 Paul Cooper Plymouth
4 55 Fri 26 Feb 09 Phil Walker Leeds
5
6
7
8
9
I’ve managed to do something vaguely similar looking up lists within the
same worksheet but am just struggling with looking into another sheet.
Hope my example is clear enough to follow. Many thanks for looking and hope
you can help.
Cheers.