+ Reply to Thread
Results 1 to 3 of 3

output based on comma seperated input (dynamic) with fixed string.

  1. #1
    Registered User
    Join Date
    10-17-2016
    Location
    London
    MS-Off Ver
    2010
    Posts
    2

    output based on comma seperated input (dynamic) with fixed string.

    Hi Everyone

    I have a input column where user will enter customer Number seperated by comma. The input can be anywhere form 1 customer to 20 customers.


    Customer Input
    12,A345,456,T877
    43
    456,989,111,235,345,875
    34,46


    The output i want is each customer number encolsed with certain fixed text.

    Output
    ThursdaySale={12-ontime-,A345-ontime-,456-ontime-,T877-ontime-}
    ThursdaySale={43-ontime-}
    ThursdaySale={456-ontime-,989-ontime-,111-ontime-,235-ontime-,345-ontime-,875-ontime-}
    ThursdaySale={34-ontime-,46-ontime-}


    How can achieve desire output, please guide.


    Thanks

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2202
    Posts
    1,468

    Re: output based on comma seperated input (dynamic) with fixed string.

    give this formula a shot..

    =CONCATENATE(CHAR(123),SUBSTITUTE(A1,",","-ontime-,"),"-ontime-",CHAR(125))

  3. #3
    Registered User
    Join Date
    10-17-2016
    Location
    London
    MS-Off Ver
    2010
    Posts
    2

    Re: output based on comma seperated input (dynamic) with fixed string.

    works thanks
    Last edited by md66; 10-18-2016 at 01:25 AM.

+ 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] Dynamic COUNTIF function looking for text value in comma-separated string
    By thewhawk in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-27-2017, 06:29 PM
  2. split string seperated by comma
    By NeoDasari in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2015, 10:51 AM
  3. Creating a comma seperated list based on a search criteria from a column
    By HUGH JORGAN in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-30-2013, 05:20 PM
  4. Comma Seperated Value Files
    By TheRevenant in forum Excel General
    Replies: 4
    Last Post: 06-12-2013, 01:22 AM
  5. Replies: 2
    Last Post: 11-22-2011, 12:33 PM
  6. convert excel column data to comma seperated string
    By faraz in forum Excel General
    Replies: 4
    Last Post: 04-28-2010, 03:40 AM
  7. Output Variable as a comma seperated Number
    By koticphreak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2008, 06:46 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