Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
tom tom is offline
external usenet poster
 
Posts: 570
Default auto copy to new worksheet

I have made a worksheet containing a a large number of products (product
list) and want to automatically populate another worksheet (order sheet)when
the quantity column has a number.
for example:
sheet 1
a:1 a:2 a:3
xyz 2 $9.95

so that when a:2 (the quantity column) =1, the cooresponding info goes to
the order sheet. Any ideas would be appreciated
--
regards,

Tom
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default auto copy to new worksheet

One way which gets you there ..

Assuming source data in Sheet1 cols A to C (your product list),
data from row2 down where the key col is col B = quantity

In Sheet2 (your order sheet),

Put in A2:
=IF(Sheet1!B2="","",IF(Sheet1!B2=1,ROW(),""))
(Leave A1 blank)

Put in B2:
=IF(ROW(A1)COUNT($A:$A),"",INDEX(Sheet1!A:A,SMALL ($A:$A,ROW(A1))))

Copy B2 to D2. Select A2:D2, copy down to cover the max expected extent of
data in Sheet1. Format col C as currency. Hide away col A. You'll get the
required results returned in cols B to D, ie only the lines from Sheet1 where
the quantity is =1, with all result lines all neatly bunched at the top.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"tom" wrote:
I have made a worksheet containing a a large number of products (product
list) and want to automatically populate another worksheet (order sheet)when
the quantity column has a number.
for example:
sheet 1
a:1 a:2 a:3
xyz 2 $9.95

so that when a:2 (the quantity column) =1, the cooresponding info goes to
the order sheet. Any ideas would be appreciated
--
regards,

Tom

  #3   Report Post  
Posted to microsoft.public.excel.newusers
tom tom is offline
external usenet poster
 
Posts: 570
Default auto copy to new worksheet

Thanks Max.
--
regards,

Tom


"tom" wrote:

I have made a worksheet containing a a large number of products (product
list) and want to automatically populate another worksheet (order sheet)when
the quantity column has a number.
for example:
sheet 1
a:1 a:2 a:3
xyz 2 $9.95

so that when a:2 (the quantity column) =1, the cooresponding info goes to
the order sheet. Any ideas would be appreciated
--
regards,

Tom

  #4   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default auto copy to new worksheet

Welcome, Tom.
Thanks for posting back.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"tom" wrote in message
...
Thanks Max.
--
regards,

Tom



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
Auto copy down depending on criteria Kim Excel Worksheet Functions 3 July 4th 06 12:53 PM
Can not copy a worksheet to another workbook cyndi Excel Discussion (Misc queries) 2 November 10th 05 06:50 PM
Copy from one worksheet to another Pete Excel Discussion (Misc queries) 1 November 2nd 05 11:53 AM
How to Copy a Password Protected Excel Worksheet [email protected] Excel Worksheet Functions 1 October 8th 05 08:02 PM
how do I make a copy of a worksheet and retain formulas but not data FireBrick Setting up and Configuration of Excel 2 December 29th 04 07:33 PM


All times are GMT +1. The time now is 05:11 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"