#1   Report Post  
scott45
 
Posts: n/a
Default Easier Way?

I have a spreedsheet which we enter data in on a daily basis. At the end of
the day I want the last data to go to next sheet. Now I know how to do this
but is there an easier way by copiny and pasting instead of doing it manual.
example
On day 2 I collect the data from day 1, then on day 3 I get info from day 2
etc till the end of month. what is the quickest way to do this. The way I am
doing it by entering in the formula by ="1st'A1 etc. I know to click on the
cell and the info goes in but I have 31 days to do and it is time consuming.
thanks in advance
  #2   Report Post  
Max
 
Posts: n/a
Default

One play using non-array formulas ..

Link to demo file at: http://cjoint.com/?kmfnGKCeap
AutoMovingData_ToSheets_v1_Scott45_wksht.xls

Assuming source data (sample below)
is in sheet: Data, cols A to C, data from row2 down

Day Item Qty
1 G 83
1 C 13
1 K 17
1 B 27
2 L 55
2 P 22
etc

In sheet: Data
---------------------
List the days in col E, in E2 down: 1,2,3,4,5 ...

Put in F2:
=IF($A2=INDIRECT("E"&COLUMNS($A$1:A1)+1),ROW(),"")

Copy F2 across as many cols as there are days listed in col E,
then fill down to say, row200 to cover the max expected data range
in cols A to C. Leave the top row cells (F1,G1,H1,etc) empty.

Click Insert Name Define
Put under "Names in workbook:": WSN
Put in the "Refers to:" box:
=MID(CELL("Filename",INDIRECT("A1")),FIND("]",CELL("Filename",INDIRECT("A1")
))+1,32)
Click OK

The above defines WSN as a name we can use to refer to the sheetname in
formulas. It will auto-extract the sheetname implicitly. Technique came from
a post by Harlan Grove.

In a new sheet named: 1 (for day 1)
-----------------------
Paste the col headers into A1:B1

Put in A2:
=IF(ISERROR(SMALL(OFFSET(Data!$E:$E,,
MATCH(WSN+0,Data!$E:$E,0)-1),ROWS($A$1:A1))),"",
INDEX(Data!B:B,MATCH(SMALL(OFFSET(Data!$E:$E,,
MATCH(WSN+0,Data!$E:$E,0)-1),ROWS($A$1:A1)),
OFFSET(Data!$E:$E,,MATCH(WSN+0,Data!$E:$E,0)-1),0)))

Copy A2 across to B2, fill dow to B200
(cover the same range size as was done in "Data" cols F to J)

Cols A & B will return only the lines for day: 1
from "Data", all neatly bunched at the top, viz.:

Item Qty
G 83
C 13
K 17
B 27

Now, just make a copy of the sheet: 1, rename it as: 2
and you'd get the corresponding results for day: 2

Repeat the copy rename sheet process
to get the rest of the day sheets (a one time job)
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"scott45" wrote in message
...
I have a spreedsheet which we enter data in on a daily basis. At the end

of
the day I want the last data to go to next sheet. Now I know how to do

this
but is there an easier way by copiny and pasting instead of doing it

manual.
example
On day 2 I collect the data from day 1, then on day 3 I get info from day

2
etc till the end of month. what is the quickest way to do this. The way I

am
doing it by entering in the formula by ="1st'A1 etc. I know to click on

the
cell and the info goes in but I have 31 days to do and it is time

consuming.
thanks in advance



  #3   Report Post  
Max
 
Posts: n/a
Default

Another link to the sample:
http://www.savefile.com/files/8416106
AutoMovingData_ToSheets_v1_Scott45_wksht.xls
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


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
Is there any easier way to do this formula? Ms. P Excel Worksheet Functions 1 September 27th 05 06:23 AM
Please make it easier to access the IS functions (e.g., isblank) . melyndac2005 Excel Worksheet Functions 9 August 28th 05 05:06 AM
There has to be any easier way!! mully New Users to Excel 18 August 13th 05 12:26 PM
Trying to enlarge tab size on worksheet for easier reading ricknstl Excel Discussion (Misc queries) 4 May 8th 05 03:41 PM
Excel Hyperlink: Is there an easier way to follow then double-cli. Bob Small Excel Discussion (Misc queries) 1 December 9th 04 11:24 PM


All times are GMT +1. The time now is 06:50 PM.

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

About Us

"It's about Microsoft Excel"