Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Automatically duplicate variables

I have a large number of variables (header columns) in excel that I need
duplicated with additional versions (ex: 4) - is there a way to do so
automatically in Excel?

Example:
Header Columns: Name | Age | Address | Account Number | etc etc

Need:
Header Columns: Name_1|Name_2|Name_3|Name_4|Age_1|Age_2|Age_3|Age_ 4| etc
etc....

Can this be done automatically?

Many thanks for your help


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 56
Default Automatically duplicate variables

In many ways!
1. Excel is pretty smart - If you enter "Name_1" and then drag the cell
handle over (fill) then it will realise thet 1 needs incrementing and do it
for you.

2. You could use functions:

= "Name_" & column()-2

Assumin your are in column C, when dragged accross it will increment

3. Macros - limitless posibilities


"Dina" wrote:

I have a large number of variables (header columns) in excel that I need
duplicated with additional versions (ex: 4) - is there a way to do so
automatically in Excel?

Example:
Header Columns: Name | Age | Address | Account Number | etc etc

Need:
Header Columns: Name_1|Name_2|Name_3|Name_4|Age_1|Age_2|Age_3|Age_ 4| etc
etc....

Can this be done automatically?

Many thanks for your help


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Automatically duplicate variables

Thanks Ben! I guess I should've posted under 'new users' :)

"Ben McBen" wrote:

In many ways!
1. Excel is pretty smart - If you enter "Name_1" and then drag the cell
handle over (fill) then it will realise thet 1 needs incrementing and do it
for you.

2. You could use functions:

= "Name_" & column()-2

Assumin your are in column C, when dragged accross it will increment

3. Macros - limitless posibilities


"Dina" wrote:

I have a large number of variables (header columns) in excel that I need
duplicated with additional versions (ex: 4) - is there a way to do so
automatically in Excel?

Example:
Header Columns: Name | Age | Address | Account Number | etc etc

Need:
Header Columns: Name_1|Name_2|Name_3|Name_4|Age_1|Age_2|Age_3|Age_ 4| etc
etc....

Can this be done automatically?

Many thanks for your help


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
Creating Entries Automatically from Variables zimbound Excel Discussion (Misc queries) 3 July 21st 06 03:43 AM
automatically updating graphs based upon conditional variables GGC Charts and Charting in Excel 2 June 22nd 06 01:31 PM
Automatically duplicate and sort data into seperate w.sheet Ting Excel Discussion (Misc queries) 1 June 21st 06 02:14 AM
DELETE DUPLICATE DATA IN A SHEET AUTOMATICALLY Sony Manoj Excel Discussion (Misc queries) 1 November 20th 05 08:39 AM
How can I automatically remove duplicate data within a column? MECG Excel Discussion (Misc queries) 1 June 1st 05 12:22 AM


All times are GMT +1. The time now is 05:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"