Reformat Time Data Into Decimal And Remove Excess Characters From Field

Feb 17, 2014

I have obtained the following data which I need to put into a spreadsheet to import into an accounts program. I can't change the way I get the data which is as follow

Hrs worked Rate
05:55:00£30.00/Hour
07:40:00£21.00/Hour
05:45:00£30.00/Hour

What I need to have is 5.92 30.00
7.67 21.00
5.75 30.00 ie the time format in decimal and loose all the unnecessary symbols etc for the rate

View 7 Replies


ADVERTISEMENT

Remove Excess Characters In Cell Or Row Or Column

Dec 7, 2012

I have got a cell or cells with certain number of Characters (Alphabetical or Numeric or Alphanumeric). I would like to remove the excess Characters in the Cell from the end.

Example: If a cell contains 234 characters, Excess characters (More than 200) to be removed from the end.

Any formula or Vba program in generic form, so that i can limit the number of Characters to as required.

View 3 Replies View Related

Remove Time From Date Field?

Dec 8, 2011

I have a list of dates with an hour inside them . I am trying to remove teh hour from the field , and leave only the date. teh format option just hide teh hour but not removing it how can it be done ?

View 4 Replies View Related

Pivot Table - Remove Sum Of In Data Field?

May 26, 2006

Is there a way to modify Pivot Table so that "Sum of, Count of", etc is not shown. For example, have Table (& Pivot Chart) show "West Region" instead of "Sum of West Region"

View 13 Replies View Related

Pivot Table - Remove Sum Of In Data Field

Apr 15, 2014

VBA code to remove "sum of" from a pivot table. It works on a regular pivot table. However, when applying this code to a pivot table created utilizing PowerPivot, the code does not work. Here is the code:

Sub ChangePTName()
Dim pt As PivotTable, pf As PivotField, ws As Worksheet, i As Long
Application.ScreenUpdating = False
Set ws = ActiveSheet
For i = 1 To ws.PivotTables.Count
Set pt = ws.PivotTables(i)
pt.ManualUpdate = True
For Each pf In pt.DataFields

[Code]...

View 2 Replies View Related

Reformat The Date & Time Formats

Dec 1, 2009

I've attached a small sample of an excel file I created from a CSV. The date has defaulted to American format and the time is, as you can see, messy. How can I reformat so that I can have British date format and 24 hour clock?

View 2 Replies View Related

Reformat The Date And Time Picker?

Dec 26, 2012

How should i reformat the date and time picker? at this moments, it shows the date in the format of mm/dd/yyyy but the format that i want is dd/mm/yyyy.

View 10 Replies View Related

Remove Non-alpha Characters From Alphanumerics With Option To Remove Numbers

Aug 8, 2009

I have found a very useful UDF for removing non-alpha characters from strings. (See below, Credit for posting to Stanley D Grom - Ozgrid post ´Removing Non-alpha Characters From Text´).

Option Explicit

Private Function RemoveCharacters(InString As String) As String
Dim intLoopCounter As Integer
Dim intStringLength As Integer
Dim intASCIIVal As Integer
intStringLength = Len(InString)
InString = LCase(InString)
For intLoopCounter = 1 To intStringLength
intASCIIVal = Asc(Mid(InString, intLoopCounter, 1))
If intASCIIVal >= 97 And intASCIIVal <= 122 Then
RemoveCharacters = RemoveCharacters + Mid(InString, intLoopCounter, 1)
End If
Next intLoopCounter
End Function

Two requests:

1. Could the UDF be modified such that any part of a string contained within brackets is also removed (e.g. "NLGA High Street (West-Enfield), EN6" becomes "nlgahighstreeten")?

2. Can an argument be added to the format of the UDF, such that numbers (0 to 9) are either included or excluded (e.g. RemoveCharacters(A1,1) where the argument ´1´ would include any numbers (0 to 9), so "NLGA2003 High Street (West-Enfield), EN6" becomes "nlga2003highstreeten6")? ´blank´or ´0´would exclude these numbers, i.e. would return "nlgahighstreeten"

View 5 Replies View Related

Macro To Delete Excess Data

Feb 10, 2009

I have a large dataset with 21 columns and 3000 rows, but to keep it simple, the data looks more or less like the first dataset in the attached excel file.

This results in 3 curves (time vs force). However, there is excess data in there, I only need data as soon as the Force becomes positive (>0) untill the Force drops below 0.02 again (I consider that the end-point of my curve). So, this dataset would look like the second set in the excel file after the macro-manipulation.

I think one of the difficulties is making sure that the macro doesn't cut of my data right in the beginning, when the curve first crosses 0.02. In that case, you get the last dataset. And this is not what I want...

