PC Review


Reply
Thread Tools Rate Thread

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

 
 
gyrra
Guest
Posts: n/a
 
      4th Jun 2010
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.

 
Reply With Quote
 
 
 
 
Luke M
Guest
Posts: n/a
 
      4th Jun 2010
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)+100>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)+100)))

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

Luke M
"gyrra" <(E-Mail Removed)> wrote in message
news:EB83BF1A-C7B9-4732-AB7A-(E-Mail Removed)...
>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.
>



 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      4th Jun 2010
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"gyrra" <(E-Mail Removed)> wrote in message
news:EB83BF1A-C7B9-4732-AB7A-(E-Mail Removed)...
>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.
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy selected rows to a new worksheet =?Utf-8?B?RGF2aWQgR2Vyc3RtYW4=?= Microsoft Excel Programming 2 5th Feb 2007 04:01 PM
Macro to copy and paste a user selected number of rows bozwero Microsoft Excel Programming 2 29th Nov 2006 11:32 AM
copy nonblank rows from many worksheets and paste them onto one worksheet starman Microsoft Excel Programming 2 21st Jun 2006 12:21 PM
Copy rows and paste to new worksheet Hammer_757 Microsoft Excel Programming 2 6th May 2004 01:39 PM
Copy selected rows into another worksheet =?Utf-8?B?ZFNi?= Microsoft Excel Misc 3 16th Dec 2003 01:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:49 PM.