+ Reply to Thread
Results 1 to 3 of 3

CONCATENATE Based On Condition

  1. #1
    Registered User
    Join Date
    02-28-2020
    Location
    India
    MS-Off Ver
    2016
    Posts
    36

    CONCATENATE Based On Condition

    Hi All,

    Need your help to get Formula or Macro.

    I have data in Column A,B & C as below
    A B C
    ValueLK Check Update
    A+Z+B Z 1, 2, 3
    A+Y+B Y 4, 5
    A+X+B X 8, 9, 10
    A+C+B+Z Z 1, 2, 3, 4
    B+X X 7, 3, 4, 1, 2, 3

    It should check for the character in B column if exists then print output in D column as below

    Output
    A+Z+B+1
    A+Z+B+2
    A+Z+B+3
    A+Y+B+4
    A+Y+B+5
    A+X+B+8
    A+X+B+9
    A+X+B+10
    A+C+B+Z+1
    A+C+B+Z+2
    A+C+B+Z+3
    A+C+B+Z+4
    B+X+7
    B+X+3
    B+X+4
    B+X+1
    B+X+2
    B+X+3

    PFA excel sample FYR

    TIA
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: CONCATENATE Based On Condition

    Hi DeepMa,

    If you had version 365 of Excel and the newer functions, you could do this answer in a single cell. The formula would be:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    VStack Transpose TextSplit.xlsx

    Verity that you are still using version 2016 and keep asking.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    02-28-2020
    Location
    India
    MS-Off Ver
    2016
    Posts
    36

    Re: CONCATENATE Based On Condition

    Thanks MarvinP for your swift response, but if i have more that 1000 i need to keep update the formula appending the cell info. Is there any other way to do this

+ 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. Concatenate based on condition
    By Meherbomb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-14-2018, 10:24 PM
  2. How to concatenate 2 columns based on a condition
    By kisnah in forum Excel General
    Replies: 16
    Last Post: 09-29-2015, 04:16 AM
  3. MAcro to concatenate based on condition
    By rshnkmr39 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-10-2013, 07:11 PM
  4. [SOLVED] concatenate based on a condition
    By tepke in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-10-2013, 07:03 AM
  5. Concatenate Cells Based on a Condition in Next Row
    By brendanec in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-06-2012, 03:34 PM
  6. [SOLVED] CONCATENATE headers based on 1 condition
    By bonny24tycoon in forum Excel General
    Replies: 2
    Last Post: 04-27-2012, 10:06 AM
  7. concatenate 3 cells based on condition
    By Pasha81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2009, 09:55 AM

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