Adding A Colon
Dec 30, 2009
I am a basic excel user and what I want is to be able to add in a time and have the colon automatically entered for me. For example, I want to add 130 and have it come out to 1:30, or 1215 and have it come out to 12:15. Seems easy to me but I cannot figure it out.
View 10 Replies
ADVERTISEMENT
May 6, 2009
Is there a way to enter a colon into a standard number to create a value that can be formatted into a 24 hour time value? eg a time is listed as 1345 with a general number format, and I want it returned as 13:45 witha custom format of hh:mm. Other than creating a table and using a vlookup function
View 3 Replies
View Related
Nov 29, 2012
I found the following formula on another site that deletes all the text before the last colon (it deletes the colon as well)
=TRIM(RIGHT(M2,LEN(M2)-SEARCH("@#",SUBSTITUTE(M2,":","@#",LEN(M2)-LEN(SUBSTITUTE(M2,":",""))))))
Is it possible to modify it so that it only triggers if there is nothing after the last colon?
As you can see in the example below I have some notes entered by users and I would like to delete the ones where they didn't actually enter a note after the last colon:
11/05/2012 13:19:53 NEW MIKE : cld poe male sd cu not in till 3pm
10/18/2012 08:03:55 NEW HOSSEN : called no answer
10/15/2012 11:15:41 NEW HOSSEN :
10/12/2012 08:00:26 NEW HOSSEN :
10/11/2012 12:17:14 NEW HOSSEN : called no answer
11/14/2012 13:42:07 ACT MIKE : cld poe spk to cust sd cm back at 330
I would like to be left with just this instead:
11/05/2012 13:19:53 NEW MIKE : cld poe male sd cu not in till 3pm
10/18/2012 08:03:55 NEW HOSSEN : called no answer
10/11/2012 12:17:14 NEW HOSSEN : called no answer
11/14/2012 13:42:07 ACT MIKE : cld poe spk to cust sd cm back at 330
Link to article I found this formula in : [URL] .....
View 2 Replies
View Related
Oct 20, 2009
I need to find a way to enter times into excel without having to use a colon.
The data I need in the cell is the hour, the minute, and either AM or PM. No seconds, which I believe is why Chip Pearson’s time VBA procedure doesn’t work for me, and I don’t know enough about VBA to change it for my needs.
So for example, I need to enter in times like 10:09 PM or 12:40 AM or 2:33 AM.
All my times will be entered into Column D.
I have done a ton of searching and tried several different solutions, but none of them allow me to put in AM or PM. If I just put 1009 into a cell with Chip Pearson’s macro, it will display as 10:09 AM, which is great if I need it to be AM. But if I need it to be PM, and I enter in “1009 p”, it will display as “1009 p”, neglecting the colon and not displaying the time correctly.
Does anyone have a solution where I can type in a 3 or 4 digit number (233 or 1240) and either “a” or “p” after it, and have it display as 2:33 PM or 12:40 AM?
I use Excel 2007, if it matters.
View 12 Replies
View Related
Aug 21, 2009
I downloaded some data from an extarnal source to excel... the texts I get appear as 'TEXT' (mind the colons at start and end of TEXT).
However, in some of the cells the Start Colon is visible and in some cells it isn't (although it's there and can be viewed in the formula bar).
I want the start colon to be visible.
View 27 Replies
View Related
Oct 3, 2006
Replaced the period with a colon, 8.23 resulted in 8:23. I have since deleted the Add In. Now every time I enter a "." it is replaced by a ":". This happens even when I disable macros on the spreadsheet. I cannot see any VBA code.
View 2 Replies
View Related
Oct 25, 2007
I am making a template for our security kiosk log and I wanted to simplify it as much as possible. I found the "time mask entry" and imputed that into the vba code. It was working for awhile however stopped working a few days ago. I went back and copied and pasted it again and changed the range to what I needed and an error came up stating "unable to set the NumberFormat property to the range class."
Private Sub Worksheet_Change(ByVal Target As Range)
Dim vVal
If Target.Cells.Count > 1 Then Exit Sub
If Intersect(Target, Range("A1:A100")) Is Nothing Then Exit Sub
With Target
vVal = Format(.Value, "0000")
If IsNumeric(vVal) And Len(vVal) = 4 Then
Application.EnableEvents = False
.Value = Left(vVal, 2) & ":" & Right(vVal, 2)
.NumberFormat = "[h]:mm"
End If
End With
Application.EnableEvents = True
End Sub
View 9 Replies
View Related
Oct 23, 2008
I have been using the following formula's to trim some information that's separated by a colon, such as Pioneer Clinic:Dave McAfee...so that I have a column with Pioneer Clinic and a column with Dave McAfee:
=LEFT(G5,FIND(":",G5)-1)
=TRIM(RIGHT(G5,LEN(G5)-FIND(":",G5)))
However, now some of my data is separated by two colons! AVM:Pioneer Clinic:Dave McAfee. the formula for separating this so I still have two columns of Pioneer Clinic and Dave McAfee?
View 5 Replies
View Related
Jan 12, 2006
Is there any way that I can format a cell to insert a colon three spaces to
the left from the end of any group of numbers that I type in the a cell?
Examples 9:15 10:15
View 12 Replies
View Related
Jul 7, 2014
I have been sent a spreadsheet that was populated from another system. I need to run some VLOOKUPS but the cell that I need to compare has a ' in front of the text/number eg 'VB123456. I have found a thread on how to remove it for a number but it does not work with letters.
View 6 Replies
View Related
Jan 24, 2013
I have a long list of names
Doe, John;Doe Jane; etc..
Is there any way to have Excel separate them into individual cells?
View 2 Replies
View Related
Nov 8, 2012
ColB is a time of day in 4 digits ****
I need it to be **:**
How do I get the colon in the middle?
View 1 Replies
View Related
Oct 28, 2007
I have used the format [hh]:mm in a cell for 24 hr clock calculations. Why do I have to enter the numbers with a colon when I populate the cells? Is there a way to set it up so I just type in the four numbers and the colon between the hours and minutes populates itself?
View 9 Replies
View Related
Mar 4, 2012
What is the best way to concatenate with a semi-colon across multiple cells in excel. The one kicker is I only want to concatenate where the cell is populated.
If I write a simple Concatenate or combined columns, if a cell is blank I get the multiple.
View 1 Replies
View Related
Nov 30, 2003
Is there a way to format cells so 24 hour time may be input without the colon, as an example 1425 instead or 14:25? We can do it in Access. One would think it possible in Excel, yet I have not discover how if indeed its possible.
View 9 Replies
View Related
Oct 4, 2011
i have encountered a problem which happens when you write data that contain : in an excel sheet (i use excel 2010)
for instance if i enter to one of the cell 45:58 excel sees it as 01/01/1900 21:48:00 when i try to get the information by using a function i will get the wrong data for example typing in the different cell LEFT(Cell,5) will result 1.908
(i receiving the data from an outside source in this way and i need to make analysis)
i have noticed that the first 2 digits (21 in the example) are related to the number i have choosen in a 24 hour cycle for instance
24:58 will result 01/01/1900 00:58:00
26:58 will result 01/01/1900 02:58:00
48:58 will result 02/01/1900 00:58:00
View 7 Replies
View Related
Jun 3, 2014
I am looking for VBA code that will save Excel 2010 files in semi-colon delimited format without having to chage the universal language options.
View 1 Replies
View Related
Mar 28, 2008
I have a column of times: e.g. 10:03:00 and I would like to add them all up.
=A1+A2 works fine.
=sum(A1:A10) does not.
View 14 Replies
View Related
Jan 13, 2007
I've got a problem involving several Dim'd Variables needing to be added up, they're all Dim'd as Variants though as they can be either strings or numbers at any time.
I need a formula (VBA) to add them up (to add their actual numeric values - not just a "1" if they contain a number) and ignore them all together if they contain string values.
View 9 Replies
View Related
Feb 14, 2007
I have a userform that I'm using to add data to a worksheet, with the following
Private Sub CommandButton1_Click()
Dim OutSH As Worksheet
Set OutSH = Sheets("Sheet1")
OutSH.Cells(nextrow2, 1).Value = Surname.Value
OutSH.cells(nextrow2,2).value = ID.value
OutSH.cells(nextrow2,3).value = Date.value
......
I need to ensure that duplicate entries are not made for the same person on the same date. The ID is unique to each person.
IF statement that can check for a duplicate and then come up with a dialouge box with some custom text, and then exiting the sub?
View 9 Replies
View Related
Oct 1, 2009
I am trying to add numbers from cells if it IsNumeric and for some reason in column K the macro doesnt recognize numbers after row 14?
The range column is "E4:E"
Search criteria is the letter "R" in column "E" Then using OffSet, I go thru other columns and process data. Most of the macro works except for column K after row 14?
View 5 Replies
View Related
Dec 18, 2011
I am needing so I did it as a picture. (Please assume "Day 1" is A1)
View 7 Replies
View Related
Feb 5, 2010
I have imported a spreadsheet from our district's grade-keeping site. I want to insert a new row between every student and would like to find a way to do it without having to do it manually for each of every 700+ students. This row can be blank, but if there is a way to enter a copied row of information, that would be better.
I tried to write a Macro, but it only adds the new row at the same place each time.
View 6 Replies
View Related
Jan 30, 2007
How to add values in the last row under the latest data that already existed ... is a loop required in the problem?
View 5 Replies
View Related
Aug 7, 2008
I have excel 2007. I am trying to do the EASIEST thing in the world and it just not working for me. Basically all I want to do is add days to an inputted date in a cell.
Works great if there's a date already in the referenced cell (A1), however, if I input a new date it doesn't re-calculate.
I have tried:
=B1+34
and =DATE(YEAR(B1),MONTH(B1),DAY(B1)+34)
Not recalculating when in enter in a different date into B1, why? How do I fix this so it will work correctly?
btw....basically I want to have a whole column (B) of the date formula so when I enter a date into cells in column A, it calculates.
View 9 Replies
View Related
Sep 16, 2009
I have a 9 digit number in excel. I'd like to write a formula that adds the number 1 to the end of each number.
View 9 Replies
View Related
Aug 19, 2003
I want to add Columns B through R, starting on row 4, add row 4, then 6, then 8, then 10 and so on, till about 30. Does anyone know the formula?
View 9 Replies
View Related
Oct 20, 2012
Every day we extract data from a billing system and we import this data into Excel (customer names & invoices amounts). What i'd like is a VBA code that inserts a new row after every different customer and calculates the total amount for this specific customer.
See a simplified example below :
Customer 1
52.25$
Customer 1
154.25$
[Code] .....
What i would like is to have a row added after Customer 1 and then having a total amount of his invoices in this row. Same thing for Customer 2, 9 and 14.
View 4 Replies
View Related
Jun 1, 2014
I have a range of data (techniques) - example below....
AQ - Ask what other topics to include
No DT - hjhjh
ISL - Ask how Saj would manage the time
AQ - Ask if there's anything else Saj wants to cover
I need to be able to calculate how many different techniques are used. No DT shouldn't be included in the count and if a technique is repeated, it should only be counted once. So the answer to the above is 2 as AQ appears twice and there is a No DT.
View 6 Replies
View Related
Jun 26, 2014
I am having a column which has numbers. The length of a number should be 8 or should be 8 digit.I want to standardize the columns by adding leading zero. For example
Example Output
1245 00001245
12 00000012
5 00000005
1234567 01234567
View 6 Replies
View Related