Convert A Date In Specific Format
Oct 19, 2009
I'm trying to convert a date in the following format: 19970121 to 1/21/1997 and am having trouble getting rid of the leading zero in the final version. I also need it to pick up the 2 digits in months that have them from 9 (Sept) through 12 (Dec), though, for use in a VLOOKUP function. Can this be done at all?
Here is the code I've been using so far that doesn't entirely work for what I need it to do:
=CONCATENATE(LEFT(RIGHT(B2,4),2),"/",RIGHT(B2,2),"/",LEFT(B2,4))
where B2 refers to the column the original date form (19970121) is in. I'm still stuck with the leading zero in this code.
View 9 Replies
ADVERTISEMENT
Jan 7, 2009
If A1 is 81209, how can I use functions in B1 to convert it into DEC/09/2008?
View 4 Replies
View Related
Oct 26, 2012
Every month, I have an import a report to a spreadsheet. At my column A, it supposed to be a date format.
For some reasons, I have a combination of a few cells of date format and a few cells of general format with no order at all.
What I need is: Search in the A column, if date format leave it , if not change from general to date format.
View 2 Replies
View Related
May 6, 2009
I work in the flooring industry and the format we use for cuts of carpet/vinyl is 40-3 (for 40.25 feet), etc. So we are trying to create an excel spreadsheet that will add up these cuts. Right now it's kind of a mess because we have decimals in a column we will be hiding and are converting that to our industry format.
The formula I am having trouble with is as follows:
=MID(A18,1,FIND(".",A18)-1)&"-"&MID(A18,FIND(".",A18),3)*12
The problem is that whenever the totals end in zero, the formula won't convert 40.00 to 40-0. It gives me an error every time. If the total is 40.25 it will convert it to 40-3 just fine.
View 7 Replies
View Related
Oct 6, 2008
Example......
In D2 I have: =B2
In D3 I have manually input: (space)3-08
As you can see the CONCATENATE puts the "39569" date in A2 But the second line puts the text date as I prefer. What I would like to do is put in a formula or macro in D2 and down that will change the "Mar-08" to "3-08" so it CONCATENATEs correctly to column A. Simply: I'm trying to avoid manually inputing the text version "3-08" (or whatever M-Y) into D2 down a hundred or so rows!
View 3 Replies
View Related
Mar 23, 2012
How we can convert any data which is in General format in to date format.For ex I've:
19/03/2012 14:57 (General format)
I want the output/result
19-Mar
View 5 Replies
View Related
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
Dec 23, 2009
I'm in the military and for maintenance we use the Julian date the format goes as follows "09357" that is simplified as 09 = the year and 357= the three hundred and fifty seventh day of the year. so 09357= 12,23,2009..
so on to my question:
how can i make excel auto convert the julian date to the regular date and vice versa?
View 6 Replies
View Related
Jan 17, 2012
I have these as input entered as text:
January 01, 2011 January 01, 2011 February 28, 2010 May 12, 2011 June 02, 2010 February 28, 2010 May 12, 2011 June 02, 2010 February 28, 2010
but I need it in this DATE format:
MM/DD/YYYY
I need it as a formula to be entered into a cell in excel (not VBA)
View 9 Replies
View Related
Sep 11, 2007
How do I change a date "10/01/2004" into a format like 20041001? I used concatenate(right(A1,4),left(A1,2),mid(A1,4,2)) but the function takes the serial value of the date as an argument and concatenates that . So I get a different value.How can I get away with it?
View 9 Replies
View Related
Jan 23, 2014
I have a column with dates like:
Jan 22 2014
Dec 7 2013
Mar 17 2013
which I want to convert to a more standard (sortable) format.
Maybe 1/22/14
View 4 Replies
View Related
Mar 5, 2009
I have imported date field values from ClearQuest(IBM Product) into Excel worksheet. after import the data display format in the excel looks like
Thursday, February 19, 2009 9:11:42 AM
Now I need to calculate the age of the defect in number of days by using the formula
=NOW()-J26 where the cell J26 contains the above data . However I always get the display as #VALUE in the cell.
I changed the field format for cell J26 to custom dddd, mmmm dd, yyyy h:mm:ss AM/PM but still does not work.
My question now is- how do I convert dddd, mmmm dd, yyyy h:mm:ss AM/PM to mm/dd/yyyy h:mm:ss AM/PM so that I would be able to find the age of the defects?
Or is the a way to change the format for NOW() to something dddd, mmmm dd, yyyy h:mm:ss AM/PM?
View 3 Replies
View Related
Jul 22, 2009
I am having some issues converting the dates in column A on the attached spreadsheet to the mmmm format. I cannot get the dates to change format at all so I was hoping someone might have some ideas why. I have tried everything I can think of. The only thing that has worked so far has been to retype the date in the cells. I have 32000 rows of data I have to convert.
View 6 Replies
View Related
Jan 29, 2013
I pull data from a database that outputs the date in this format, 1/29/2013 and I need to reformat it to input it into another database.
The other database requires the date to be in this format, 01292013.
What VBA code can I use to convert this date into the correct format?
View 1 Replies
View Related
Sep 9, 2009
I am trying to convert US dates (with times e.g mm/dd/yy mm:hh) to UK date format I do not want to chage the time.
View 9 Replies
View Related
Apr 15, 2013
I have a worksheet where in a column, dates are stored in various date format i.e. it may be DMY or MDY or YMD.
08-06-12
08-06-12
08-07-12
08-07-12
13/08/2012
13/08/2012
13/08/2012
14/08/2012
Above is just for an example, above dates are for the month of August, but as can been some cells are in MDY formate and some in DMY. Can I have formula to convert different date formats into one date format?
View 9 Replies
View Related
Nov 14, 2011
I have following in cell A1
122211
This represents 22-Dec -2011. Formula to convert the number in to a date format.
View 3 Replies
View Related
Sep 6, 2012
I have dates in Col E that are in mm/dd/yyy. I would like a macro to convert these in the format dd/mm/yyyy.
View 9 Replies
View Related
Jun 9, 2014
i am looking for vba macro to convert date format (indonesian language) to be text format, see this below :
sample (col.a)
after vba
09/10/14
09 Oktober 2014
26/12/11
26 Desember 2011
05/06/10
05 Juni 2010
etc...
View 6 Replies
View Related
Nov 13, 2006
I am trying to make a very simple macro but get stuck in de Excel date format. When using the date "=TODAY()" in one cel it is no problem but I want to integrate it in the CONCATENATE function.
I want to create this text "(WG 01-01-2006)" but then with the actual date of that day of course, which can be inserted in de active cell.
Whatever I do, copy, pastespecial, reed text with RIGHT, change format on an temporary cell etc. Excel keeps returning the number in Excel date format counting from 01-01-1900. Nice for calculating but I want the date text!
View 9 Replies
View Related
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
Dec 9, 2006
I am parsing a string which contains (European) dates:
"10/08/2005,11/08/2005,12/08/2005,13/08/2005,14/08/2005,".
When broken into individual cells, dates before the 13th of the month are recognised as "American" dates and display as "08/10/2005", "08/11/2005", 08/12/2005" etc. with automatic date format. Dates from the 13th onwards are left in general format as "13/08/2005", "14/08/2005".
I have written a macro that converts each date individually to its correct Excel serial number, but I can't help thinking that there must be a simpler way, and that I cannot be the first to have asked this!
View 8 Replies
View Related
Oct 16, 2007
Is there a way to convert date to text of format (number stored as text) either directly using excel formulas or VB macros. We've a requirement to pass today's date as a string in the format of "number stored as text". For this, i've in cell A1 a formula today() which gives today's date 10/15/2007 and I'm looking an output of '20071015 in cell A2 and this should be treated as text with a symbol " ' " before 20071015.
View 2 Replies
View Related
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
Mar 4, 2009
I have several large excel spreadsheets with thousands of entries (autocad drawing numbers). In one column it lists the date the drawing was created. Unfortunatley most of the entries were input as text. Even though I have formated the column to a date format (01/01/2009) most entries are not converting. Below is an example of some of the cells:
Jan. 12/02
JAN12/02
How can I correct his?
View 5 Replies
View Related
Apr 2, 2008
Need the formula to turn a date into a quarter and year
1/15/2003 would be 1Q2003
5/15/2005 would be 2Q2005
11/10/2007 would be 4Q2007
View 9 Replies
View Related
Nov 27, 2007
Quick question:
If I have a serial date, e.g., 37883, in Excel, how can I convert to 092007, using that exact format?
<snip by admin. Read the rules!>
View 4 Replies
View Related
Jan 23, 2010
Please refer to attached spreadsheet
I receive data from an external source and it displays what appears to be dates in column B.
In column G I apply a formula to display month/year info.
It turns out that some of the data in column B is valid date data, but other data imports as plain text and therefore I can't get the month/year info that I require.
I have attached just a small example.
I get this data monthly and it usually covers thousands of rows and therefore impractical to change manually.
View 6 Replies
View Related
Sep 28, 2012
Is there a way to convert the string "Sep 28 2012" to excel date format using a formula or vba?
View 8 Replies
View Related
Jan 24, 2007
I am pasting a large amount of data from a sql server query into excel. There is multiple tables output in each query. Some of the data is date/time and excel is formatting all of these cells to time. The date/time cells to not neatly line up in any row or column, so I cannot just format any give column or row. I need a macro that will find all of the cells that are formatted as time and change them to a date format.
View 7 Replies
View Related