Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default transfering data


I need to transfer data from one sheet to another every week. The first
sheet will contain a roster and the second sheet will contain the
values/totals of the roster from throughtout the year.

Is it possible to make a formula that will lookup the cell "week
number" from the roster sheet (that changes every week) and pastes the
data under the cell that contains the name week number in the datasheet
(the sheet that contains the data from previos weeks.

Therefore, it will copy from the current sheet and store them after
each other in a different sheet.

Please help,
Thanks,
Chris


--
pisanichris
------------------------------------------------------------------------
pisanichris's Profile: http://www.excelforum.com/member.php...o&userid=28138
View this thread: http://www.excelforum.com/showthread...hreadid=476531

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default transfering data

If it is multiple lines, then you can use Data=Filter=Autofilter

Select the week number from the drop down, then copy that data.

You can get the code by turning on the macro recorder and performing the
action manually.

You can find the destination by

set cell = Worksheets("DataSheet").Cells(rows.count,1).End(xl up)(2)

then you just use

with Worksheets("Roster").Autofilter.Range
set rng = .offset(1,0).Resize(.Rows.count-1)
End With
rng.Copy Destination:=cell

--
Regards
Tom Ogilvy

"pisanichris"
wrote in message
...

I need to transfer data from one sheet to another every week. The first
sheet will contain a roster and the second sheet will contain the
values/totals of the roster from throughtout the year.

Is it possible to make a formula that will lookup the cell "week
number" from the roster sheet (that changes every week) and pastes the
data under the cell that contains the name week number in the datasheet
(the sheet that contains the data from previos weeks.

Therefore, it will copy from the current sheet and store them after
each other in a different sheet.

Please help,
Thanks,
Chris


--
pisanichris
------------------------------------------------------------------------
pisanichris's Profile:

http://www.excelforum.com/member.php...o&userid=28138
View this thread: http://www.excelforum.com/showthread...hreadid=476531



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
transfering data between sheets Parker Jones Excel Discussion (Misc queries) 1 July 9th 09 10:44 PM
transfering data in another column entering more sorted data Kevin - Corporate Services Excel Worksheet Functions 0 August 6th 08 09:23 PM
Transfering data across worksheets GarToms Excel Discussion (Misc queries) 2 March 7th 06 01:31 PM
Transfering data from 1 worksheet to another Larry L Excel Discussion (Misc queries) 1 August 29th 05 01:30 PM
Transfering dynamic data Brent M[_2_] Excel Programming 0 September 16th 04 08:40 PM


All times are GMT +1. The time now is 07:37 AM.

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"