Custom Format, Combined Date, Time And Letter

Dec 15, 2008

I have a lot of data in the following format: 20080531T085930. Formatting the cells with yyyymmddThhmmss doesn't seem to be working. What's the correct way to handle this?

View 3 Replies


ADVERTISEMENT

Extract Time From Custom Date And Time Format

Sep 23, 2009

I have a file that has the Date and Time combined into one cell. I want to separate the two, and cannot find anywhere on the net to do so!

This is the cells format:
d/mm/yyyy h:mm

Cells look like this:
28/05/2008 12:30

View 6 Replies View Related

Date Time Picker Custom Format Property?

May 13, 2005

I'm trying to use the Date Time Picker control as a time picker and only want hours and minutes to show. Can this be done with its custom format property (Example)? The usual number formatting string doesn't seem to work.

View 6 Replies View Related

Format Date In Cell To Custom Format?

Feb 21, 2014

I have a column in excel which gets populated in the format "2/1/1980" when copied from a different source. I want a macro to run on this column and convert this in the below format. Required format: '02-01-80 (note the ' symbol before 02 which will keep it as text)

Existing ----> Required
2/1/1980 --> '02-01-80
2/1/1970 --> '02-01-70
2/1/1983 --> '02-01-83

I need this macro to run on two columns and replace them with the required format. I can do a find and replace either in the sheet or through hard coding the VBA, but as the date format keeps growing, I would need to do this via code and hence requesting the same.

View 4 Replies View Related

Date Custom Format

Nov 22, 2006

How do you make custom date format to a cell in such a way that it appears e.g. "Jan-06"?

I tried custom format "Mmm-yy" but it still resulted to "jan-06".

I want the "J" here to be in the upper case.

View 9 Replies View Related

Custom Date Format

Apr 23, 2008

I have not learned the custom number format feature. If someone could give me the format for the cell to display:

4/23 Wed

View 9 Replies View Related

Convert Imported Date / Time Data To Date / Time Format?

Jan 2, 2013

I have loaded a .csv file in which the first column contains date/times, e.g. 01/12/2012 00:00. How do I now tell Excel (2010) that this is in fact a date/time format? If I select one or more of the cells, click on the Number dialog box launcher and try to pick a suitable format tghe cells resolutely refuse to budge from being text (i.e. left-justified, still allows me to edit the 'seconds' component to a number > 60). Also which data type should I be using? The only one that appears to have a full date/time format listed is Custom (not Date or Time).

View 4 Replies View Related

Custom Date Format: For 2 Dates

Jun 15, 2007

I want to display 2 dates in one cell and have them custom formatted.

Eg. Display in one cell: 26 Jun - 27 Jun

With text typed: 26-6 - 27-6
(Or something along the lines of)

I know that dd mmm will display one date. But I cannot get 2 dates formatted. I tried dd mmm; dd mmm" - "dd mmm, which didn't work.

View 9 Replies View Related

Custom Date Format To Be Retained In .csv Also

Mar 14, 2007

i have the required date as part of a string, which i need to pull out and then format it as "yyyy-mm-dd hh:mm:ss" and put it in another file which will be saved as .csv

Here is the code i am trying to modify without much success so far

Sub dateFormat()

Dim dtMydate As Date
Dim sMydate As String
Dim strWhen As String

strWhen = "As on 13-MAR-2007 14:45:59 Hours IST" ' the starting string
'strWhen = Cells. Find("As on")

'take out the date portion from strWhen
strWhen = Mid(strWhen, InStr(strWhen, "-") - 2, (InStr(strWhen, "Hours") - 1) - (InStr(strWhen, "-") - 2))

dtMydate = CDate(strWhen)
Debug.Print dtMydate 'returned value is 13/03/2007 2:45:59 PM

dtMydate = Format(dtMydate, "yyyy-mm-dd hh:mm:ss")
Debug.Print dtMydate 'returned value is again 13/03/2007 2:45:59 PM...

View 8 Replies View Related

Create Custom Serialized Date Format

Jan 19, 2007

I am needing to create a sequential serial number using a format yyyy-nnn, where yyyy is the current year and nnn is a sequential number (2007-001). I've tried using both a formula and custom formats but cannot get the cell contents to display as desired. I've used TODAY()&"-"&"001", which gives a valid result of 39100-001, but this not what I need. I've tried many other combinations in the custom option for formatting the cell.

View 5 Replies View Related

Custom Date Format With Month All Caps

May 31, 2007

I am trying to get a custom date format that looks like:
30MAY07

