+ Reply to Thread
Results 1 to 2 of 2

formula to merge and replicate 2 lists

  1. #1
    Registered User
    Join Date
    08-24-2018
    Location
    italy
    MS-Off Ver
    2016
    Posts
    1

    Question formula to merge and replicate 2 lists

    hi all,
    i'm struggling with the following.

    list 1 (nx1 structure -rows x columns)
    x
    y
    z

    list 2 (nx1 structure)
    de
    us
    uk

    desidered output (nx2)
    x de
    x us
    x uk
    y de
    y us
    y uk
    z de
    z us
    z uk

    while I now this can be done in Power BI, I wonder if there's a way to have it using some excel formulas.
    could you please help?
    thanks

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,056

    Re: formula to merge and replicate 2 lists

    Use:

    =IFERROR(INDEX($A$2:$A$4,1+INT((ROWS(I$2:I2)-1)/3)),"")

    and:

    =IF(I2="","",IFERROR(INDEX($E$2:$E$4,1+MOD((ROWS(J$2:J2)-1),3)),""))

    Next time, read the yellow banner (top of page) and act on its suggestions.

    NB in Italy, you may need to use ; instead of ,
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. How to merge two lists
    By homoludens1000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-02-2018, 01:12 AM
  2. Trying to replicate a mail merge on an embedded Word file
    By CodingNoob in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-10-2017, 06:59 PM
  3. Merge lists with headings
    By theorize99 in forum Excel General
    Replies: 7
    Last Post: 12-26-2016, 01:45 PM
  4. How to replicate lists in multiple spreadsheets?
    By ingoporto in forum Excel General
    Replies: 8
    Last Post: 05-17-2016, 03:33 PM
  5. Two lists - merge into one
    By baiaz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-08-2016, 02:56 AM
  6. Replies: 4
    Last Post: 05-31-2012, 07:27 PM
  7. merge two lists together
    By wlan in forum Excel General
    Replies: 1
    Last Post: 02-25-2012, 01:55 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