We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Separating time interval elements(hh:mm:ss) recorded in single col into separate cols

Durations of events are recorded in a single column formatted hh:mm:ss.
I want the three elements: hh, mm.ss to be placed in individual columns.
I have tried Text to Columns, but all that does is to ocerwrite the original column with
00:00:00 and add two more columns with 00:00:00.
In the Text to Columns process I am using Delimited with the colons as the delimiters

I must be doing something wrong, but am head scratching insane.gifwhat it is.

Help please!

Comments

  • CLAPTON
    CLAPTON Posts: 41,865 Forumite
    10,000 Posts Combo Breaker
    edited 21 February 2010 at 5:12PM
    maybe I'm not understanding you

    but if say c3 = 10:30:05

    then =HOUR(c3) give 10
    =minute(c3) gives 30
    =second (c3 ) gives 5
  • Lil306
    Lil306 Posts: 1,692 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    oldwiring wrote: »
    Durations of events are recorded in a single column formatted hh:mm:ss.
    I want the three elements: hh, mm.ss to be placed in individual columns.
    I have tried Text to Columns, but all that does is to ocerwrite the original column with
    00:00:00 and add two more columns with 00:00:00.
    In the Text to Columns process I am using Delimited with the colons as the delimiters

    I must be doing something wrong, but am head scratching insane.gifwhat it is.

    Help please!

    I think you're on the right track. How about text - columns. Then apply a custom cell properties to each field.

    I.e Column A, custom time of HH, Column B, custom time of MM, Column C with SS with no decimal places. Or something like that

    Excel isn't really my forte but text to columns is the first thing I thought of too
    Owner of andrewhope.co.uk, hate cars and love them

    Working towards DFD

    HSBC Credit Card - £2700 / £7500
    AA Loans - (cleared £9700)
  • oldwiring
    oldwiring Posts: 2,452 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    :beer:Clapton's suggestion works. I'll see if Lil306's does too.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.7K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.8K Work, Benefits & Business
  • 603.3K Mortgages, Homes & Bills
  • 178.2K Life & Family
  • 260.8K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.