+ Reply to Thread
Results 1 to 4 of 4

How to retrieve a particular value from multiple lines of a field in Excel?

  1. #1
    Registered User
    Join Date
    11-27-2015
    Location
    Toronto, ON, Canada
    MS-Off Ver
    2010
    Posts
    7

    Post How to retrieve a particular value from multiple lines of a field in Excel?

    For an example, my input strings of a field in Excel as follow:

    "
    Telemanager Cancel VPN token
    Service ID: 000156589739

    Assigned to employee : XXX - XXX, XXX ; XXX - XXX & XXX

    Disconnect Service : VPN
    "

    I need to retrieve just the number 000156589739 which is located next to "Service ID:"

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to retrieve a particular value from multiple lines of a field in Excel?

    a2=MID(A1,SEARCH("Service ID:",A1,1)+12,12)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    11-27-2015
    Location
    Toronto, ON, Canada
    MS-Off Ver
    2010
    Posts
    7

    Re: How to retrieve a particular value from multiple lines of a field in Excel?

    Thanks so much oeldere. You have SOLVED my query perfectly.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to retrieve a particular value from multiple lines of a field in Excel?

    You're welcome. We appreciate the feedback!

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

    It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ 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. Replies: 2
    Last Post: 05-03-2016, 10:07 PM
  2. Replies: 6
    Last Post: 02-16-2016, 06:24 AM
  3. Replies: 9
    Last Post: 08-24-2015, 05:46 AM
  4. [SOLVED] Report with repetitive lines. Retrieve value ONLY one time
    By DPP in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-31-2014, 12:00 PM
  5. IF Statement: After certain dates, retrieve several lines of text
    By c.mayer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2014, 10:48 AM
  6. Multiple Lines for one student with one field different. Consolidate to one line
    By LisaOri in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-15-2013, 05:14 AM
  7. Using Array in a row to retrieve specified field
    By kumatae in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-07-2013, 12:17 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