I hope I explained my problem well, if not, please let me know.
So, is there anyone who knows how to do this?

By the way, is there anyway to insert small excel tables in this post? Cause I wasn't planning on having an attachment, but if I copy-paste the data in this post, than the formatting gets undone and it looks like there's no way to fix it...

View 6 Replies View Related

Pivoting Data In Excess Of 65k Rows

Apr 24, 2008

I've exported some data from our finance system into Excel and now need to pivot it, problem is that there are 100k plus rows and therefore goes across more than 1 worksheet. Had a read through the forum and a number of topics about this but I'm a bit stuck. I've got as far as

1. Ungroup the 2 sheets, copied the row headers from sheet 1 to sheet 2 and then named the data in each sheet. I therefore have 2 identically arranged data ranges (albeit one is 65k rows the other 40k rows) named 'block1' and 'block2'

2. In a new workbook I've done

Data > Import External Data > New Database Query

3. I followed the wizard and slected Block1 as the table

4. In MSQuery I've edited the SQL to read

SELECT * from block1 union all select * from block2

I'm now stuck and have 2 issues

1 I'm only showing 8192 records is this a limitaion of MSQuery or has something gone wrong ?

2. I still don't know how I pivot the data

View 9 Replies View Related

Trim Numeric Characters After The Decimal

Feb 24, 2009

I have something simple (i think) but i cant think it through. I have a range of cells that are populated by a link and so even though the value shows #,### It really shows #,###.########

I would like to trim everything after the decimal point without having to adjust format of the range since some cells are general format and others are Percentage format but they all suffer from .####### HOWEVER, the last digits are variable and never the exact same amount of characters.

for each cell in range("C4:J9")
if cell.value "" then
Trim(Left(cell,4))
end if
next cell

View 9 Replies View Related

Field Length (1024 Characters)

Jun 12, 2009

i have a spreadsheet system that imports data from an .mdb including a memo box, but the limit on excels displayed and printed data (1024 characters i think) is causing issues!

is anyone aware of a method using VBA that i can use to ensure i can see all the text that is in the memo box not just the 1024(?) characters?

View 5 Replies View Related

Finding How Many Words Are Entirely Made Up From Characters In Field?

Jul 16, 2014

i bought a tattslotto scratch card (for those of ya outside of australia, not sure what youd call em, basically lottery ticket/game), this game is essentially a crossword puzzle, you scratch your letters out in a box then you have a list of words, you need to find words that are made up entirely of your letters, the more words you find, the more you win ive kind of screwed up the card and scratched out words i dont have, however i do have atleast 2 words and i think ive got more, potentially could win big but wanna know how much before i go claim it

ive opened up a new workbook, in the A column ive got a list of all my words, then in C1 ive got a field where ive entered all my letters, wondering if theres a way to get excel to work it out for me (like an IF statement on the fields in column A to compare them to C1, or some kind of conditional formatting rule)

View 1 Replies View Related

Remove Specific Time Data From Row To Leave Only Date?

Mar 7, 2014

I have a lot of rows of data in this date and time format "2/29/2013 10:00:25 AM" and I would like to remove only the time and leave the date

View 2 Replies View Related

Remove The Display Of The Leading Zero In Decimal Numbers

May 15, 2009

Is it possible to remove the display of the leading zero in decimal numbers of less than one in Excel 2007?

View 3 Replies View Related

Remove Decimal Point Because Wrong Calculation?

Sep 25, 2013

How to make calculation in excel without decimal point automatically. I use this formula =MIN(360,30*F42/360) . Total displayed 144. By right 142
DAY
FORMULA
RESULT
BY RIGHT

361
=F12/360*30
30.08
30

365
=F13/360*30
30.00
30

365
=F14/360*30
30.00
30

366
=F15/360*30
30.08
30

269
=F16/360*30
22.11
22

=MIN(360,30*F42/360)
144
142

View 6 Replies View Related

Rounding Number In Formula To Remove Decimal

Sep 19, 2006

My formula is not rounding properly. Cells I4, J4 and K4 all filter from the results of cell I3 divided by 3. (e.g. 10/3 = 3.333) I was able to remove the decimals in cells I1:K3, but the between formulas (I4:K4) keeps adding the decimal back, therefore this results in errors to my chart.

View 4 Replies View Related

Convert Regular Time To Decimal Time

Sep 19, 2005

I need to convert regular time to decimal time. example regular time in A1
is 1:38 I need that number to be converted to decimal time = to 13:63. add
12 to the hour and divide 38 into 60 to get the minutes. Our time clock
prints on a 12 hour basis and I enter to excel in decimal time.

View 12 Replies View Related

Calculate Time Difference In Decimal Time

Aug 16, 2008

