A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

copy selected rows to second worksheet (NOT Cut + Paste)



 
 
Thread Tools Display Modes
  #1  
Old June 4th, 2010, 12:01 AM posted to microsoft.public.excel.newusers
gyrra
external usenet poster
 
Posts: 1
Default copy selected rows to second worksheet (NOT Cut + Paste)

I am trying to create a simple tool log that also incorporates a sign in/out
sheet as a second worksheet.
What I want is to be able to select (not using cut + paste) several rows and
by simply being selected on "tool list" worksheet, temporarly copied into
"sign_in" and "sign_out" worksheets.
I need the data selected from sheet 1 "tools list" to fill rows (starting at
20) of the next 2 sheets, and then end user simply prints needed sheet, for
employee to sign.

This allows me to select only the tools that that employee is checking
in/out at that time and print that list from a second (or third) sheet along
with data in previous 20 lines.

I would prefer to be able to keep this workbook protected, but it is not a
nessessity.

  #2  
Old June 4th, 2010, 02:05 PM posted to microsoft.public.excel.newusers
Luke M[_4_]
external usenet poster
 
Posts: 451
Default copy selected rows to second worksheet (NOT Cut + Paste)

Let's say you mark the rows you want by placing an "X" in column A. To pull
column B of selected rows, could do this array* formula:

=IF(ROWS(A$20:A20)COUNTIF('Sheet 1'$A:$A,"X"),"",INDEX('Sheet
1'!B:B,SMALL(IF('Sheet 1'!$A$1:$A$2000="X",ROW($A$1:$A$2000)),ROW($A1))))

Copy this over to the right as needed, and then down far enough to allow the
maximum amount of entries. If you are splitting this over multiple sheets,
and a set amount (say 100) entries go on first sheet, modify as so:

=IF(ROWS(A$20:A20)+100COUNTIF('Sheet 1'$A:$A,"X"),"",INDEX('Sheet
1'!B:B,SMALL(IF('Sheet
1'!$A$1:$A$2000="X",ROW($A$1:$A$2000)),ROW($A1)+10 0)))

*Array formulas must be confirmed using Ctrl+Shift+Enter, not just Enter.
--
Best Regards,

Luke M
"gyrra" wrote in message
...
I am trying to create a simple tool log that also incorporates a sign
in/out
sheet as a second worksheet.
What I want is to be able to select (not using cut + paste) several rows
and
by simply being selected on "tool list" worksheet, temporarly copied into
"sign_in" and "sign_out" worksheets.
I need the data selected from sheet 1 "tools list" to fill rows (starting
at
20) of the next 2 sheets, and then end user simply prints needed sheet,
for
employee to sign.

This allows me to select only the tools that that employee is checking
in/out at that time and print that list from a second (or third) sheet
along
with data in previous 20 lines.

I would prefer to be able to keep this workbook protected, but it is not a
nessessity.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:08 PM.


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