Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Merge two lists

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


  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 3,268
Default Merge two lists

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
...
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




  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Merge two lists

Thanks Peo!

"Peo Sjoblom" wrote in message
...
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
...
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
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
Merge two lists to get one with unique records Jugglertwo Excel Discussion (Misc queries) 2 July 2nd 08 09:46 PM
compare and merge lists in separate worksheets EAH Excel Worksheet Functions 1 March 7th 08 05:03 AM
help with vlookup to merge two lists dlee388 Excel Discussion (Misc queries) 8 December 4th 07 12:28 AM
Merge/Combine address lists JICDB Excel Worksheet Functions 2 October 30th 06 09:34 PM
How can I merge different lists in Excel? Nancie Excel Discussion (Misc queries) 1 January 6th 06 01:35 PM


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

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

About Us

"It's about Microsoft Excel"