01-11-16, 14:50 #1Registered User
- Join Date
- Dec 2003
- Dallas, TX
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,
01-14-16, 12:27 #2(Making Your Life Easy)
Provided Answers: 10
- Join Date
- Feb 2004
- New Zealand
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
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
VB-NET based on my own environment started 2007
SQL-2005 based on my own environment started 2008
YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.
DONT WORRY ABOUT THOSE WHO TALK BEHIND YOUR BACK
THEY'RE BEHIND YOU FOR A REASON