Sorting By Date For Irregular Date Format

Mar 14, 2014

I have a dataset where the dates are in the following format:

19970803 = 3rd August 1997 (YYYYMMDD)

My aim is to sort the data into months and into 'turn of the month' periods.

-Is there a way to isolate rows using a search term like "****08**" for all the august entries?
-Likewise if i want data between 27th-3rd for every month is there a way to sort for entries between "******27 - *******03".

View 6 Replies


ADVERTISEMENT

Excel 2007 :: Source Date Sorting Into Format Used For Pivot Table / Chart?

Sep 24, 2011

I am stuck trying to sort data that looks like the following, into a format that I can use as source data for pivot tables/charts.

Excel2007ABCDEFGHIJK2MalayMalayMalayMalayMalayMalay
ChineseChinese3MaleFemaleFemaleMaleFemaleFemaleMaleMale
436-4536-4536-4525-3525-3525-3536-4536-455
DateArticleContentLapseCurrentCurrentCurrentLapseLapseCurrentCurrent612-SepRelieving 40 years - Oct 15, 1972
Thick Haze continues to blanket MalaysiaHistory42712-SepRelieving 40 years - May 5, 1972
All Sharifah wants is a pair of legsHistory1222812-SepA man and his agonyHistory3223912-SepA lesson on Sept 16History22Sheet2

I will need to group Data multiple ways. However, I cant work out a good way to sort it. Can I have a suggestion on layout that I will be able to arrange data appropriately.

View 2 Replies View Related

Excel 2007 :: Date Filtering - Change Date Format Supplied By Date Picker

Apr 24, 2012

I have a table of data (total 142 rows). Column contains dates, in the format dd-mmm-yyyy.

I tried to filter using DATE FILTERS->EQUALS and in the custom filter window, I chose EQUALS then picked a date from the date picker icon. The date I picked was 5/4/2009 (this is May 4, 2009, formatted automaticall by excel as m/d/yyyy).

When I clicked OK, nothing showed up despite the fact that there are 6 occurences of May 4, 2009 (formatted as dd-mmm-yyyy in the data table)

So my questions are:

1. Is this due to the formatting?

2. Is there a way to change the date format supplied by the date picker?

View 7 Replies View Related

Sorting Irregular Data From CSV File?

Jul 18, 2013

im looking for a way to sort some data exported from an old stock recording software. the system outputs the data as a .csv file but each item bought is grouped into a particular heading, a line is only generated if money is spent under that particular heading. i cannot make the software generate lines if no money is spent so the number of lines generated each period changes.

period 1
3202 fuel £3000
3203 PPE £250
3204 major units £5000
3205 planned maint £212
3207 unplanned maint £457
period 2
3202 fuel £2500
3203 PPE £120
3204 major units £1000
3208 storage £212
3210 windows £457

if the data was regular i could simply add the totals each month and divide to get the average.

what i am looking for is a way to auto sort the data onto lines by possibly injecting the missing headings with zero as the total spent.

View 1 Replies View Related

Converting Text To Date And Sorting On Date

Mar 10, 2014

I am trying to convert a long list of dates from text to date (see A) so that I can sort them from newest to oldest. I've tried converting them using differnt formulas (see B:C) but these don't work.

View 8 Replies View Related

Sorting Data By Date Within A Date Range

Dec 31, 2009

Hello, I have a question about sorting information using dates but using a range. I need this to sort when I enter a date range into the spreadsheet (the blue blocks on the attached spreadsheet). The factors in colum G need to be sorted by month and input into the yellow highlighted area in column B. There may be an easier way of pulling the data from the "Data" sheet but this was the best I could figure out. Overall, January (or any of the months)needs to have the January (or appropriate) factor that fits within the date range that was input but sorted properly based on the months listed in Column A.

View 6 Replies View Related

Date Sorting With Key Field As Date And Month Only.

Apr 13, 2009

I need VBA code to sort the birthdays for all the employees in my company.

See the attached file for example.

I need to sort according to their month and then date and not with their year.
i.e it should not consider Year for sorting.

View 2 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

