PC Review


Reply
Thread Tools Rate Thread

2 spreadsheets - populating one by multiplys of another

 
 
Steve
Guest
Posts: n/a
 
      13th May 2010
Example:
In spreadsheet - ONE, it is populated in a column:

A
B
C
D

In spreadsheet - TWO, it is populated in a column:

1
2
3
4
****************************************
Calculated Results desired in spreadsheet - ONE:
A 1
A 2
A 3
A 4
B 1
B 2
B 3
B 4
C 1
C 2
C 3
C 4
D 1
D 2
D 3
D 4

Thanks for any direction


 
Reply With Quote
 
 
 
 
SteAXA
Guest
Posts: n/a
 
      13th May 2010
The fast way is that you can do an import data from external source and your
database is the worksheet, you join the sheets and you must remember to order
data.
It's more easy to use.
Ste'

 
Reply With Quote
 
Roger Govier
Guest
Posts: n/a
 
      13th May 2010
Hi Steve

You don't need to use 2 sheets.
On sheet1 enter
A2 A, A3, B, A4 C, A5 D
In B2 Enter the number of repeats that you want 4

In D4 enter
=INDEX(A:A,INT(ROW()/$B$2)+1)&MOD(ROW(),$B$2)+1
and copy down as required

The key is to start the formula in the row number represented by your
Repeats in B2
So if you want 10 repeats, enter 10 in B2, and start the first formula
in D10

Once you have created your series, Copy>Paste Special to wherever you
want to Fix the values.
--
Regards
Roger Govier

Steve wrote:
> Example:
> In spreadsheet - ONE, it is populated in a column:
>
> A
> B
> C
> D
>
> In spreadsheet - TWO, it is populated in a column:
>
> 1
> 2
> 3
> 4
> ****************************************
> Calculated Results desired in spreadsheet - ONE:
> A 1
> A 2
> A 3
> A 4
> B 1
> B 2
> B 3
> B 4
> C 1
> C 2
> C 3
> C 4
> D 1
> D 2
> D 3
> D 4
>
> Thanks for any direction
>
>

 
Reply With Quote
 
Steve
Guest
Posts: n/a
 
      13th May 2010
Thanks Roger:
I have two separate already populated spreadsheets here....one spreadsheet
has 2 columns, and the other has 4 columns.... Your code functions as you
denoted, but the functionality of the data encompasses 2 spreadsheets.
Thanks.
Steve Hicks


"Roger Govier" wrote:

> Hi Steve
>
> You don't need to use 2 sheets.
> On sheet1 enter
> A2 A, A3, B, A4 C, A5 D
> In B2 Enter the number of repeats that you want 4
>
> In D4 enter
> =INDEX(A:A,INT(ROW()/$B$2)+1)&MOD(ROW(),$B$2)+1
> and copy down as required
>
> The key is to start the formula in the row number represented by your
> Repeats in B2
> So if you want 10 repeats, enter 10 in B2, and start the first formula
> in D10
>
> Once you have created your series, Copy>Paste Special to wherever you
> want to Fix the values.
> --
> Regards
> Roger Govier
>
> Steve wrote:
> > Example:
> > In spreadsheet - ONE, it is populated in a column:
> >
> > A
> > B
> > C
> > D
> >
> > In spreadsheet - TWO, it is populated in a column:
> >
> > 1
> > 2
> > 3
> > 4
> > ****************************************
> > Calculated Results desired in spreadsheet - ONE:
> > A 1
> > A 2
> > A 3
> > A 4
> > B 1
> > B 2
> > B 3
> > B 4
> > C 1
> > C 2
> > C 3
> > C 4
> > D 1
> > D 2
> > D 3
> > D 4
> >
> > Thanks for any direction
> >
> >

> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Populating Junction tables and/or populating two tables at once =?Utf-8?B?Q2hlZXNlX3doaXo=?= Microsoft Access Getting Started 2 4th Oct 2006 03:56 PM
Can Excel Spreadsheets be saved as Microsoft Works spreadsheets? =?Utf-8?B?RVhDRUwgV09SS1MgQ09ORlVTRUQ=?= Microsoft Excel Misc 4 18th Aug 2006 11:21 PM
How do I combine data from various Excel spreadsheets into one Excel spreadsheets SouthAfricanStan Microsoft Excel Programming 1 29th Jan 2006 05:01 PM
Populating lst Box =?Utf-8?B?Q2hhZA==?= Microsoft Access Forms 3 31st Dec 2004 12:46 PM
converting wk4 & wks spreadsheets to office 2000 excel spreadsheets liz Microsoft Excel Worksheet Functions 2 17th Oct 2003 02:36 AM


Features
 

Advertising
 

Newsgroups
 


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