Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Compare dates to copy data

Help please... How would I get the following to occur. (Sheet 1 cell A1 =
2/22/10 when I run macro, look for 2/22/10 on sheet 2, and copy an area from
sheet 1 to the appropriate area of sheet 2. So each time sheet one date
changes, it copys the same area of sheet one into the correct area of sheet 2
that matches the date.
--
Thank you for your time!
John
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Compare dates to copy data

If it was me, I would do the following:
1. Turn on macro recorder.
2. Go to Sheet2, filter the data for the date you want.
3. Copy the data to its destination.
4. Turn off macro recorder.
5. Modify the macro the pickup the data filter from cell Sheet1!a1, and the
destination.

If you need help, with step 5, let us know. Post the macro code when you do.

Regards,
Fred

"Very Basic User" wrote in message
...
Help please... How would I get the following to occur. (Sheet 1 cell A1 =
2/22/10 when I run macro, look for 2/22/10 on sheet 2, and copy an area
from
sheet 1 to the appropriate area of sheet 2. So each time sheet one date
changes, it copys the same area of sheet one into the correct area of
sheet 2
that matches the date.
--
Thank you for your time!
John


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Compare dates to copy data

Thank you for answering! So when you say in step 2 to filter the data for the
date I want, what do you mean? Sorry, I am very new at this.
--
Thank you for your time!
John


"Fred Smith" wrote:

If it was me, I would do the following:
1. Turn on macro recorder.
2. Go to Sheet2, filter the data for the date you want.
3. Copy the data to its destination.
4. Turn off macro recorder.
5. Modify the macro the pickup the data filter from cell Sheet1!a1, and the
destination.

If you need help, with step 5, let us know. Post the macro code when you do.

Regards,
Fred

"Very Basic User" wrote in message
...
Help please... How would I get the following to occur. (Sheet 1 cell A1 =
2/22/10 when I run macro, look for 2/22/10 on sheet 2, and copy an area
from
sheet 1 to the appropriate area of sheet 2. So each time sheet one date
changes, it copys the same area of sheet one into the correct area of
sheet 2
that matches the date.
--
Thank you for your time!
John


.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Compare dates to copy data

PS: I got the filtering thing, but I have many totaling lines that make
filtering not available for a date range, I would have to remove the rows
that total each week and they feed into a monthly graph summary
--
Thank you for your time!
John


"Fred Smith" wrote:

If it was me, I would do the following:
1. Turn on macro recorder.
2. Go to Sheet2, filter the data for the date you want.
3. Copy the data to its destination.
4. Turn off macro recorder.
5. Modify the macro the pickup the data filter from cell Sheet1!a1, and the
destination.

If you need help, with step 5, let us know. Post the macro code when you do.

Regards,
Fred

"Very Basic User" wrote in message
...
Help please... How would I get the following to occur. (Sheet 1 cell A1 =
2/22/10 when I run macro, look for 2/22/10 on sheet 2, and copy an area
from
sheet 1 to the appropriate area of sheet 2. So each time sheet one date
changes, it copys the same area of sheet one into the correct area of
sheet 2
that matches the date.
--
Thank you for your time!
John


.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Compare dates to copy data

What identifies a total row? If, for example, it's the word "Total" in
another column, then you could use that to filter out those rows.

The other thing I'd investigate are Pivot Tables. They are very powerful and
easy to use. They would move your totals to another sheet, which would clean
up your data. Generally, you're better off having only data in one
spreadsheet, with summaries and graphs in others.

Regards,
Fred

"Very Basic User" wrote in message
...
PS: I got the filtering thing, but I have many totaling lines that make
filtering not available for a date range, I would have to remove the rows
that total each week and they feed into a monthly graph summary
--
Thank you for your time!
John


"Fred Smith" wrote:

If it was me, I would do the following:
1. Turn on macro recorder.
2. Go to Sheet2, filter the data for the date you want.
3. Copy the data to its destination.
4. Turn off macro recorder.
5. Modify the macro the pickup the data filter from cell Sheet1!a1, and
the
destination.

If you need help, with step 5, let us know. Post the macro code when you
do.

Regards,
Fred

"Very Basic User" wrote in
message
...
Help please... How would I get the following to occur. (Sheet 1 cell A1
=
2/22/10 when I run macro, look for 2/22/10 on sheet 2, and copy an area
from
sheet 1 to the appropriate area of sheet 2. So each time sheet one date
changes, it copys the same area of sheet one into the correct area of
sheet 2
that matches the date.
--
Thank you for your time!
John


.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare worksheets for duplicates and copy data to 1st worksheet Monique Excel Worksheet Functions 2 September 12th 07 07:50 PM
Compare and copy rows of data based on an ID# john mcmichael Excel Discussion (Misc queries) 1 July 9th 07 05:26 PM
how to compare two columns on two sheets and copy associated data from one sheet to the other? [email protected] Excel Worksheet Functions 2 June 22nd 07 03:40 PM
macro needed to compare value and copy data underneath it to anoth Arain Excel Discussion (Misc queries) 1 April 17th 07 10:52 PM
compare two text and if equal copy adjacent data Prashanthom Excel Worksheet Functions 1 December 29th 06 03:03 AM


All times are GMT +1. The time now is 10:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"