+ Reply to Thread
Results 1 to 3 of 3

Extracting text from one cell and putting in new format in another cell

  1. #1
    Registered User
    Join Date
    09-10-2016
    Location
    Roxboro, NC
    MS-Off Ver
    2010
    Posts
    1

    Extracting text from one cell and putting in new format in another cell

    Hello,
    What I am trying to do is difficult for me to explain so let me just show you.

    I would like to take the information below:
    Company 4 Wheel Air Suspension Conversion Kit for 2002-2009 Audi A8

    And extract the Make, Model and Year range and convert it into this:
    Make=Audi|Model=A8|Year=2002|Year=2003|Year=2004|Year=2005|Year=2006|Year=2007|Year=2008|Year=2009

    New to the community but I am willing to pay for assistance.

    Thank you.
    Scott B

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Extracting text from one cell and putting in new format in another cell

    Hello and welcome to the forum

    Does the string always contain the year range in the format you show. i.e. 2002-2009 and always with a '-'.
    Is it also the only occurrence of a '-' in the string?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Extracting text from one cell and putting in new format in another cell

    Assuming text string in cell A1.
    Enter this formula in B1 and pull it across to C1
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and then enter formula in D1 and copy across until you see blanks.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by AlKey; 09-10-2016 at 02:54 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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] Extracting content from one cell and putting in another?
    By simonp820 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2016, 02:22 PM
  2. [SOLVED] Extracting data from one table format and putting into a different viewing format
    By BeachRock in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-19-2014, 05:55 PM
  3. [SOLVED] Putting text in a cell on the same row as an edited cell
    By London257 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-19-2012, 02:29 AM
  4. Replies: 1
    Last Post: 02-14-2012, 05:45 PM
  5. Excel 2003 formula: keep currency format when putting text and number in same cell
    By cdstelco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2011, 05:32 PM
  6. Putting Text in a referenced Cell
    By SpikeLumens in forum Excel General
    Replies: 13
    Last Post: 07-14-2008, 02:47 PM
  7. SAP BW Report - Putting the Unit of Measure or Currency in another Cell based on Format Cell
    By Frank & Pam Hayes in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2005, 01:40 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