Extract Character From Date Format & Number Of Days Between Date

Jan 17, 2010

I have two questions regarding date format and hope you can provide input.

1) say 01/01/2010 displays as Jan-10 and i need a new column to state it as JAN. What function should i use to achieve it?

2) i need to state the difference between first day and last day of the month. What function should i use to achieve it?

View 2 Replies View Related

Prevent Automatic Date Format When Referencing Date Cell

Aug 1, 2008

I have been struggling with my Excel 07 Date format. Nearly every time I perform a calculation, enter in a value etc in a spreadsheet my answer is returned as a date. So for example if I enter in a cell: = 5 - 4. I get the answer "1-Jan-1900" instead of 1. I have to manually set the formats to general or number if I want the correct format. The setting seems to be the default one and occurs for all workbooks I open. What can I do to change this.

View 5 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

Retain Date Format For Input Entered As Date?

Mar 24, 2014

I'm using nested SUBSTITUTE formula to make some changes to the some of the data. I'm also using IFERROR to return the input if it does not find the criteria I have specified. I have lot of variations in my input data.

The formula works fine for all except for date format input.

Sample:

N90232Y09--->SUBSTITUTE(A1,"N","")-->90232Y09
12335--->12335
12/3/1923---->58936 (I want the date to be retained)

why the date format is changed even if don't specify any changes for it. I expect my IFERROR to just retain the input as it is.

View 4 Replies View Related

Military Date Format Needs Converting To Civilian Date Value

Jun 21, 2013

I have a program that exports the date as 20120621 (4 digit year, 2 digit month, 2 digit day). I have tried =datevalue(cell) but it returns #value!. I have tried =today()-(cell) and it also returns #value!. Is there a formula or something I can do to covert this field to a date?

View 3 Replies View Related

Updating Date In Spreadsheet To Table In SQL In UK Date Format

Mar 26, 2014

I have a couple of columns, once edited need to update a table in SQL. This is my code

[Code] .....

However it is not taking UK date formats, it is assuming it is an american format, I get conversion of varchar data type to datetime results in an out-of-range value. What should I add to change the format? The format is in UK on the spreadsheet seemingly....

View 11 Replies View Related

Convert Coded Date Into Common Format Date

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

How To Convert Date (text String) Into Date Format

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

Combine Text & Date. Retain Date Format

Nov 8, 2006

Date:31-Oct-06 (the date is in cell A3)

Formula: "as at"& " "&A3

Result: as at 39021

I need the results to be "as at 31-Oct-06". Is there a formula for this??

View 2 Replies View Related

Concatenate Two Cells One Containing A Date Preserving The Date Format

Jan 24, 2007

I have two cells. Cell A1 contains ‘The date is ’ cell B1 is formatted in the date format, 2007-01-24. I need to concatenate these two cells so that on cell C1 I have ‘The date is 2007-01-24’ but whatever I try excel keeps on changing the date to a text value and hence I am left with: ‘The date is ‘This is the date'39141 or this is the date 39141. how to get to the result that I am after?

View 5 Replies View Related

Copy Date Into Text Box Retaining Date Format

Dec 12, 2007

I've created a group of user forms used for recording jobs and displaying details of jobs and have come up against a problem I think you may be able to help me with.

When the user creates a new record, I've written some code to stamp txtdate text box with the current system date and this information is then copied onto a sheet called Data into a specific column.

This part works fine and as the column is formatted to handle dates it displays fine.

However, when I pull the data back in, it displays the date as the serial number date, not formatted as dd/mm/yy. I've tried every fix I can find to sort this but none of them seem to work.

The code I use to pull the data in is as follows:

ComboBox1.BoundColumn = 11
txtdate.Value = ComboBox1.Value

The idea is that the user selects a job number from combobox1 and then the appropriate column is pulled into each txt box on the form.

At the same time, I'm trying to do the same for the system time as well. Unsurprisingly I have a very similar problem here and use the same code as above. I've tried formatting both date and time txt boxes in the userform, the data transfer code etc etc with no success.

View 3 Replies View Related

Join Text With Current Date & Format Date

May 8, 2008

