+ Reply to Thread
Results 1 to 3 of 3

Text to columns using a formula

  1. #1
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Text to columns using a formula

    Hi there, I want to find a way of getting times in minutes into split columns.

    See example below text string in cell O2

    3 30 38 73 90

    Times will either be single or double digit (ie no higher than 99).

    Assuming the above times are in Cell O2 - how can I populate P2 = 3, Q2=30, R2=38, S2=73, T2=90, U2= "", V2="" etc

    using a formula

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Text to columns using a formula

    Use this:
    =TRIM(MID(SUBSTITUTE(" "&$O2," ",REPT(" ",125)),125*COLUMNS($A:A),125))

    It wll return TEXT, and thus keep leading zeros. Ig you need NUMBERS...

    =--TRIM(MID(SUBSTITUTE(" "&$O2," ",REPT(" ",125)),125*COLUMNS($A:A),125))
    and leading zeros will be lost.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Re: Text to columns using a formula

    Legend, thanks very much

+ 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] tricky text formula from several columns and merge in one columns
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-19-2017, 10:54 AM
  2. Formula(s) to Split Text String Across Columns Using Columns as Seperator
    By WaylettChris in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2016, 01:13 PM
  3. "Text to columns" FORMULA , to separate dates from one column into two columns
    By nicolettaross in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-27-2012, 12:19 PM
  4. Formula to align two columns with nearly similar text and attached numeric columns
    By Benefits Recon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2012, 12:03 AM
  5. [SOLVED] text to columns: is there a formula?
    By nyc_doc in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 AM
  6. [SOLVED] text to columns: is there a formula?
    By CLR in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  7. [SOLVED] text to columns: is there a formula?
    By nyc_doc in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 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