PC Review


Reply
Thread Tools Rate Thread

Merge two lists

 
 
Murtaza
Guest
Posts: n/a
 
      17th Dec 2004
I have 2 sets of data range i.e set1 from range [Sheet1!A1:A32] and set2 is
from [Sheet2!B1:B32]

Set1 contains Vegetables List
Set2 contains Fruits List

Now I want to merge both lists in [Sheet3! C1:C64] but one value from set1
and one value from set2

Below is graphical translation:

SET1
A1: Tomatto
A2: Cucummber
A3: Carrott
...............so on


SET2
B1: Apple
B2: Oranges
B3: Bananna
...............so on


SET3 [to create]
C1: Tomatto
C2: Apple
C3: Cucummber
C4: Oranges
C5: Carrott
C6: Bananna
...............so on

Please help


 
Reply With Quote
 
 
 
 
Peo Sjoblom
Guest
Posts: n/a
 
      17th Dec 2004
If indeed the sheets are called 1 and 2 you can use this in C1 and copy down

=OFFSET(INDIRECT("'Sheet"&MOD(ROW(2:2),2)+1&"'!A1"),FLOOR(ROW(2:2)/2,1)-1,MOD(ROW(2:2),2))

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Murtaza" <NoEmail@NoEmail> wrote in message
news:ewT2Dd%(E-Mail Removed)...
>I have 2 sets of data range i.e set1 from range [Sheet1!A1:A32] and set2
>is
> from [Sheet2!B1:B32]
>
> Set1 contains Vegetables List
> Set2 contains Fruits List
>
> Now I want to merge both lists in [Sheet3! C1:C64] but one value from set1
> and one value from set2
>
> Below is graphical translation:
>
> SET1
> A1: Tomatto
> A2: Cucummber
> A3: Carrott
> ..............so on
>
>
> SET2
> B1: Apple
> B2: Oranges
> B3: Bananna
> ..............so on
>
>
> SET3 [to create]
> C1: Tomatto
> C2: Apple
> C3: Cucummber
> C4: Oranges
> C5: Carrott
> C6: Bananna
> ..............so on
>
> Please help
>
>



 
Reply With Quote
 
Murtaza
Guest
Posts: n/a
 
      17th Dec 2004
Thanks Peo!

"Peo Sjoblom" <(E-Mail Removed)> wrote in message
news:uhQTYd$(E-Mail Removed)...
> If indeed the sheets are called 1 and 2 you can use this in C1 and copy

down
>
>

=OFFSET(INDIRECT("'Sheet"&MOD(ROW(2:2),2)+1&"'!A1"),FLOOR(ROW(2:2)/2,1)-1,MO
D(ROW(2:2),2))
>
> --
> Regards,
>
> Peo Sjoblom
>
> (No private emails please, for everyone's
> benefit keep the discussion in the newsgroup/forum)
>
>
>
> "Murtaza" <NoEmail@NoEmail> wrote in message
> news:ewT2Dd%(E-Mail Removed)...
> >I have 2 sets of data range i.e set1 from range [Sheet1!A1:A32] and set2
> >is
> > from [Sheet2!B1:B32]
> >
> > Set1 contains Vegetables List
> > Set2 contains Fruits List
> >
> > Now I want to merge both lists in [Sheet3! C1:C64] but one value from

set1
> > and one value from set2
> >
> > Below is graphical translation:
> >
> > SET1
> > A1: Tomatto
> > A2: Cucummber
> > A3: Carrott
> > ..............so on
> >
> >
> > SET2
> > B1: Apple
> > B2: Oranges
> > B3: Bananna
> > ..............so on
> >
> >
> > SET3 [to create]
> > C1: Tomatto
> > C2: Apple
> > C3: Cucummber
> > C4: Oranges
> > C5: Carrott
> > C6: Bananna
> > ..............so on
> >
> > Please help
> >
> >

>
>



 
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
Merge contact lists and email with mail merge DiHo Microsoft Outlook Contacts 1 26th Jan 2009 10:07 PM
Merge lists Tem Microsoft C# .NET 8 29th Apr 2008 09:50 AM
merge distribution lists =?Utf-8?B?Um9iZXJ0Tg==?= Microsoft Outlook Contacts 3 22nd Dec 2005 11:47 PM
How do I merge two different lists in Access? =?Utf-8?B?c2FuZHJhIGJvY2tob2xk?= Microsoft Access External Data 1 26th Jul 2005 06:21 PM
Merge two lists Murtaza Microsoft Excel Programming 2 17th Dec 2004 06:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:45 AM.