I can get 30May07 with ddmmmyy but can't seem to find how to get the 3 letter month to display in caps.

Excel 2002 SP3 on WinXP

View 9 Replies View Related

Excel 2010 :: Can't Save Custom Table Style Format So That It Is Available Next Time When Open Workbook

Jun 10, 2013

I'm a fan of the Excel 2010 table styles, but can't figure one thing out. When I create a table in excel (Ctrl+T), I like to reformat it with a new defined style. When I save the style, I can use it while I'm in that instance of excel, but when I close and reopen excel, the style is gone. How to save the custom formats to they are always available?

View 3 Replies View Related

Split Date & Time Cell & Format Time As Hundreth Of Second

Sep 6, 2006

I have one column with as many as 50,000 or more rows. The data format for each row/ cell is unique as shown below ( date and time). I wanted to split the data as shown in "Formatted Data" below. Have Tried Text To Column formatting but didn't work right.

Raw Data: Formatted Data (2 cells):
2005/11/02 23:55:15.758 ==> 2005/11/02 23:55:15.758
2005/11/02 23:58:16.698 ==> 2005/11/02 23:58:16.698
2005/11/03 00:07:13.830
2005/11/03 00:10:14.971

View 6 Replies View Related

Copy N Paste Time Date/time Format

Oct 12, 2009

I have a cell with both date & time "10/9/09 3:15" This is put in the current cell by formula which indexes two dif. cells, Now I am trying to copy this cell and paste into another book but like to have only date. How can I do that? Each time I try it gives me the time value in the pasted cell and I cannot even format it.

View 5 Replies View Related

Format Date & Time Cell To Hide Time If 0:00

Dec 28, 2006

I have a Excel Dates & Times column where the time is not always used. In these cases the time is 12:00AM. Is there a way to Custom Formats the cell so that the time is only visible if it is not 12:00AM?

View 6 Replies View Related

Format Date & Time To Show Day, Date & Time

May 21, 2008

I have a sheet with a list of dates in it that I wish to format to show the day as well as date and time. I am trying to do this automatically with a macro, below is the before and the desired after.

Before
Format - dd/mm/yyyy hh:mm
Appearance - 29/03/2009 00:30

After
Format - ddd dd/mm/yyyy hh:mm
Appearance - Sun 29/03/2009 00:30

This works fine when I format the cells manually, but when I try to format them via macro '29/03/2009 00:30' becomes 'Sun 29/03/2009 12:30' which is obviously a totally different time! Has anyone got ay idea why it might be doing this?

View 6 Replies View Related

Convert And Format Date Time String To True Date Value

Oct 19, 2012

I have a spread sheet with a date colume that reads: 2012-06-27-19 I need to have this read like 06/27/2012 but nothing I do is working I have tried to go to the formatting process and backing the hr:mm out and that doesn't work. I really don't want to go line by line to manually correct this issue.. HENCE ... over 2000 lines

Second question: If I have a column that reads 02/15/2012 and another column that reads 3/27/2012 how to a format a 3rd column to make it read total number of days between 1st date and 2nd date?

View 1 Replies View Related

Converting Binary Date To Date / Time Format

Jun 9, 2014

I have a list of dates stored via the following :

20100101 how can I convert this to date/time format to show 01/01/2010?

View 4 Replies View Related

Calculating Time Difference Between Two Days Combined With IF Formula?

Jan 30, 2014

I am using the following formula in Column E to calculate the difference between an employees start time, and their previous shift end time in order to work out how many hours rest they have had:

=IF(A4=0,"",IF(I4=0,"",MOD(I4-B4,1)))

My Current Formula works fine for same day calculations, but if an employee finishes work at 18:00 on Friday and starts work at 22:00 Saturday night, Excel calculates the Total Rest hours as 04:00, when in fact they have had 28:00 hours rest...

Is there a way of calculating the hours difference between two dates?

I have attached a sample of my spreadsheet to illustrate

View 5 Replies View Related

Change Date And Time Format

Jun 24, 2013

Need to Change date and time Format.

23 June 2013 14:02:10 BST
" 23 June 2013 00:47:58 BS"
23 June 2013 13:22:21 BST
23 June 2013 13:22:21 BST

Find the attached dump : jlr.xlsx

Required Output

06/23/2013 14:02

View 2 Replies View Related

Date Time In Text Format

May 1, 2009

I have been sent an excel sheet, that contains a text column with a date and time format below

24/04/2009 1700
15/05/2009 2359
16/04/2009 1400

