+ Reply to Thread
Results 1 to 8 of 8

Formaula to convert data

  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    68

    Formaula to convert data

    Wanted a formula to convert the below datas to as given in right hand side

    Before formula After formula
    0 0:9:8.0 9.8
    0 0:9:7.0 9.7
    0 0:9:7.0 9.7
    0 0:9:7.0 9.7
    0 0:9:59.0 9.59
    0 0:9:59.0 9.59
    0 0:9:58.0 9.58
    0 0:9:58.0 9.58
    0 0:9:58.0 9.58
    0 0:9:58.0 9.58
    0 0:9:56.0 9.56
    0 0:9:56.0 9.56
    0 0:9:55.0 9.55
    0 0:9:55.0 9.55

    Any help needed as i am newbie...

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Formaula to convert data

    Try this :

    =SUBSTITUTE(MID(A1,FIND("":"",A1)+1,FIND(""."",A1,FIND("":"",A1)+1)-FIND("":"",A1)-1),"":"",""."")
    Last edited by JasperD; 07-09-2014 at 08:39 AM.
    Please click the * below if this helps

  3. #3
    Registered User
    Join Date
    02-09-2014
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    84

    Re: Formaula to convert data

    Try this:
    Before in A1, formula in B1 then drag it down.(double negative needed to convert to value)

    =--SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,":",".",2),":","")," ",""),".","",2)

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Formaula to convert data

    This also works:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by newdoverman; 07-09-2014 at 09:40 AM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Formaula to convert data

    How about this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Please Login or Register  to view this content.

  6. #6
    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: Formaula to convert data

    Just this

    =--SUBSTITUTE(A1,"0 0:","")

    Format cell as Custom m:ss

    A
    B
    1
    0 0:9:8.0
    9:08
    2
    0 0:9:7.0
    9:07
    3
    0 0:9:7.0
    9:07
    4
    0 0:9:59.0
    9:59
    5
    0 0:9:59.0
    9:59
    6
    0 0:9:58.0
    9:58
    7
    0 0:9:55.0
    9:55
    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

  7. #7
    Registered User
    Join Date
    01-16-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: Formaula to convert data

    A great thanks to all ... Excel Forum just rocks ...

    But my confern is i wanted to calculate the average and these are the time. Can anyone help me to calculate average ?

  8. #8
    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: Formaula to convert data

    Try this one

    =AVERAGE(--SUBSTITUTE(A1:A7,"0 0:",""))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    A
    1
    0 0:9:8.0
    2
    0 0:9:7.0
    3
    0 0:9:7.0
    4
    0 0:9:59.0
    5
    0 0:9:59.0
    6
    0 0:9:58.0
    7
    0 0:9:55.0
    8
    9
    9:36

+ 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. Replies: 2
    Last Post: 06-03-2014, 10:52 AM
  2. formaula problem
    By lsapp289 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2013, 03:07 AM
  3. Excel Formaula
    By timmycl_7 in forum Excel General
    Replies: 1
    Last Post: 06-11-2008, 07:08 AM
  4. [SOLVED] insert rotating formaula
    By Rich Mcc in forum Excel General
    Replies: 2
    Last Post: 03-14-2006, 09:25 AM
  5. [SOLVED] Formaula to multiply and add
    By Frank Malone in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-05-2006, 05:55 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