+ Reply to Thread
Results 1 to 15 of 15

Combine 5 lists into one big list

  1. #1
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769

    Combine 5 lists into one big list

    Hello everybody
    sheet data contains 5lists of employees in different columns
    I want to combine them in one big list (in one column) in another sheet

    example of each list:
    no -employee name -Job
    1. - ahmed Ali - job AA
    2-ibrahim hassan-job Bb
    3-iman hany-job Cc
    4-amqny bilal-job DD
    each list contains 10 employees and list 5 contains 30
    lists can increase in employees numbers
    I want a formula to combine them all
    please your help
    Last edited by leprince2007; 12-22-2016 at 03:02 PM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Combine 5 lists into one big list

    W would need to know where your other lists are located (columns), so it would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769

    Re: Combine 5 lists into one big list

    I am sorry .I post from an old phone that upload cannot be accomplished.
    I edited post 1

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Combine 5 lists into one big list

    You still haven't told us which columns you are using for your five lists.

    Pete

  5. #5
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769

    Re: Combine 5 lists into one big list

    every list consists of 3 columns like I posted before.
    all 5 lists are next each other.

  6. #6
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769

    Re: Combine 5 lists into one big list

    up......up.......up
    Is there something that needs explaining?

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Combine 5 lists into one big list

    Yes. Things that are better explained with an actual workbook attachment.

    I post from an old phone that upload cannot be accomplished.

    When you get somewhere where you are able (you have uploaded in the past) please send us something we can work with.
    Dave

  8. #8
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769

    Re: Combine 5 lists into one big list

    I could finally uploaded the file:
    www.datafilehost.com/d/0b74c5ce
    please your support

  9. #9
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Combine 5 lists into one big list

    Many members are reluctant to down load from third party sites. I am one of them. There are too many risks.

    You've uploaded directly to the forum before. If you've forgotten how:

    To Attach a File:

    1. Scroll down to the window below your post Additional Options
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.

  10. #10
    Registered User
    Join Date
    12-19-2016
    Location
    Rawalpindi, Pakistan
    MS-Off Ver
    MS Office 2016.
    Posts
    18

    Re: Combine 5 lists into one big list

    merge-three-named-ranges-into-one-list.png

    Excel 2007 array formula in the cell where you want to have the fill list(e.g D2):

    =IFERROR(INDEX(List1, ROWS(D1:$D$1)), IFERROR(INDEX(List2, ROWS(D1:$D$1)-ROWS(List1)), IFERROR(INDEX(List3, ROWS(D1:$D$1)-ROWS(List1)-ROWS(List2)), ""))) + CTRL + SHIFT + ENTER

    This is an array formula, here is how to enter it. Type the formula in cell D2, press and hold CTRL + SHIFT simultaneously. Press Enter once. Release all keys. If you did it correctly, you now have curly brackets before and after the formula.
    Copy cell D2 and paste it to D3:D12.
    This example merges three columns into one column using an array formula. (See the image)

  11. #11
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Combine 5 lists into one big list

    I'm not sure how much work you want to do yourself, and how much you want this to be automated. For example, you could fill the numbers 1 to 72 down column A manually, but then if you add some more names to any of the lists you would need to remember to extend the sequence. Consequently, I've tried to put my solution together so that it requires minimal effort on your part, and is as generic as possible. The only input required on the Report sheet is the spacing between columns (i.e. 3) in cell J1 and the column letter of the starting column in J2 (i.e. A), and then everything else is derived from that input.

    I've used a small lookup table in columns K to N where the column letters for each block are derived (A, D, G etc.), along with the column number (1, 4, 7 etc.). These could easily be set manually, but I have generated them automatically from the two inputs. Column M generates the number of names in each list (MAX of the appropriate column), and column N gives a cumulative sum of those numbers. It is important that cell N1 contains zero.

    Then the numbers in column A can be generated with this formula in A2:

    =IF(ROWS($1:1)>MAX(N:N),"",ROWS($1:1))

    which can be copied down until you start to get blanks - I've copied to A80 in the attached file. The names can be picked up using this formula in B2:

    =IF($A2="","",INDEX(Data!$A:$O,$A2-VLOOKUP($A2-1,$N$1:$N$6,1)+2,(MATCH($A2-1,$N$1:$N$6)-1)*$J$1+1+COLUMNS($B:B)))

    and this can be copied into C2 for the Jobs. The range A to O is specific to your layout, but this could be made larger if you had larger spacing between your lists and would make the solution more generic. Again, these formulae can be copied down to complete the lists, and by copying to row 80 this will cope with (a few) extra names being added.

    Next time you should attach your file to one of your posts, rather than use an external file-hosting site.

    Hope this helps.

    Pete
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769

    Re: Combine 5 lists into one big list

    Mr. Pete_UK thank you for your solution but you used many helping columns.
    Mr. Regality you made a great solution, but please apply it to my file
    I love independent formulas!!

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,455

    Re: Combine 5 lists into one big list

    Quote Originally Posted by leprince2007 View Post
    Mr. Regality you made a great solution, but please apply it to my file
    Have you tried to do that for yourself? You will learn more by doing so.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  14. #14
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769
    Quote Originally Posted by AliGW View Post
    Have you tried to do that for yourself? You will learn more by doing so.
    Thank you sir for your help
    I did it

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,455

    Re: Combine 5 lists into one big list

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Combine two lists
    By dianaschar in forum Excel General
    Replies: 4
    Last Post: 03-29-2013, 02:58 PM
  2. how to combine 2 lists to one list?
    By majodan in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-23-2011, 05:06 AM
  3. Combine lists
    By morlindb in forum Excel General
    Replies: 8
    Last Post: 07-01-2010, 11:07 AM
  4. Combine lists
    By rderkins in forum Excel General
    Replies: 2
    Last Post: 04-25-2010, 09:59 PM
  5. Combine two lists into a list of unique items
    By mkvassh in forum Excel General
    Replies: 4
    Last Post: 03-26-2010, 03:27 AM
  6. Please Help Combine to Two Lists
    By lostinformulas in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-31-2006, 12:06 PM
  7. Can I compare 2 lists to combine duplicate entries in new list?
    By Tinytall in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-13-2005, 01:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1