CSV Import Showing Times As Date & Time
Jul 17, 2007
I am trying to import a .csv file with several fields that are timestamps. I get the file in Excel, and do Format, Cell, date as mm/dd/yyyy hh:mm.
My results come back as 1/0/1900 12:37:22 AM
My raw .csv field looks like 37:22.4
how I lost my date? I did check my system clock just in case, and it appears to be accurate.
View 9 Replies
ADVERTISEMENT
Apr 2, 2008
DONNAS [Single cell, 1st row] 09/08/2003 15:34 [Single cell ( date and time combined) 2nd row]. Do you know of any way that I can move the name, date and time from the above cells to three separate columns on the same row?
View 4 Replies
View Related
Dec 3, 2009
I have a file that samples performance on a cpu. The output shows the sampling date and time in column A. This column changes depending on how long I run the file. No matter how long the column, I only want to pull out the sample date and time 20 times. So if I had data in column A with 300 rows, I want to divide 300 by 20 and pull those 20 numbers and put them in column B in chronological order. Same thing if I had 4000 rows in column A, I only want 20 samples.
View 5 Replies
View Related
Sep 15, 2009
I am using this code to import txt documents, but once the file has been selected and everything, the excel data import wizard shows up... I now would like to get rid of this problem, as well add a standard path to this code, so that I dont always have to start from the desktop and click through tons of folders to get the folder containing my files.
View 12 Replies
View Related
Feb 26, 2010
It is a formatting problem based on an INDEX formula i believe, but I am unsure where to start.
I have added a template where I have shown examples of what i want to achieve, the explanation is a lot clearer.
View 2 Replies
View Related
Jan 26, 2012
I have a list of data which contains the destination and departure time. In a cell I would like to type in the destination name and in the two adjoining cells I need the earliest and latest departure times to be shown. Example if I enter Carlisle then the results would be 18:20 and 20:55.
ToDepart
Birmingham20:35
Birmingham20:55
Birmingham21:35
Birmingham22:11
Bristol20:30
Carlisle18:20
Carlisle18:20
Carlisle18:20
Carlisle18:20
Carlisle19:30
Carlisle19:45
Carlisle20:15
Carlisle20:55
View 1 Replies
View Related
Jan 10, 2013
I have a problem with my spreadsheet where i have needed to show over and under runs of theaters. So I have positive and negative times - which i solved using the 1904 date system calucaltion in the options menu.
But since changing this all my dates (in a seperate column) have increased 4 years and 1 day so the 3rd December 2012 is now 4th December 2016.
View 1 Replies
View Related
Feb 23, 2010
In my workbook I have about 20 sheets (less in the attached sample), and on most sheets I’d like to query data for each day and find an average value based on the time and then copy that result into another sheet. I’m not sure if I’ll need 2 macro’s for this or if one can be used.
Here’s a quick description:
Assuming that I am currently in the sheet I want to run the macro, then I will either input “1:45” or “0:45” into a popup box, or I could always simply input the 1:45 or 0:45 in the code itself. I’m flexible
1:45:
If I input 1:45, then I’d like the macro to find the first 1:45 in Column B and the value in the same row in Column F will be used in the calculation. Once 1:45 is located, then the macro moves up to find 22:45 in Column B and the value in the same row in Column F will be used in the calculation.....
View 11 Replies
View Related
Aug 6, 2009
why formula's I type in to a particular worksheet show all the time(this is a workbook containing numerous macro's). I have checked under 'Options' that the show formula's box is not checked
View 5 Replies
View Related
Feb 27, 2008
I’m trying to resolve this issue and would appreciate some help.
Scenario
I have a tracking sheet that tracks development of work to be completed by individuals.
I have a due date column that shows when the work should be completed.
Once the work has been completed, the user enters his completion date.
I have a formula that provides an overdue warning (Completion date – today’s date) and some conditional formatting.
Problem
When I copy the formula through all the cells in the column I get a number (example 39504) and this changes everyday.
How can I eliminate this being shown as it throws out my average development day calculation?
View 4 Replies
View Related
Jun 17, 2006
I am attempting to pick up a date with time entry on a worksheet and place it into a TextBox on a UserForm. Format on the sheet is mm/dd/yyyy h:mm AM/PM. The UserForm is placing the value as mm/dd/yyyy 12:00 AM. here is the
Private Sub UserForm_Initialize()
If Not Range("dDate").Value = "" Then
TextBox2.Value = Range("dDate").Value
TextBox2.Text = Format(DateValue(TextBox2.Text), "mm/dd/yy h:mm AM/PM")
Else
TextBox2.Value = ""
TextBox2.SetFocus
End If
End Sub
"dDate" is the named range where the date is sitting. The format is also set on the TextBox2 exit event. Can anyone see why only the date portion is being transfered with the default 12:00 AM for no time component of the value?
View 3 Replies
View Related
Feb 18, 2007
I'm trying to do a line chart showing two teams and their cumulative scores over the period of a game. I've attached a sample with mock data. Is it possible to change the x-series of the charts to display custom time intervals like 0 min 1 min, 2 min, 3 min, 4 min, etc? Currently the x-series only has labels for each specific time there was a change in value. I've tried to change the scale but the options that I want aren't there.
View 2 Replies
View Related
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
Sep 22, 2008
I have a file that has start date column. I'd like to show the account's expiration date on another cell but it's going to be dependent on another column.
Say
Column A - customers name
Column B - start date
Column C - rate
Column D - End date
Column E - Follow up Date
Rate column will have the ff inputs :
rate 1 = .09
rate 2 = .11
If rate is .09, then end date will be 2 years from the start date
If rate is .11, then end date will be 3 years from the start date
There are several things I need to happen :
1. Show the customer's individual end dates in Column D
2. I'd like to show in column E the follow up date which is 90 days before the end date
View 2 Replies
View Related
Apr 21, 2007
How can i work out how long has passed between times, in excel.
my times are formatted as times eg 16:00 and 01:00 i then need them in base 100 so as i can work out labour percentages.
View 9 Replies
View Related
Jan 9, 2007
I'm trying to have a fixed date entered into column B when data is entered into column D. Here's the formula in column B:
=IF(D3="", IF(B3=";", FixedDate(),B3))
When I enter data into cell D, I get the following result in B:
0-Jan-00
Taking this a step further, even if I do a "control + ;" I still get a value of
0-Jan-00 in the cell but the formula bar shows me "=1/9/2007'. ??
I've gone through all of the options but cannot fix this error. I have two spreadsheets using this formula. The first one worked fine last year but now I have this error in it. I also started to create a new sheet and still have the same error.
View 14 Replies
View Related
Jul 20, 2012
I have a spreadsheet that has two columns. Column A is a date format and column B has the number of days between both dates over 2 years analysis is =A8-A7.
However when i come to build a chart its all wrong as the dates are following a weekely format, can i adjust this to pick up only the dates that are showing on the cells in column A? also is ther ea way which teh #VALUE! doe snot show?
02/07/2012
14/08/2012
43
00/00/0000
#VALUE!
[Code]...........
View 2 Replies
View Related
Jan 14, 2010
Im having trouble with a combo box with a range of dates as the drop down list.
The Named Range it is connected to is as below
01-01-10
02-01-10
03-01-10
Etc
But when i run the user form the Combobox drop down box show as below
40179
40180
40181
Etc.
When i Select one the combo box does then Show the list in date format
How can i make the dropdown list show in date format also below is the code i currently have for the combobox
Private Sub ComboBox4_DropButt*******()
ComboBox4.List = Application.WorksheetFunction.Transpose(ThisWorkbook.Names("Date").RefersToRange)
ComboBox4.Value = Format(ComboBox4.Value, "dd/mm/yy")
End Sub
View 9 Replies
View Related
Aug 3, 2009
I'm trying to use countif or similar to show how many times a given date is between 2 dates (inclusive). Each row of the spreadsheet contains amongst other info, a Start Date and an End Date. If i've got 2 rows like this:
StartDate EndDate
01/01/2009 03/01/2009
02/01/2009 04/01/2009
I'd want to lookup 02/01/2009 and have it return 2 (02/01/09 falls between the dates on row 1 and the dates on row 2). To give some context, this is an export from a database containing staff holiday dates, and I'd like to be able to see how many people will be on holiday on any given date, given the start and end date of all holiday occurances throughout the year.
View 2 Replies
View Related
Jul 24, 2007
I am trying to pull the closest times above and below and some other data from various worksheets. I've included a sample worksheet that has a dumbed down version of the tables and sheets.
I am having problems pulling the correct times and believe my error is in this part of the bigger formulas (
COLUMN(INDIRECT(portlookup&C5&"HEAD"))-COLUMN(C1),3)+1<=2
which breaks down to
COLUMN(INDIRECT(ABYJANHEAD))-COLUMN(C1),3)+1<=2
I don't think this is accurately telling my formula how to look at the table and pick the right time. I've tried different mod divisors and still can't get it to pull the right time.
View 9 Replies
View Related
Oct 24, 2007
I have a column of values resulting from subtracting a static date and time from the current date and time.
This means it is constantly updating, which makes it impossible to sort.
All my work depends on sorting those values, though.
View 12 Replies
View Related
Feb 21, 2013
I import data from a program that exports dates and times as text. I have been successful using "text to columns" to separate the time from the date and then using =text(A1,"00:00")+0 to get the time to show as serial time but I'd love to be able to do the whole date/time string in one step. In cell A1 there is data that is general format and is in this format:
01/01/13 00001
No matter how you try to format it, it is not a date or time. For this project I need the serial number for the date/time. Any formula that will format it as date/time and then allow it to show as a serial date/time?
View 3 Replies
View Related
Apr 22, 2008
I have 04/02/08 12:00:01 AM (mm/dd/yy hh:mm:ss AM/PM) in text format in a cell. I need to convert this to date/time custom format as given above so that I can make comparisons with NOW() output.
View 2 Replies
View Related
Feb 23, 2014
i have set of data excel with the below ;
date---------------cost
01/02/2014---------5
25/02/2014---------10
09/02/2014---------1
10/02/2014---------8
06/03/2014---------9
20/03/2014---------25
etc...
how do sum with selected cell criteria by month (likes drop down list) , e.g.
sum of February, or sum of March, etc...
with helper column, if i selected month of February, showing data sum February or if i selected month of March, showing sum data March...
View 7 Replies
View Related
May 27, 2009
I'm trying to concatenate quite a few cells together. One of the items being included in the concatenation is a date, however when I do this the output is the numerical version of the date that Excel uses to mathematically calculate with. My question is how do I do a cell concatenation with the desired output showing the date, not the numerical equivalent used by Excel? Book1.xls attached is what I'm talking about.
View 2 Replies
View Related
Sep 21, 2009
if there's any sort of script which allows the file's last modified date to be shown in a worksheet?
View 5 Replies
View Related
Mar 30, 2009
I am trying to automate data import, instead of doing it manually all the time. I recorded a macro and now I am trying to edit it so that it can be used with any file.
Here's my code -
View 3 Replies
View Related
Apr 2, 2009
I have a start time in one column, end time in another and a column with the difference between the two. In another column I have profit. In the last column I have profit per hour where I divide the profit by the hours, but since one is hours and the other is a number it gives me an error.
View 4 Replies
View Related
Mar 12, 2009
i want to calculate the TAT between two times. the TAT target is <= 2 hours. i used the following formula
a1 has 3/13/2009 (received date)
b1 has 7:08 AM (received time)
c1 has 3/13/2009 (completed date)
d1 has 9:08 AM (completed time)
e1 has TAT formula :- '=IF((D1-B1)*1440<=120,"Met TAT","Not Met TAT")
however this formula does not work in the following conditions.
In these conditions, it is considered that TAT is met.
1. When the difference in time is <=2 hours .... for TAT calculation, on working days and working hours are taken into consideration.
To illustrate.
Day begins : 8:00 AM
Day ends : 4:00 PM
If job is received at 3:30 PM and completed the next working day by 9:30 AM, then it is considered TAT is met.
calculation = 4:00 PM - 3:30 PM = half hour + next day's 9:30 AM - 8:00 AM = 1.5 hours, therefore, total working hours used to complete the job is within the agreed TAT.
If job is received and completed on non working days and during non working hours, it is considered TAT met.
If job is received almost at the end of the day, say, 3.30 PM and job is completed at 8:00 PM same day, then it is considered TAT met, rationale, only half an hour of working hours used to complete the job.
View 11 Replies
View Related
Jan 7, 2008
I am trying to get rid of some duff data by running a comparison to a fixed value on a defined range. However, the macro tries to compare the cell value (00:05:00) as a decimal value.
I think I need to use the format function to get round this.
For Each timecheckcell In range("g3:g60")
timecheckcell.Value = Format(MyTime, "h:m:s")
If timecheckcell.Value <> "00:05:00" Then timecheckcell.Offset(0, 1) = ""
Next
View 9 Replies
View Related