Is there a way to make a cell display today's date as YYYYMMDD?

Assuming data!a2= 7989, I need the following formula to display as shown below
="txt"&data!a2&"txt"&today

displayed as

txt7989txt20080507

View 4 Replies View Related

User Input Date Not Kept In Date Format

Mar 29, 2014

My macro asks for a user input in DD-MM-YY format (which is the same format of all cells in the Excel worksheet).

I then instruct the macro to paste the string into cell A1 in 'TEST' sheet.

However when it pastes in the format is MM-DD-YY with the user input DD being the worksheet MM etc.

For example 06-04-14 becomes 04-06-14.

My code is below:

[Code] ......

Attached File : TEST.xlsm‎

View 2 Replies View Related

Forcing UK Date Format In Date Command

Nov 5, 2008

I have the code below working as I want it to, when data is input in column 2 the date and time is automatically input into the corresponding cell 3 columns to the right. I want to ensure that the date is changed to the UK format dd-mmm-yy. I have formatted the column to be in that format but for some reason it has suddenly started changing the date to US format. Can this code be changed to force the date to be in UK format?

View 3 Replies View Related

Date Format: Last 6 Digits Refer To Date

Apr 20, 2009

I am having trouble with formating a to date. I have ~5,000 lines of data that are formatted as follows: the last 6 digits refer to date. For example, below line should be date 09/24/09. PRIVATEBANK 3.65%09PRIVATE 3.65%09 PRIVATEBK&TR 3.65 092409. I am using the right function to isolate the date. In cell A2:

View 2 Replies View Related

Convert Different Date Formats Into One Date Format?

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

VBA To Convert Date Value To Another Format Of Date

Jul 15, 2014

I have column with below date value in it.

Column A

Jun-18-2014 04:24:57 PM
Jun-10-2014 06:58:33 AM
Jun-06-2014 10:20:47 AM
Jul-02-2014 12:19:19 PM
Jul-01-2014 10:49:19 AM
Jun-10-2014 02:38:33 AM
Jun-18-2014 12:10:32 PM
Jun-20-2014 12:48:55 PM
Jun-23-2014 12:07:41 PM
Jun-27-2014 12:13:53 PM
Jun-09-2014 04:30:22 PM
Jun-11-2014 03:11:08 PM

I need VBA which will convert the value to 6/18/2014 1:44:13 PM in cell.

View 8 Replies View Related

Sorting By Date...?

Oct 7, 2009

I have a column showing date DD/MM/YYYY. I want to be able to get a new column stripping out the days so that I can chart changes over a month rather than each day of the last 2 years. I have tried altering the cell format to MM-YYY although this shows the format I want when i run a pivot chart it will still create records for individual days. I then tried copying and pasting the above as text only. This results in the pivot chart sorting A-Z rather than by date.

View 2 Replies View Related

Same Date And Day Sorting

Aug 17, 2009

1. I downloaded from my online bank a Excel statment file.
2. When I open it in Excel. The date order is wrong, it is newest entries first (top).
3. I need it the other way, oldest first. I get Excel to sort oldest to newest. Which it does, but....

When I have more than 1 entry on date, they are the wrong way around.

Example:
It should be,
01/06/09 £10
01/06/09 £105
01/06/09 £200.....

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

Date Of Birth And Joining Date, In The Format "mm/dd/yyyyy"

May 24, 2007

I have database of my entire staff with thr date of birth and joining date, in the format "mm/dd/yyyyy".

I want if the date of birth is equal to today()+1, that means if someone is having his b'day on 25may ,and today is 24 may so its cell colour should turn into red.

I know conditional formatting is to be used here. but bit confused with the formula.

I am trying with this
=IF(TEXT(C3,"dd-mmmm")=TODAY()+1,true,FALSE), but not working.

means I want if someones b'day is coming , I want to ge t informed earlier.

View 9 Replies View Related

Sorting A Table By Date In VBA

May 23, 2014

I am trying to sort by date in a table (It is named Linked_file_table), C173:I188. I would like the table to be sorted by I173 AZ.

View 1 Replies View Related







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