I've got a time difference from 8:00AM - 12:30PM as 4.30 I'm trying to get the minutes, .30, converted into a 6 minute increment, .5. Is it possible to do this and if so how would it be done? Below is a chart of how the time is converted from 6 minutes increments into decimal form.

6 = 0.1 36 = 0.6
12 = 0.2 42 = 0.7
18 = 0.3 48 = 0.8
24 = 0.4 54 = 0.9
30 = 0.5 60 = 1.0

View 5 Replies View Related

Convert Number To Time & Decimal Time

Oct 8, 2007

I need to separate a list of times from a telecommunications bill. I have 170,000 line of data.

The Times are represented as below.

eg

46 46 Sec
59 59 Sec
100 1 Min
159 1 min 59 sec
200 2 mins
502 5 mins 2 sec
1256 12 mins 56 sec
3456 34 min 56 sec.

How do I separate them to a decimalized per min value.

View 5 Replies View Related

Insert 0 At Beginning Of Field Depending On Number Of Characters

Dec 27, 2012

Example below of the data I have. I need to convert dates into DD.MM.YY (8 chars) for SAP. I receive spreadsheets where the date is dd/mm/yy and I use the replace to convert the "/" to ".", then format this column as TEXT. My problem is some of these sheets have hundreds of records and rather than individually scroll through and look for data that requires the "0", is there a way to insert this. I can custom format that it looks as it has the zero, but it is not in the true data.

1.10.12 data should be 01.10.12
11.10.12 this is correct
3.11.12 data should be 03.11.12
3.06.12 data should be 03.06.12 etc

View 5 Replies View Related

Userform With Time Field Displays Time As Number

Dec 24, 2008

I have a userform that has a time field on it and then the userform displays the time as a number.

Ex. I entered 11:00 AM in the Time of Contact field and the form displays it as 0.458333333333333.

View 10 Replies View Related

Move And Reformat Data

May 25, 2009

I copy data from word document to Excel and it will look like this:

Name
Address1
Address2
phone
fax
e-mail
website

I have like 500 sets of this above data.
When I copy & past to Excel, it is all populated into Column A.
But I wish to put Name in Column A
Address1 in Column B
Address2 in Column C
etc.

View 9 Replies View Related

Reformat Downloaded Data

Sep 30, 2006

when i download the data to excel it is downloaded in some format i cannot use.

View 6 Replies View Related

Reformat Citrix Data

Jan 8, 2007

Im currently working with some data output from citrix and am finding that the system generated reports are not very user friendly. The format of the reports is as below (example only contains five products. The real report contains 500+ product IDs).

System Report Format.xls

Can anyone suggest a macro that copies and pastes data from the system generated report to a diff worksheet with a format such as attached:

New Format.xls

The challenge is that each of the product codes in the system generated report have two rows of data (recommended orders & open orders). Will it be possible to have the macro to SUM up the values in the same period of time in the new worksheet under the new format?

Additional Info:

1) Number of product codes changes monthly

View 9 Replies View Related

Macro To Reformat Data

Feb 20, 2007

In Cell A1 I have a company name which I wish to keep in cell B1 I have company address data I wish to keep and in cell B2 I have more address data which I wish to move to cell C1. Once this cells data has been moved I need to delete the two empty rows and then perform the same process on the next chunk of company data which is in the same format as the above and so until the end of the entries - sometimes potentially there could be hundreds of entries. I have attached an example of my problem - in the 'Original' worksheet is data in the form that I recieve and need to re-format. In the 'Fixed' worksheet is data in the format which I would like to have a macro to change it.

View 2 Replies View Related

Reformat Data Layout

May 21, 2007

I have a worksheet that has similar data but some maybe different lengths. What im trying to do is to be able to have them all in line so where the diagram no. is on the worksheet they are all lined up. On the excel sheet attached I want TURN NO in column J to line up with turn no in Column A each time.

View 2 Replies View Related

Remove Certain Characters From A Row

Jun 5, 2008

let's say row 2 has data that looks like

apple (kg), apple (g), orange (kg), orange (g)

it is possible to remove the (kg) and (g) tags so that it'll become
apple, apple, orange, orange

using VB code?

View 9 Replies View Related

Remove Characters

Apr 27, 2006

May I know how to remove character like

1) full stop
2) spacing
3) Dash
4) Hyphen
5) Left and Right Slash

For example:-

016-2733(LS-800E)
MS12-FS4/2M
1/4"GTR

Output:
0162733LS800E
MS12FS42m
14GTR

View 2 Replies View Related

Remove Post Code From Address Field

Aug 20, 2014

I have a list of addresses, which are comma separated, all ending with a PostCode

How Can i strip out the PostCode field?

View 3 Replies View Related







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