Correcting Dates In A Column
Dec 22, 2008
when I get the download into Excel, the formatting of everything has been screwed up. I need to get it fixed. I'll take each column one at a time.
Column B (starting in row 3) has dates in the format yy/mm/dd h:mm (e.g., 08/12/21 2:50 for Dec. 21, 2008, 2:50 AM). I need them in mm/dd/yy h:mm (yyyy would be fine, too). Simply requesting that formatting gets me (of course) 8/12/2021.
I have found that if I insert a "20" in the front of the cell, suddenly Excel "gets it" and correctly formats the cell, with the correct date. As this seemed the easiest way to attack the problem, I've been trying to find a way to do that, but have failed.
View 13 Replies
ADVERTISEMENT
Dec 10, 2006
I'm looking up a value and would like to replace the #NA error with text "No Match".
=INDEX(Sales_Assignment_Query_WW0612.xls!$F$4:$F$35384,LOOKUP(10^307,CHOOSE({1},MATCH(M9,Sales_Assignment_Query_WW0612.x ls!$C$4:$C$35384,0))))
I was trying to use =IF(ISNA(entire_formula_above),"No Match",entire_formula_above) but can't get it to work or struggling with closing off brackets with number of arguments.
Another user in the newsgroup suggested this sample code but I've been unsuccessful in figuring out how to use correctly.
=LOOKUP(REPT("z",255),CHOOSE({1},"No Match",INDEX(D2:D10,LOOKUP(10^307,CHOOSE({1},MATCH(F2,A2:A10,0))))))
View 9 Replies
View Related
Apr 9, 2014
I’m running a report on the average hold time of telephone calls. The data I extract for the report exports like this:
3:09
:00
:40
3:48
2:18
:12
:30
1:10
I need to re-format the cells to show like this:
3:09
0:00
0:40
3:48
2:18
0:12
If I only had 15 or 20, I would change them manually. But, this report has about 200 rows. And, I have 7 different reports to run.
I’m lost when it comes to making macros and using Visual Basic. Although, I can follow instructions and copy/paste.
The code mentioned in this thread: [URL] ....
[Code].....
Doesn’t work with this particular format. It’s changing the data to this:
03:09:00
:00
:40
03:48:00
02:18:00
:12
:30
01:10:00
:43
:52
01:32:00
02:07:00
:14
:00
How can I change the VB code to give me what I want?
View 6 Replies
View Related
Mar 27, 2007
I have a formula in a cell '= SUMIF('616'!$B$1:$B$2000;'AP AMT DKK'!$B4;'616'!$D$1:$D$2000)'. But because there's nothing in sheet '616', the value in the cell returns '#VALUE!'. Is there a way to have the formula return e.g. '0' instead?
View 3 Replies
View Related
Mar 4, 2012
I have about 300 cells filled with different formula's like the ones written below.
=SUMPRODUCT(--('Book 1'!$B$1:$B$1000="H"),--('Book 1'!$C$1:$C$1000=D21),('Book 1'!$W$1:$W$1000))
=SUMPRODUCT(--('Book 1'!$B$1:$B$1000="H"),--('Book 1'!$D$1:$D$1000=I21),('Book 1'!$S$1:$S$1000))
Spreadsheet works great, but I've realized that I should have expanded beyond the 1st 1000 cells (example: $1000). One book 1, my data entry will extend beyond row 1000.
Is there a way I can replace all $1000's on the spreadsheet with say $3000 without having to correct each of the 300 cells separately?
View 5 Replies
View Related
Jun 25, 2012
What I am trying to do is sum values for each day of the month up to a designated date.
Example:
A1=any date of the month
A2-A31 = 6/1/2012-6/30/2012
B2-B31 = values that correspond to each date
how can i sum the values in column B from the beginning of the month to A1?
View 3 Replies
View Related
Jun 17, 2007
I have a sheet with a date and the number of months on it which will change. I need the sheet to list the dates in a column for each month automatically: e.g. Two cells contain date jan07 and the period 10 months. The rows A1 to A10 should have jan07jan16 listed automatically. If I change then change the number of month to 11 I would like the rows A1 to A11 to update automatically.
View 6 Replies
View Related
May 3, 2009
look at the attached file - it was a CSV file. i want to convert the column of dates to say Mar 14 2009 type date. but it only converts some of them.
note some are on the left and some on the right.
View 5 Replies
View Related
Dec 18, 2012
I have a sheet named "XYZ Activity" with meeting dates in column B starting with cell B4. There are duplicates in this list, that should only be viewed as one meeting. On another sheet, each company that attends the meeting has a specific join date found in Column C (C4 is the first company start date). I am trying to figure out an equation that will count how many meetings the company could have attended. I already calculate the total meetings they have attended using either of the following equations:
=COUNT(1/FREQUENCY(IF('XYZ Activity'!$C$4:$C$4000=A3,IF('XYZ Activity'!$B$4:$B$4000<>"",'XYZ Activity'!$B$4:$B$4000)),IF('XYZ Activity'!$C$4:$C$4000=A3,IF('XYZ Activity'!$B$4:$B$4000<>"",'XYZ Activity'!$B$4:$B$4000))))
=SUM(IF(FREQUENCY(IF('XYZ Activity'!C$4:C$5000=A4,IF('XYZ Activity'!G$4:G$5000="Yes",MATCH('XYZ Activity'!B$4:B$5000,'XYZ Activity'!B$4:B$5000,0))),ROW('XYZ Activity'!B$4:B$5000)-ROW('XYZ Activity'!B$4)+1),1))
View 1 Replies
View Related
May 8, 2009
how to make a certain type of date automate. It's kind of hard to explain, but basically, I'd like to make it so that when I enter a date in one column, another column will automatically populate with the 1st of the next month. For example:
If I enter 4/26/2009 in the 1st column, column 2 will read: 5/1/2009
If I enter 1/19/2008 .................................................. 2/1/2008
Also, it's very important that if the FIRST date is already the first of the month, then the second column will read the same. For instance: If I enter 3/1/2009 in the first colum, the second column will ALSO read 3/1/2009.
View 3 Replies
View Related
Nov 11, 2008
I'm trying to create an excel worksheet as follows:
Column1 Column2 Column3 Column4 Column5
Date Time In Time Out Hours Worked Pay
01/03/2000
01/04/2000
01/05/2000
.
.
11/11/2008
I want to insert in the first column (Column1) dates starting from 01/01/2000 all the way up to today, 11/11/2008. So I would end up with a unique date on each row.
To accomplish this manually would be a daunting task. I'm a newbie to excel and don't know how to use any in-built functions.
View 3 Replies
View Related
Sep 9, 2013
I am trying to find the median of a set of numbers on a column that correspond to dates on the left column. I want a monthly median average of the numbers on the right which correspond to the dates on the left. So for example. I want to make an equation that gives me the median of all the numbers on the right if they fall within the range of a certain month(in this case October). I've tried These:
=IF(COUNTIFS(A:A,">=10/1/12",A:A,"
View 4 Replies
View Related
Jan 8, 2014
How would I count unique dates associated with another specific value on a worksheet?
For instance, Lets say I want to count each day a particular person makes a sale.
Example:
Sales PersonSale IDSales Date
Don 1001/6/2014
Don 1401/7/2014
Don 1601/8/2014
Jack 1011/6/2014
Jack 1021/6/2014
Mike 901/5/2014
Mike 1031/6/2014
So on another worksheet, I'd have:
Sales Person Days with Sale
Don 3
Jack 1
Mike 2
The Formula would go into the "Days with Sale" Column.
View 2 Replies
View Related
Jun 8, 2009
I am trying to get a formula that will search one column range B and pull data from another, D. Dates are down column B and some of those dates are repeated several times. In column D there is only one piece of data (a number) entered for each day. Eg, if 08/06/2009 has been entered 3 times in column A, there will only be data entered in 1 of the cells of column D and blank cells in the other 2.
Column B -- Column D
07/06/09 -- 54000
08/06/09
08/06/09 -- 62000
08/06/09
09/06/09 -- 61000
I couldnt get the LOOKUP function to work properly, as there are duplicate dates in column B and I often got a result of 0 returned.
As Ive only got 1 piece of data added in column D per day and any duplicate days would just have blank cells in D, I can actually get a SUMIF function to work, SUMIF(B3:B60,DATE(2009,6,8),D3:D60). Although it does work, it doesnt feel right using it and I would prefer a formula that would return just the one cell, instead of the sum of a range of cells.
View 6 Replies
View Related
Sep 5, 2013
I need formatting to highlight the dates in Column H if they are a greater than a week or more from Column G. Tried some different ways of doing this with the conditional formatting but cannot get it to work yet
View 12 Replies
View Related
Dec 9, 2013
In a worksheet, how do I convert a column of dates into a column of each date's numeric value?
View 7 Replies
View Related
Mar 6, 2014
I am trying to get the number of records/samples in column C between two dates in column A.
View 9 Replies
View Related
Mar 10, 2014
I have a set of data with daily total returns (TR) for 218 companies on the FTSE350 between 2007-2013. The Data looks as follows:
Company ..............Date(daymonthyear)..... TR
1........................... 112007 ..........................10.4
1 .......................... 212007 ..........................10.2
1 .
1 . .
1 .......................... 30102013 .........................12.3
. . . .
. . .
. . .
2............................112007 .......................... 4.5
2 ............................212007 ..........................4.6
2 .
. .
. .
Etc.
. .
. .
218.......................30102013 .....................13.2
I want to perform a dickey fuller test to see if there is a unit root, but for this I can’t have repeated time values, thus I need to create a daily average TR for each day (Thus summing up all TR values for all companies that have data on TR available on that day and averaging them).
How in excel can create an average value for TR every time a series of numbers in the “date” column take the same value? The best thing possible would then be if this could appear so that I have a data set that looks like
Date (daymonthyear)........ TR
112007 ..............................13.2
.
.
.
.
30102013............................ 9.4
View 2 Replies
View Related
Jun 22, 2014
I am trying to check column b which hold dates then add up column c if the month is the same
B C
02-may-14 0.05
02-jul-14 1
11-Jun-14 14
20-Jun-14 0.34
26-Jun-14 15
26-Jul-14 21
This what come up with
=SUMIF(B2:B140,"02-jun-14",C2:C140)
But this will only add up dates that are 02-jun-13 I would like it to add up all dates in June.
View 2 Replies
View Related
Jan 30, 2008
in column a I have dates and in column b I have names.
eg
A1 = 1/1/08
A2 = 2/3/08
A3 = 3/1/08
A4 = 3/1/08
B1 = Jenny
B2 = Jenny
B3 = Jenny
B4 = Pat
I am trying to count the number of instances of "Jenny" in January.
I tried =sumproduct(A:A,>=39448
View 9 Replies
View Related
Jul 17, 2009
I have a list of dates in a column that I need to sort. Dates in columns are as follows for example:
02/15/2010
05/02/2009
06/11/2033
04/05/2044
When I get do a sort I get the following result (it appears to be sorting by month, day, year)
02/15/2010
04/05/2044
05/02/2009
06/11/2033
I want to sort by year, month, day. Desired result as follows:
05/02/2009
02/15/2010
06/11/2033
04/05/2044
View 2 Replies
View Related
Dec 3, 2013
I am attempting to sum some data using the countif function but I am sure how it works when using dates. The following is the formula that I am using. The last set of critieria is date
=COUNTIFS(DATA!$L:$L,$A5,DATA!$A:$A,$F$2,DATA!$I:$I,$D$1:$E$2)
Will this work or is there a different function that may work better?
View 1 Replies
View Related
Mar 6, 2014
I need a macro as part of a bigger project that looks at dates in column "A" and deletes all rows that have a date older than today & yesterday.
View 3 Replies
View Related
Jun 4, 2007
I have a worksheet that has several dates in column D. I would like a formula to count the number of dates that are 7 days or less than the current date in F2.
View 9 Replies
View Related
Sep 13, 2007
I have a cashbook in Excel, the first column of which (column A) has the dates of various transactions. What I want to do is sum another column (column J) where the costs of the transactions fall between two dates in column A eg. between 01/04/07 and 31/10/07. I would like to do this using VBA.
View 7 Replies
View Related
Apr 21, 2008
I having trouble with a find function see attached sample. If I do it manually it will find it, but if try in a record macro i received a variable not set error.
Sub Macro3()
Sheets("Data-Donnees").Select
Range("A1").Select
Cells.Find(What:="04/07/2008", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Activate
End Sub
View 5 Replies
View Related
Aug 6, 2008
I am trying to find a formula that will automatically populate two columns on the same worksheet that a date is being entered in a different column. We train 468 new bus drivers every year and to accomplish this, we run 26 classes of 18 students with a new class starting every two weeks at our training facility. Each class is in training for six weeks (30 working days). The first 19 days they are under the instruction of our full-time instructors. The next nine days they are out on line instruction with regular drivers. On days 29 and 30 they are back in the training department for final evaluation and graduation. On Day 31 they are turned over to Service Delivery as regular full-time drivers.
If I enter a class start date of April 6, 2009 in cell B4 on "2009 Conventional Classes", the formula would automatically fill in D4 and E4 columns with dates that are 29 days later and 31 days later respectively but, would skip weekends and any statutory holidays (these would be represented by a different background color on the calendar templates).
View 2 Replies
View Related
Jun 27, 2014
It appears that the bar graph automatically turns all dates into the first day of the year in question.
For example, what I have in the source chart is the following 3 dates: 6/11/14, 6/11/13, 6/11/12, however when I convert the table into a bar graph, it changes the dates to 1/1/14, 1/1/13, and 1/1/12.
Here's a snip of the table: Data source.JPG
And here's a snip of the chart: Chart.JPG
I've tried going into the advanced settings and making the intervals fixed (starting at 6/11/12 with 1 year intervals), however it does not seem to change the display.
View 2 Replies
View Related
Nov 18, 2009
I have a range of data in a spreadsheet that has entry dates. To one side I have a cell that =today()
What I want to do is where the entry date is in my range of data is insert a column that will tell me "yes" if the entry date =today()-1
View 8 Replies
View Related
Sep 14, 2013
I have a column of numbers that have certain dates in it. I want to extract the dates and then copy and paste the dates into another column. Shall I use a macro for this or can it be done manually?
Column A1
03.03.2013
1,02043
1,02043
1,01927
1,01988
06.01.2013
1,04778
1,0512
1,04758
1,05099
07.10.2012
View 10 Replies
View Related