Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 137
Default Copying selected columns from 1 chart to another.

This was previously asked in programming but the original question was
missleading the answers so:

From the start:

My chart has names in A7:A78, skills in D1:AA1.
Using RAND() and indexing a separate vertical list of the skills I can
randomly generate 4 from the list. These are placed in C160:F160 with the
list of names copied to A161:A232.

What I want to do is find each randomly generated skill (C160:F160) in
D1:AA1 then copy the corresponding data from below it (*7:*78) into C161:C232
for the 1st skill, D161:D232 for the 2nd and so on for all 4.

For example:
1st generated skill is archery. I want to find archery in D1:AA1 which is
actually H1 then copy H7:H78 into C161:C232. Same for the 2nd skill into
D161:D232, etc.

How would I go about this?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,722
Default Copying selected columns from 1 chart to another.

In cell C161:
=OFFSET($C7,,MATCH(C$160,$D$1:$AA$1,0))

Copy down and acorss to cell F232.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Darren" wrote:

This was previously asked in programming but the original question was
missleading the answers so:

From the start:

My chart has names in A7:A78, skills in D1:AA1.
Using RAND() and indexing a separate vertical list of the skills I can
randomly generate 4 from the list. These are placed in C160:F160 with the
list of names copied to A161:A232.

What I want to do is find each randomly generated skill (C160:F160) in
D1:AA1 then copy the corresponding data from below it (*7:*78) into C161:C232
for the 1st skill, D161:D232 for the 2nd and so on for all 4.

For example:
1st generated skill is archery. I want to find archery in D1:AA1 which is
actually H1 then copy H7:H78 into C161:C232. Same for the 2nd skill into
D161:D232, etc.

How would I go about this?

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
change color to selected columns in a stacked column chart Noa Charts and Charting in Excel 2 April 28th 23 07:45 PM
Multiple cells or columns are selected instead of selected cell or Mikey Excel Discussion (Misc queries) 1 April 29th 09 09:48 PM
Copying selected data and headings JLY Excel Discussion (Misc queries) 1 July 14th 08 10:37 PM
Copying only selected items to another worksheet firewaterjoe Excel Worksheet Functions 1 January 23rd 08 06:12 PM
Copying selected rows to another sheet tacarme Excel Worksheet Functions 3 June 25th 05 11:46 AM


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