+ Reply to Thread
Results 1 to 3 of 3

Get data out Cell input into next cell

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question Get data out Cell input into next cell

    Hi all,

    i'm having issues to get the following done: I have a Takt in SAP which we use to maintain an overview of the completed work. I copy thos lines into excel to make a transfer to our following shift. But I want some information out that copied line to be automaticlly put in the cell next to it.

    E.g., this is the line I copy from SAP to EXCEL:


    PRM1465 15_AB__MOVE SHOCK RECORDER TO PINTS_ 30.000 MIN


    And now I want that the time we have to do this (30 MIN in this case), to be automaticlly put into in the cell right next to it. So you get something that looks like this:



    PRM1465 15_AB__MOVE SHOCK RECORDER TO PINTS_ 30.000 MIN | 30 |


    The tricky bit is that every procedure has another name, but the buildup is always the same (4 underscores, minutes written after the time, etc.), so only the time is a delta, but will always be displayed in minutes ( e.g. 5, 15, 30, 60, 120) with a max. of 3 digits.

  2. #2
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Get data out Cell input into next cell

    Hi and welcome

    You can use the following

    =TRIM(SUBSTITUTE(LEFT(RIGHT(SUBSTITUTE(A2,"_",REPT(" ",99)),99),99),"MIN",""))+0
    Excel Guru in the making

    <----------If the question has been answered to your satisfication please click the Add Repuation star to the left

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Get data out Cell input into next cell

    Hi and welcome to the forum

    You said the time will never be more than 3 digits, and provided there will always be 3 decimal places, try this...
    =MID(A1,LEN(A1)-10,7)*1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Getting mouse selected cell as input to start operations on data of that cell row
    By reach78 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-20-2013, 01:48 AM
  2. Replies: 14
    Last Post: 01-22-2013, 12:07 PM
  3. Trying to format one cell to match data in two cells and input data from third cell
    By Ghostcoy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-29-2010, 12:10 PM
  4. Data from Input Box overrides cell input validation
    By Winon in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-01-2007, 02:29 PM
  5. Replies: 2
    Last Post: 01-25-2005, 04:06 AM

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