Reformat Downloaded Data
Sep 30, 2006when i download the data to excel it is downloaded in some format i cannot use.
View 6 Replieswhen i download the data to excel it is downloaded in some format i cannot use.
View 6 RepliesI often download data from various web sites - this is data that is displayed on a web page in tabular format, and often consists of hundreds of lines. I typcally Select All, then Copy, then go to a blank spreadsheet and Paste. After a bit of reformatting, I'm usually in good shape. The problem is, that sometimes the contents of a cell might have been "5-2" (without the quotes), and it comes through on Excel as "May 2". Without proofing each cell, I can't just make the assumption that the original was "5-2" - it might have been "5-2-10" (but not a date).
The normal Paste Special options are not available when I do this, so I can't paste them in as values. I have tried formatting the worksheet at text prior to doing the copy but that does not work.
I have a Macro that Formats specific data downloaded to an excel spreadsheet everyday and I have also got a macro that will 'Save As'.
I am trying to merge the 2 within Visual Basic but am unable to word it correctly and get it to run without errors...
Here is the end of the first Macro:
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False..........
I am trying to use vlookup function with web query data and some of the data has embeded characters I can not see and vlookup does not work (can not match even though numbers appear to be the same). I have attached a test file with the data and formula and a detailed explanation.
Found this ....
I have a problem with text to columns with data downloaded from our website. The address field is coming through with the whole address in a single cell with multiple rows. I have tried the following but all I get is the first row in the first colimn and the rest of the data:
Text to Columns, Delimited, Other and ALT-0010
Text to Columns, Delimited, Other and ALT-010
Text to Columns, Delimited, Other and ctrl-j
I have even created a macro to replace the hard returns with commas and then use comma as a delimiter but that still does the same.
I have attached a file with two of the records (1 tab for the original data and one with the commas)
Finally, I have tried this in both 2003 & 2010 and get the same issue in both.
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.
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
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 RelatedI 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 RelatedI need to extract and format a large data base of county real estate tax parcels for a report. See attached. How can I combine these or is it possible.
View 2 Replies View RelatedI have 447 worksheets in my workbook, I need to consolidate them into one sheet and transpose the data so that it goes into across rather than down. I really only need data in rows 19 to 40 but the data in 29, 30, 31 A to I needs to be in one cell.
View 5 Replies View RelatedI'm trying to take spreadsheet data in columns and reformat into rows. See attachment. Basically i want to duplicate columns A thru E by row specific and then take columns F thru K in pairs to match up with the duplicated rows corresponding to the specific rows. So every row currently will become 3 rows (A thru E) with Columns F and G (old F & G row 1, H & I row 2, J & K row 3)
View 4 Replies View RelatedI would like to state how fantastic a resource this forum has been to me as a beginner. So keep up the good work! The issue I have is that my spreadsheet contains one column which shares two types of data: Component Type and Tag Number. What I would like the script to do is:
1. create a new column
2. move the Tag Number data from its current column into the newly created column
3. ensure that the data is still on the same row as it was previously
One thing to bear in mind is that the tag numbers consists of various formats (spaces/no spaces), but always begin and end with brackets - "(XTU U-532-934)". I have included and example of the current state of the data and what I would like to look like after.
I have a sheet that has multiple records of the same recurring format (see attached .xls) from which I must extract data from the same groups of cells in each record (highlighted in yellow for example purposes) and export to a columnar format in another sheet. The only variable with the format is where we get into the amount of people on the plane and thus the line may shift down one or two spaces. I would like to just pull the data for the same person's name from each record as well. What is the easiest way to go about doing this?
View 9 Replies View RelatedI'm trying to write code in Airport1.xlsm to allow me to create a macro to automatically copy data from Airport-Data.xlsm and reformat it to what is needed in Airport1.xlsm.
Basically I need the code to take each airport in column A of Airport-Data and where there is a non-zero value in rows column C to G I need it to clear the appropriate column in Airport1.xlsm and add a 1 to the appropriate box.
I got stuck thinking about the nested For Next Cell in range procedure and how to execute it with a search for the correct row in Airport1.xlsm.
I'm using Excel 2003, version 11 and am trying to reformat data from one sheet to another. What I would like to do is copy the rows for each team from the Input sheet (Input tab) and and use them to build rows on the Output sheet (Output tab) for each possible combination of players.
In my attached example, a three person team has three combinations and a five player team has ten combinations and so on. I know this is probably a loop within a loop but I can't seem to get the right combination. Not all teams are full yet so the number of players on a team will vary. I need macro code to make the input sheet look the output sheet.
Rows 1 to 12 of the attached .jpg file shows the format that I receive from a University. However, in order to check enrolments, etc., I would prefer it to be in the format as shown on rows 15 to 19, that is, one complete student record per row.
As you can see, not all students are studying the same number of subjects and the subject mix is also different.
My fixed asset software will not allow me to show multiple individual months of acquisitions. I can export each month. This will create a separate spreadsheet for each month, but the problem is that each spreadsheet may contain the same asset, but additions to that asset.
Spreadsheet 1
....Description............................Dept...................January acquisition
.....Building____________________Plant______________1,000,000
Spreadsheet 2
.....Description..........................Dept...................February acquisition
......Building___________________Plant______________1,000,000
.....Welder____________________Metal_________________5,000
What I want is this
Spreadsheet 3
.....Description.........................Dept..................January Acq..........February Acq
......Building__________________Plant____________1,000,000__________1,000,000
......Welder___________________Metal_________________________________5,000
I have a worksheet of data collected from on online list of names and addresses all in one column. I'd like to pivot the data so I can sort it, etc. Unfortunately, the entries are not the same length (meaning some have five rows some have six or seven, etc. I have created an only file so everyone can see the issue.
a href=[url]
I need a formula that effectively reformats data.
Original data:
Country
Name
2010
2011
2012
A
John
5
6
7
B
James
3
4
5
Into this format:
Country
Name
Year
Value
A
John
2010
5
[Code] ...........
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
The government was just kind enough to send me some data I asked for in the form of a spreadsheet. Came in a Yahoo email. Document was blahblah.xls
I downloaded it.
Clicked and Excel opened it without any error messages.
What I see is one white bar in the spreadsheet section. It has three sections where you would have three columns.
On the left it says F279, which I take to be the cell address.
Then to the right of that there's a sort of elongated blue button with 'fx' written on it and a dot at the left end that I can use to grasp it and slide it left and right.
To the right of that it says 6169, which is the content of some cell.
Hover over a couple of these things and it says 'name box' and 'formula bar' at different times (sometimes I can't get it to do it.)
There's data there. I can't do it now but somehow the first time I opened it I was able to scroll one or the other column (i.e. one at a time only) up and down and see there was content there.
Is this thing fixable or should I get back to them and ask for a rerun? I would delete this is I could but it doesn't seem to offer that choice.
Did a 'print preview' and after that it came up in normal view. Well, nearly, it was down at the bottom of the screen but I was able to drag it up and now I've got it.
Report 1 is downloaded from SAP into Excel and Report 2 is downloaded from AS400 into Excel.
Report1 contain 3 columns as follows:
Column A - Invoice #
Column B - Invoice date
Column C - Invoice Amt
Report2 contain 5 columns as follows:
Column A - Invoice #
Column B - Ship Date
Column C - Check #
Column D - Amt Paid
Column E - Payment date
I tried to use the Vlookup function in Report 1 Column D to lookup the matching Invoice # in report 2 and bring in the corresponding Amt paid. It did not work and I assume that this is because of the formats in the downloaded files. I did try to change formats for the columns involved but this did not work. This function works fine if both files were setup in Excel, however in these downloaded files even though saved as excel workbooks, something prevents this function from working. I do know for a fact that the same invoice number does show up in both these files but the vlookup does not pull up the required Amt paid from Report 2.
Version: excel 2003
OS: Win XP
Currently using VBA do develop a tool for Excel. I've downloaded a .ocx control and am wondering how one would go about adding it to the toolbox?
I am not able to open any excel file which comes as attachment with mail.It shows the message "file is corrupt ".
However , once it is open from other computer, I can view the same in LAN system.
How do I convert a list of downloaded zipcodes that preceed with zeroes into 5 digits?
i.e.
501 into 00501
and
1601 into 01601
Reformat a range of text in a spreadsheet. The text is currently in the following format:
cell A1: "ABCD"
cell B1: "A1 - A5"
I need to convert the range in cell B1 so that the range is expanded downwards in column B. The output should look like this:
A1: "ABCD" B1: "A1"
A2: "ABCD" B2: "A2"
A3: "ABCD" B3: "A3"
A4: "ABCD" B4: "A4"
A5: "ABCD" B5: "B5"
I m trying to use a variable that is declared as a range in a formula. GroupCategory is the name of the sheet its getting the data from. I want to use myRange instead of actually putting in the range. I know there's something wrong where I highlighted in red.
Sub AAmacro()
Dim myRange As range
Lastrow = Cells(Rows.Count, 1).End(xlUp).Row
Set myRange = Range(Cells(2, 1), Cells(Lastrow - 1, 1))
Sheets("sheet1").Select
Range("L2").Formula = "= SUM(INDEX(GroupCategory '!' & myRange,,MATCH(C1,GroupCategory!$A$1:$ AI$1,0)))"
End Sub
I have a fairly simple problem that my typical method of recording a macro and editing it isn't working for. What I'd like to be able to do is point a macro to a certain spreadsheet, and have it reformat the text of that sheet into a new workbook. I get new sheets from a customer each week, so the name of the sheet isn't constant. The process isn't too difficult to do by hand, but the sheet I'm trying to reformat is typically 30 lines or so of data, which is cumbersome to do manually line-by-line.
I've attached a sheet with a sample of what the data starts out looking like and what it should look like in the end. My goal is to take a single row of data and turn it into a check sheet so that there's a check box between each part number and each process. The number of parts can be anywhere from 6 to 17, but the number and types of processes is always the same.
See attached file. A colleague is downloading rows of data from a website which contains a number field Excel is currently treating as Text after being pasted in. My spreadsheet includes just a sample of the many rows of data however as you can see the VALUE function refuses to convert these text values to numbers. How these might be converted and why the VALUE function refuses to work in this case?
View 5 Replies View Related