Is it possible to convert this into date & time to use in a calculation.

View 2 Replies View Related

Convert Date Time Format

Jan 26, 2007

I have a coloumn of cells in the format Dec 12 2005 07:04 PM
I need to convert them to the format 12/12/2005 19:04

View 9 Replies View Related

Format Cell For Date And Time

Apr 13, 2009

I have a problem when i try to format a cell. i download data from a website and it gives me the date and time in the first column, ex. 1/1/2009 5:00:00 pm. when i format the cell to date, the time is erased and the date remains which is what i want, ex. 1/1/2009. however, when i click on that cell or any other in that column, the display above, or "insert function" line still show the contents of the cell with the date and the time, ex. 1/1/2009 5:00:00 pm. is there any way i can change that so the time is erased and only the date remains, ex. 1/1/2009 when i click on the cell?

View 9 Replies View Related

Format Now Function For Time & Date

May 10, 2007

I have two worksheets which talk together and one of them gives a time stamp using some VBA code

=format(Now(),"dd/mm/yyyy AM/PM"

in the other spreadsheet I have the Now() function which has been working fine. However, when another user went into the spreadsheet went in it, my calculations between the two dates now error. I am presuming its because of the now function not having some formatting defined so is there anyway of changing this value? The cells-formatting will not obviously work as excel is getting confused between the two time types even though the format looks fine. To help the calculation that is messing up is

=IF($L7="","N",IF(DATEDIF($L7,$J$1,"d")>10,"N","Y"))

whereby L7 is the imported timestamp and J1 is now(). The calculation is to show which accounts become inactive after 10 days.

After reading up on the internet I know that to get round the problem I have to make sure that everyone is using the same regional settings. But I just have a couple of questions:-

1. I can understand the date calculation not working on the other persons machine, but when I went back to look at it I was getting the same error. Even though the file is shared, how come my settings didnt 'overwrite' and how come i was affected?

2. Is there a way to make the code work regardless of who opens it in whatever region? Im not sure if there is a fundamental problem but I cant rely on everyone having the same settings because I know that this will cause problems in the longterm.

3. Using the formuale Now(), is there no way of forcing that to a uk date format to stop the errors?

View 9 Replies View Related

Data Validation Format Letter Number Letter Number Etc.

Jul 11, 2009

I want to apply Data Validation to a cell, so that only the following combination of letters and numbers can be entered.

Letter Letter Number Number Number Number Number Number Letter.
e.g AB123456C.

View 14 Replies View Related

Convert Number To Date Time Format?

Dec 9, 2013

how to convert number to data time format:

eg. I have number 20121231230000 and I need its conversion to 31/12/2012 23:00.

I have tried to use fucntion date with left, mid, right but still I do not know how to extract time.

View 2 Replies View Related

Time Between Date Format Of Type Yyyymmddhhmmss

Mar 2, 2009

I have 2 dates format like 200903021124 and 200903030254. How do I use excel or excel VBA to calculate what is the time that elapses between this 2 date format?

View 3 Replies View Related

Counting Days In Date/Time Format

Sep 10, 2008

I am trying to count the number of orders written per day. I used the following formula on another sheet and it worked fine, however on this one, A8 is a date only, and F2:F2000 is a date and a time.

I tried reformating the cell for date only, and it displays only the date, however, the time information is still stored, and I can't get it to do the count. Is there a way to count the date regardless of the time?

=COUNTIF('ACT Legacy'!$F$2:$F$2000,Stats!A8)

View 5 Replies View Related

Calculate Date/time Format Over 24 Hours

Nov 22, 2006

I need to calculate the difference between two cells that are formated like this: 11/10/2006 13:00. Simple subtract only works when the date hasn't changed (the subtract formula seems to focus on the time and ignore the date).

I found a formula that will work, but the results are in regular numbers, I need the hh:mm format and if I change the format of the result column, the time displayed is wrong.

The formula is=((B2-A2)*1440)/60)

If my result is 122.6 in regular numbers, when I convert to hh:mm I get 14:00.

Is there a better way to do this? Also, is there a way to eliminate weekend & holiday hours from the calculation? This is not as important as getting the results to calculate correctly in the hh:mm format.

View 9 Replies View Related

Converting Date And Time From Odd Text To Standard Format?

May 10, 2014

I'm copying data from another source to excel, and for certain date entries they come as text in the following format "On 14 May at 8:00". Is there anyway to convert multiple entries like this into a standard date format? With or without time is fine - just the date will do.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved