Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 390
Default How do I repeat rows in Excel and automatically generate new value

I have an Excel 2007 worksheet with a limited amount of personnel data n it.
I want to automatically generate additional rows of identical data but with a
different name (or character in the name) of the email address and/or the
last name in each successive row. The object is to take a limited amount of
data and create a larger population size in order to have more data with
which to work in a test database.

Here's a sample worksheet:


EMAIL LNAME FNAME ORG
DOA JOHN ORG1
DOB JOHN ORG1
DOC JOHN ORG1
DOD JOHN ORG1
DOE JOHN ORG1
DOF JOHN ORG2
DOG JOHN ORG2
DOH JOHN ORG2
DOI JOHN ORG2
DOJ JOHN ORG2

Thanks much.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default How do I repeat rows in Excel and automatically generate new value

Enter this in A1
=CHAR(MOD(ROW(),26)+97) & "
and copy down

"Max" wrote:

I have an Excel 2007 worksheet with a limited amount of personnel data n it.
I want to automatically generate additional rows of identical data but with a
different name (or character in the name) of the email address and/or the
last name in each successive row. The object is to take a limited amount of
data and create a larger population size in order to have more data with
which to work in a test database.

Here's a sample worksheet:


EMAIL LNAME FNAME ORG
DOA JOHN ORG1
DOB JOHN ORG1
DOC JOHN ORG1
DOD JOHN ORG1
DOE JOHN ORG1
DOF JOHN ORG2
DOG JOHN ORG2
DOH JOHN ORG2
DOI JOHN ORG2
DOJ JOHN ORG2

Thanks much.

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 390
Default How do I repeat rows in Excel and automatically generate new v

Sheeloo, both your solutions work great! Thank you very much.

Max

"Sheeloo" wrote:

Enter this in A1
=CHAR(MOD(ROW(),26)+97) & "
and copy down

"Max" wrote:

I have an Excel 2007 worksheet with a limited amount of personnel data n it.
I want to automatically generate additional rows of identical data but with a
different name (or character in the name) of the email address and/or the
last name in each successive row. The object is to take a limited amount of
data and create a larger population size in order to have more data with
which to work in a test database.

Here's a sample worksheet:


EMAIL LNAME FNAME ORG
DOA JOHN ORG1
DOB JOHN ORG1
DOC JOHN ORG1
DOD JOHN ORG1
DOE JOHN ORG1
DOF JOHN ORG2
DOG JOHN ORG2
DOH JOHN ORG2
DOI JOHN ORG2
DOJ JOHN ORG2

Thanks much.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default How do I repeat rows in Excel and automatically generate new value

You can also use
=LOOKUP(MOD(ROW(),3),{0,1,2},{"aa","bbd","ccddd"}) & "

You can change 3 to 4,5,6... and add corresponding strings in
{"aa","bbd","ccddd"} to have as many as you want...


"Max" wrote:

I have an Excel 2007 worksheet with a limited amount of personnel data n it.
I want to automatically generate additional rows of identical data but with a
different name (or character in the name) of the email address and/or the
last name in each successive row. The object is to take a limited amount of
data and create a larger population size in order to have more data with
which to work in a test database.

Here's a sample worksheet:


EMAIL LNAME FNAME ORG
DOA JOHN ORG1
DOB JOHN ORG1
DOC JOHN ORG1
DOD JOHN ORG1
DOE JOHN ORG1
DOF JOHN ORG2
DOG JOHN ORG2
DOH JOHN ORG2
DOI JOHN ORG2
DOJ JOHN ORG2

Thanks much.

  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 390
Default How do I repeat rows in Excel and automatically generate new v

Thanks, Sheeloo. I'll give it a go.
Max

"Sheeloo" wrote:

You can also use
=LOOKUP(MOD(ROW(),3),{0,1,2},{"aa","bbd","ccddd"}) & "

You can change 3 to 4,5,6... and add corresponding strings in
{"aa","bbd","ccddd"} to have as many as you want...


"Max" wrote:

I have an Excel 2007 worksheet with a limited amount of personnel data n it.
I want to automatically generate additional rows of identical data but with a
different name (or character in the name) of the email address and/or the
last name in each successive row. The object is to take a limited amount of
data and create a larger population size in order to have more data with
which to work in a test database.

Here's a sample worksheet:


EMAIL LNAME FNAME ORG
DOA JOHN ORG1
DOB JOHN ORG1
DOC JOHN ORG1
DOD JOHN ORG1
DOE JOHN ORG1
DOF JOHN ORG2
DOG JOHN ORG2
DOH JOHN ORG2
DOI JOHN ORG2
DOJ JOHN ORG2

Thanks much.



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
excel - rows repeat on top cxxper Excel Worksheet Functions 4 March 1st 10 08:26 AM
how can I use excel to automatically generate routine report? scott Excel Worksheet Functions 0 December 29th 05 09:02 PM
how to repeat rows at the bottom while using the rows repeat at to Rows to repeat at the bottom Setting up and Configuration of Excel 1 August 31st 05 02:06 PM
Title Cut Off if Rows to Repeat & Columns to Repeat are Both Selec unibaby Excel Discussion (Misc queries) 2 August 24th 05 04:29 PM
Excel heading rows to repeat ironmaiden64083 Excel Discussion (Misc queries) 3 January 28th 05 10:09 PM


All times are GMT +1. The time now is 07:07 PM.

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"