Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Location
    Dallas, TX
    Posts
    1,004

    Cool Unanswered: Format cell for colons with double times

    Good afternoon everyone and Happy New Year to you all! ! ! It's been a while since I have been here and good to be back. I have a seemingly small but troublesome issue. In Microsoft Excel 2010 I have a sheet with beginning and ending times in One cell, but they need to be formatted with a colon for both. Like this (13:00 - 22:30). I know how to set it to format the cell with jsut one time entered, but how can you do it for 2 values in the same cell? Reason, we are loading data into a system and the sheet are SUPPOSED to come to us with the colons entered. But since they just won't do that, I was trying to find a way to set the sheet up so that I could just drop all of these values into it and have the colons in place. Not sure if it is possible but wanted to see if it was and if someone could show me how.

    Thank you and have a Wonderful Day,
    Bud

  2. #2
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,424
    Provided Answers: 8
    you can use the =text(ref,format)

    and use the & to Join to cell as one

    think of the & like the + but it Join the cell not adding them



    =text(celladdress,"hh:mm") & " - " & text(othercelladdress,"hh:mm")
    hope this help

    See clear as mud


    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB based on my own environment: vb6 sp5
    ASP based on my own environment: 5.6
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    MYLE
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •