+ Reply to Thread
Results 1 to 5 of 5

Conditional Concatenated List

  1. #1
    Registered User
    Join Date
    12-17-2019
    Location
    Leeds, UK
    MS-Off Ver
    365
    Posts
    65

    Question Conditional Concatenated List

    Hi all,

    I have a highway junction with 3 arms. Each arm has an ID (1A, 1B, 1C).
    I have the bus services that approach the junction from each arm.
    I then have a table of interventions (say, new bus lanes on some of the arms), each affecting a different combination of the junction's arms.
    I'd like, for each intervention, the list of bus services affected, using the most basic formula possible.

    An example spreadsheet is provided. The yellow table is the expected result that I'd like formulas to calculate. [edit, apologies for the error in the 2nd row, hopefully you get the idea!]

    Thanks for your ideas.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,786

    Re: Conditional Concatenated List

    What is the error? What should it be changed to?
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,786

    Re: Conditional Concatenated List

    In K3 copied down:

    =IFERROR(LET(i,TRANSPOSE(H4:J4),TEXTJOIN("",,FILTER($D$3:$D$5,i=1))),"")
    Attached Files Attached Files
    Last edited by AliGW; 04-10-2024 at 05:06 AM. Reason: Workbook added.

  4. #4
    Registered User
    Join Date
    12-17-2019
    Location
    Leeds, UK
    MS-Off Ver
    365
    Posts
    65

    Re: Conditional Concatenated List

    That's excellent, thanks Ali

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,786

    Re: Conditional Concatenated List

    You're welcome.

    You could probably adapt it to spill down automatically, but the formula would need to be longer, and you specified 'simple'.

+ 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. Match a concatenated value in a concatenated list in a vba function
    By Rolly_Sefu in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-14-2021, 07:52 AM
  2. Replies: 13
    Last Post: 04-20-2021, 06:08 PM
  3. [SOLVED] Array Formula to return list of X Concatenated values, where X=N, N-1...,1
    By jjqq in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-13-2020, 09:04 AM
  4. Replies: 6
    Last Post: 06-19-2018, 05:11 PM
  5. [SOLVED] Group consecutive numbers in a concatenated list
    By Excel-lecxE in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-15-2018, 11:21 AM
  6. [SOLVED] Concatenated list of years for each winner
    By neil40 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 07-25-2017, 09:25 AM
  7. vba to Match concatenated values in concatenated columns
    By bjurick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2012, 03:45 PM

Tags for this Thread

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