+ Reply to Thread
Results 1 to 10 of 10

How to apply functions to multiple values separated by semicolon in one cell?

  1. #1
    Registered User
    Join Date
    10-09-2016
    Location
    Earth
    MS-Off Ver
    Office 365
    Posts
    19

    How to apply functions to multiple values separated by semicolon in one cell?

    For example, I have one cell with 3 cells with values like this, respectively:
    1
    5; 7; 8; 10
    4
    and I have a function that add 1 to an integer. How to return 3 cells with values:
    2
    6; 8; 9; 11
    5
    without using VBA or manually splitting column?
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by koko191; 12-14-2016 at 08:57 AM. Reason: add attachment

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: How to apply functions to multiple values separated by semicolon in one cell?

    can you attach file with desired result in respective cell.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    10-09-2016
    Location
    Earth
    MS-Off Ver
    Office 365
    Posts
    19

    Re: How to apply functions to multiple values separated by semicolon in one cell?

    I have added an example. Inside the file are 2 sheets. Column B should be the result of applying a "plus 1" function to column A (in Sheet2 case, it is a capitalize function). The values have to be separated by a semicolon followed by a space character.
    Last edited by koko191; 12-14-2016 at 10:01 AM.

  4. #4
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: How to apply functions to multiple values separated by semicolon in one cell?

    try this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy down.

  5. #5
    Registered User
    Join Date
    10-09-2016
    Location
    Earth
    MS-Off Ver
    Office 365
    Posts
    19

    Re: How to apply functions to multiple values separated by semicolon in one cell?

    I use that just as an example. What I'm working with is about 10000 lines of mp3 id3v2.3 tags in "a; b; c; d" format and I need to do a bunch of things to them, not just capitalization, but something more complex like reversing artist first name and last name, doing a table lookup and then replacing, etc...
    Last edited by koko191; 12-14-2016 at 06:48 PM.

  6. #6
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: How to apply functions to multiple values separated by semicolon in one cell?

    Suppose your name in "A2"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    10-09-2016
    Location
    Earth
    MS-Off Ver
    Office 365
    Posts
    19

    Re: How to apply functions to multiple values separated by semicolon in one cell?

    What does the formula do? I have just tested it in Excel but I don't really understand what it is supposed to do

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: How to apply functions to multiple values separated by semicolon in one cell?

    It reverses a name

    Jagger Mick ==> Mick Jagger

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: How to apply functions to multiple values separated by semicolon in one cell?

    Here is a VBA solution to your need to add 1 to strings: I think this is easiest (only?) option.

    Please Login or Register  to view this content.
    To use;

    =Prod(A1)

  10. #10
    Registered User
    Join Date
    10-09-2016
    Location
    Earth
    MS-Off Ver
    Office 365
    Posts
    19

    Re: How to apply functions to multiple values separated by semicolon in one cell?

    I wrote a vba script for this. I guess it is impossible to do this without any code after all.

+ 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] separate list of names in same cell separated by semicolon into one single list
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2014, 11:18 AM
  2. split multiple semicolon separated values into new rows for multiple columns
    By bruno08102013 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 01-05-2014, 05:27 PM
  3. Transpose single row containing semicolon separated values to column
    By Wilco84 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-04-2013, 07:50 AM
  4. [SOLVED] extract text from semicolon separated string
    By sharathnarayanan in forum Excel General
    Replies: 5
    Last Post: 08-12-2013, 08:53 AM
  5. [SOLVED] Macro to match values in cells separated by semicolon and comma
    By Ale84 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2013, 11:00 PM
  6. separated by a semicolon
    By Kiluk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2013, 02:38 AM
  7. Import multiple semicolon separated csv files
    By Ivodv in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-07-2012, 08:17 AM
  8. Column with semicolon-separated values
    By nsv in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-22-2006, 08:22 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