Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / June 2007

Tip: Looking for answers? Try searching our database.

Automatically duplicate variables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dina - 13 Jun 2007 15:50 GMT
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
Ben McBen - 13 Jun 2007 16:10 GMT
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

> 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
[quoted text clipped - 10 lines]
>
> Many thanks for your help
Dina - 13 Jun 2007 16:41 GMT
Thanks Ben!  I guess I should've posted under 'new users' :)

> In many ways!
> 1.  Excel is pretty smart - If you enter "Name_1" and then drag the cell
[quoted text clipped - 23 lines]
> >
> > Many thanks for your help
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.