+ Reply to Thread
Results 1 to 9 of 9

extract data from an input cell

  1. #1
    Registered User
    Join Date
    10-19-2011
    Location
    Billings, MT
    MS-Off Ver
    Excel 2003
    Posts
    74

    extract data from an input cell

    HI
    My guys at work want to input data as follows into a cell.
    4-5 or 3-2-1

    How can I break this into 2 or 3 cells. The format being the first cell is for Feet, 2nd cell is for Inches and the 3rd cell is for quarters of an inches if necessary. Is there a function that can do that do this.
    Thanks
    Ted

  2. #2
    Registered User
    Join Date
    10-19-2011
    Location
    Billings, MT
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: extract data from an input cell

    Oh, one more issue
    other examples of data input could be
    13-2-1
    13-11-0
    12-2-3
    So the first two numbers could be 1or 2 digits while the third number is only 1 digit long.

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: extract data from an input cell

    You can use text to columns to achieve this. But if you are interested in formulas, assuming that you have text in A1, try these formulas

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: extract data from an input cell

    If you third number is of only 1 digit you can use following formula in D1

    Please Login or Register  to view this content.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: extract data from an input cell

    Use TextToColumns with hyphen as a delimiter.

  6. #6
    Registered User
    Join Date
    10-19-2011
    Location
    Billings, MT
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: extract data from an input cell

    thanks
    that worked and is way above my excel level.
    Ted

  7. #7
    Registered User
    Join Date
    10-19-2011
    Location
    Billings, MT
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: extract data from an input cell

    solved
    thanks

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: extract data from an input cell

    Glad to know that it helped.
    If you are satisfied with the answer provided, please mark this thread as solved.
    Moreover you may also click on * (star) to Add Reputation to those who have put their time and efforts to help you in this forum. This is another way to say thanks.

  9. #9
    Registered User
    Join Date
    11-30-2012
    Location
    Los Angeles, California
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: extract data from an input cell

    i learn some idea here thanks to all who share their knowledge.
    http://chatwing.com/

+ 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. Extract user input data from one excel file into another
    By jigneshoctober in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2013, 07:39 PM
  2. how to extract input data?
    By jackoat in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-28-2006, 01:45 AM
  3. How to extract input data?
    By jackoat in forum Excel General
    Replies: 0
    Last Post: 03-28-2006, 01:40 AM
  4. Extract Data Validation Input Messages and Titles
    By Dodson Brown in forum Excel General
    Replies: 6
    Last Post: 04-18-2005, 06:06 PM
  5. [SOLVED] Extract Data Validation Input Messages and Titles
    By Dodson Brown in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-18-2005, 06:06 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