Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Copy lists and paste them automatically

I have a few lists: (columns and rows)
List1 List2 List3
apple red 10 apple red 30 apple blue 30
apple red 10 orange red 30
apple blue 20 apple blue 30
orange red 20 banana 10

These list are updated periodically, either adding more data or erasing
them. I'd like to combine them into a single list data so that i can sort
them according to the "fruit" and "color", then add up the subtotal in each
change in "color".
The problem is i have about 80 lists, to copy and paste them one by one is
time consuming.

Is there a simple way to copy and paste these lists in the desired order for
sorting and subtotal?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 180
Default Copy lists and paste them automatically

Need more details here sucha as-

Are these lists on the same worksheet or different?
Are these lists from different workbooks?
are these lists at a specific location on each worksheet or at random
location?
Are these named ranges?

based on answers to the above, the solution will chagne.
But in most likely situation, a macro needs to be created.

--
Pranav Vaidya
VBA Developer
PN, MH-India


"jackysoh" wrote:

I have a few lists: (columns and rows)
List1 List2 List3
apple red 10 apple red 30 apple blue 30
apple red 10 orange red 30
apple blue 20 apple blue 30
orange red 20 banana 10

These list are updated periodically, either adding more data or erasing
them. I'd like to combine them into a single list data so that i can sort
them according to the "fruit" and "color", then add up the subtotal in each
change in "color".
The problem is i have about 80 lists, to copy and paste them one by one is
time consuming.

Is there a simple way to copy and paste these lists in the desired order for
sorting and subtotal?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Copy lists and paste them automatically

Hi Pranav,
The original lists are from a same worksheet. And i want to perform my
subtotals calculation to a different worksheet. But they are all a same
workbook.

The list locations are standard, eg:
List1 A2:C21
List2 E2:G21
List3 I2:K21
List4 M2:O21
List5 A24:C43
List6 E24:G43
....
List80 M150:O169 something like this

To clarify my requirement, these are actually my stocks, where it contains
customer, model and qty column. The different list indicates the locations
they are stored, pallets by pallets in the location.
Once a week, i want to know my total stocks for the models, hence i have to
copy them all into a new worksheet, sort (by model) and perform a subtotal
(by model).

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Copy lists and paste them automatically

Has anyone got a solution yet?
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Copy lists and paste them automatically

Try Tools, Macros, Record new Macro

jackysoh wrote:

Has anyone got a solution yet?


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
Copy and paste cahrt to new sheet-update data automatically? SKlee Charts and Charting in Excel 5 May 28th 07 02:00 PM
Excel cut/Paste Problem: Year changes after data is copy and paste Asif Excel Discussion (Misc queries) 2 December 9th 05 05:16 PM
Copy and paste automatically pedro AM Excel Discussion (Misc queries) 4 November 17th 05 08:08 PM
how do i copy drop down lists and paste them KJP Excel Discussion (Misc queries) 1 October 7th 05 02:49 PM
copy-paste as Values automatically Anand Excel Worksheet Functions 0 September 23rd 05 07:10 PM


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

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"