+ Reply to Thread
Results 1 to 3 of 3

Extracting Text

Hybrid View

  1. #1
    Registered User
    Join Date
    02-03-2011
    Location
    Bagram Airfield, Afghanistan
    MS-Off Ver
    Excel 2007
    Posts
    10

    Extracting Text

    Hello all. I need to extract the characters from a text string in several cells. Each cell has 78 characters in them.I need the characters from 45 and 61. Any suggestions? Thanks.

  2. #2
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: Extracting Text

    Hi,

    This will give you the 45th character:
    =MID(A1,45,1)

    This will give you the 61st character:
    =MID(A1,61,1)

    This will give you the 45th through to 61st characters (inclusive):
    =MID(A1,45,17)
    Hope that helps,

    Colin

    RAD Excel Blog

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Extracting Text

    So you need the 45th and 61st characters (or 45 to 61)?
    If the first

    =MID(A1,45,1)&MID(A1,61,1)
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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