Merge 3 lists into 1

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have 3 different lists that can vary in rows dependant on formulas an I am looking to have one list with the contents of the first list, then straight after that, the second list, the straight after the third list

Each list has

Column A, ID number
Column B, Name

Column E, ID number
Column F, Name

Column I, ID number
Column J, Name

Complete list being in M and N

Many thanks
 
Last edited:

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Here's one way:

ABCDEFGHIJKLMNOP
1IDNameIDNameIDNameIDName0
21Al4Debbie6Frank1Al3
32Bob5Erica 7Gayle 2Bob5
43Cal8Hank3Cal9
59Iris4Debbie
65Erica
76Frank
87Gayle
98Hank
109Iris
11

<tbody>
</tbody>
Sheet3

Worksheet Formulas
CellFormula
M2=IFERROR(INDEX((A$2:A$10,E$2:E$10,I$2:I$10),ROWS($M$2:$M2)-LOOKUP(ROWS($M$2:$M2)-1,$O$1:$O$4),1,MATCH(ROWS($M$2:$M2)-1,$O$1:$O$4)),"")
O2=ROWS($A$2:$A$10)-COUNTBLANK($A$2:$A$10)+O1
O3=ROWS($E$2:$E$10)-COUNTBLANK($E$2:$E$10)+O2
O4=ROWS($I$2:$I$10)-COUNTBLANK($I$2:$I$10)+O3

<tbody>
</tbody>

<tbody>
</tbody>



To keep the formula from getting too big, I made a helper column in O. Put 0 in O1, then put the formulas in O2:O4. These are the number of entries in each column. Once those are in place, you can put the formula in M2, copy to N2, then copy down the column as needed.
 
Upvote 0
Hi Eric W, That is just amazing, how do you do it!

Many thanks for your help!
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top