Changing Data Layout In Table
Jun 26, 2007
I would like to change the data layout from the "Original Table" to the "Final Table" as in attached file. Belinda_June-25-07.xls. How do I use VBA to do the change? In my original table, I may have several hundred rows and more than 36 columns for the time periods.
View 3 Replies
ADVERTISEMENT
Nov 27, 2008
My question is explained inside the workbook. Changing a Table layout
View 5 Replies
View Related
Mar 14, 2007
I would like to know if there is a way to change the format of external data? Instead of the default:
View 9 Replies
View Related
Jan 31, 2014
I have a bar chart that monitors month over month activity. I use Layout 5, which allows for the numbers data to neatly be organized in a table below the bar chart. However, i recently started using the data on a secondary axis to accurately reflect trend lines. It works great, but now the data table below displays redundant information. see attachment.
example.jpg
I just want that data in the data table to be displayed once, completely leaving of the axis legend.
View 2 Replies
View Related
Sep 7, 2006
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.
View 4 Replies
View Related
Jun 17, 2013
I have responses from a questionnaire in the format below, and need to mail merge to a word doc.
name
subject
teacher
grade
comment
[Code]....
If I'm right I need it in the following format for a mail merge.
name
subject
teacher
grade
comment
[Code]....
I need to get this fixed by 5 pm tonight, otherwise a foresee a night of copy and paste ahead. I thought pivot tables might work, but alas no, it only tells me the number of the comments i have.
View 7 Replies
View Related
Feb 8, 2007
way to change the date layout at all.
the problem is that i have a user form with a text box in it to put in the date i.e 08/02/07 but when i click the button to add it to the worksheet that has the database it comes out as 02/08/07 is any way to change or will i just have to put the month first rather then the day
View 9 Replies
View Related
Mar 27, 2012
I have a very large excel data file, which I want to analyse using pivot tables. The problem is that while most of the columns are headed with the variable name (e.g. country) and have the list of variables displayed under that heading for each observation (e.g. Italy), the years are spread across the columns - i.e. the heading for column X is not "Year", but is 2003, with the next column being 2004, etc.
Is there a quick way I can re-arrange the data so that the layout is consistent and so that I can use it for pivot tables? I have way too many observations to do this by hand.
View 1 Replies
View Related
Jul 13, 2007
In the attached file you'll find an original table and the requested Table in its new layout. I thought to use TRANSPOSE in an Array- Function but it didn't work as expected. However, I managed to present the DATA (light green range) with the help of SumProduct. My Question goes like this: Is there a way to present the Upper and Left Headers (in red font) with Formulas ?! (I typed them by hand).
View 2 Replies
View Related
Dec 7, 2007
I've got a huge spreadsheet that's been imported from a web survey and it has thousands of variables in a single column (A) in excel. each of these variables are on a new cell row and begin with a value of 'V1=' up to 'V100=' or a few fixed values like :USERID:= (see below).
It has unique markers showing the start and end of each survey,so it's something like:
***START SURVEY DATA***
V33=5
V17=2
V18=
V35=4
V51=
V36=3
V52=
V19=1
V53=
V70=Mike J Evans
V37=4
V54=
Now each of these V numbers is an answer to a question on the survey, so I need them to all line up in a column, otherwise it makes no sense
So what I need is a way to scan down the column and convert each survey (from ***START SURVEY DATA*** to ***END SURVEY DATA***) so it's arranged in a row (with each value in a new cell in a column.
Does anyone have a clue how to do this?! (I've uploaded an example as an attachment that'll show a couple of surveys imported and a second tab that shows how I need them in rows - only without sorting the v values properly.)
View 6 Replies
View Related
Jul 22, 2007
I have an excel file, attached. I have a system that output all the stock in the format of sheet "price listing".
At the moment I manually create the layout for the text in "sheet 1" and use a macro to update prices etc. There are about 400 lines in the full listing and having to update the layout constantly for new products, deleted products is very time consuming. I send this list to customers every few months for them to see the range and the prices, so it has to look well.
I am looking for a macro or a pivot chart or something that I would be able to run on the "price listing" sheet and would put it in some usable format. Different customers can have different prices so that it needs to be quick and flexible. I send this list to customers every month for them to see the range and the prices, so it has to look well. Is there any way to create an index also from an excel workbook?
View 10 Replies
View Related
Apr 12, 2012
In my data, I have:
1. Age (up to 20, 21-30, 31-40)
2. Gender (male, female)
3. Location (London, Paris, Berlin)
I want to see Age and Gender as column labels and Location as row labels. However, I don't want Gender as a sub-set of Age - I want Age Labels followed immediately by Gender labels ie:
Upto20 / 21-30 / 31-40 / Male / Female
I don't want: 21-30 Male / 21-30 Female / 21-30 Total / etc etc..
Is there a way to specify this in a pivot table?
View 3 Replies
View Related
May 26, 2014
I am creating, essentially, a product order form (actually a shopping list creator for my wife). Containing 'Quantity', 'Product Name' and 'Price'. When I enter the product name via a drop-down list, the price is displayed using vlookup.... no problem so far.
My problem is... or should I say, my desire is, that when the vlookup price is displayed, if I (my spouse) know the current price to be different from the one retrieved from the lookup table, I would like to post the new price and modify the data in the lookup table so that any future requests for that item will reflect the new price.
View 8 Replies
View Related
Sep 27, 2007
I'm creating a pivot table based on a section of data that will continually be of variable size. I'm trying to think of a way to command VBA to create a pivot table without giving an absolute reference to the table's source data. I can automatically select all of the data regardless of size, so I'm trying to see if I can command Excel to create a pivot table based on "Selection" instead of an absolute reference, in much the same way I might use Selection.Name instead of specifically defining a name's parameters. This is the text I currently have in VBA for the pivot table.
ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatabase, SourceData:= _
"End!R1C1:R424C14").CreatePivotTable TableDestination:="", TableName:= _
"PivotTable2", DefaultVersion:=xlPivotTableVersion10
My current idea is to name the range (a task I *know* how to do relatively) and refer to the named range instead of the RC:RC jumble.
View 2 Replies
View Related
May 9, 2008
I have upgraded to Excel 2007 and the PivotTable formats are different. I prefer the old 'drag and drop' formatting, and would like to default to that.
I can switch to the classic format by going to Pivot Table Tools ---> Options ---> Display --> Classic Pivot Table Layout, but I have to do this for each table I create. I'd like this to be the defaut choice.
I've searched the board and someone posted that if you add the Pivot Table/Chart icon to your task bar, that will open the old layout --- it opens the wizard, but the table that is created is still in the new format which does not enable drag and drop.
View 9 Replies
View Related
Feb 29, 2008
I have a database in this format:
IDProgram NameNIDCvg BeginPlan CodeRate
B00001RT1WILLIAM9999999991/1/03INDEMA5
B00002RT2RAMON9999999997/1/06INDEMA2
B00003RT1MARY99999999910/1/04INDEMA5
The number of rows in the database changes from month to month. I'm trying to write a macro that will pull rates off of a rate table on another sheet in this format:
Plan12345
CCAREA RT1$0.00 $0.00 $0.00 $0.00 $0.00
CCAREA RT2$0.00 $0.00 $0.00 $0.00 $0.00
INDEMA RT1$225.81 $436.89 $415.78 $595.20 $320.80
INDEMA RT2$146.36 $277.76 $264.62 $376.31 $205.49
PACIFA RT1$193.07 $434.40 $415.08 $598.49 $337.85
SH RT2$74.08 $148.16
DELTA RT1$25.85 $51.70 $82.74
DELTAP RT1$39.26 $78.52 $126.76
RLIFE RT1$1.25
I'm trying to create this in a way that the user won't have to manually fill in the formulas each month when the size of the database changes. I can also reformat the rate table if need be, but not the database. I've attached a sample file so you can see what I'm talking about. I'm fairly new to VBA.
View 2 Replies
View Related
May 2, 2013
I have a excel based timesheet that looks at an external table named "Station Master" to populate columns from a vlookup. I have recently linked the Station Master to a database to populate it. From the database we may change status so that the project does not show up in the station master anymore to make sure complete projects are not getting hours charged anymore. Now if a project that was on the master goes away previous timesheets lose the correct description because it is not on the station master anymore.
My question is there anyway to make the previous data lock so the data that is in the cells won't change when the station master changes.
A little more info... the time sheets are by quarter so 12 weeks are in the same workbook as individual worksheets. All of those worksheets vlookup to a worksheet called "projects" inside the workbook. Then that worksheet references the external Station Master workbook.
View 2 Replies
View Related
Jun 11, 2008
I can export inventory data from my Point of Sale system that looks like this:
I need to manipulate it to look like this:
To do so I think I need a macro(?) to:
Copy and insert as many rows as the quantity in Column C. In case of >1 the row is deleted.
This would allow me to print labels for every item in my inventory.
View 3 Replies
View Related
Mar 18, 2013
I've read a lot of tutorials on how to use pivot tables, but found them either too basic, or too advanced, and never finding any example of what I am looking to do.
I have a database, column A holds names, and column B their phone numbers. I'd like to generate a list of unique names and their associated telephone numbers. I figure I can use a pivot table to do this.
But I do not quite understand how to format the pivot table to put the name in one column and the phone number in the next. I will use this pivot table as a vlookup range. I assume I can do this.
View 7 Replies
View Related
Mar 5, 2013
I have the following code to update a pivot table:
Code:
Dim pt As PivotTable
Application.EnableCancelKey = xlDisabled
For Each pt In ActiveWorkbook.Worksheets("sheet1").PivotTables
pt.ChangePivotCache ActiveWorkbook.PivotCaches.Create _
(SourceType:=xlDatabase, SourceData:="source!R4C1:R33443C55" _
, Version:=xlPivotTableVersion10)
Next pt
the R33443 term is what will be changing, the columns and the starting row should stay the same. is there a way to instead of using R33443, to enable the range to be changed based on a cell value?
View 2 Replies
View Related
Feb 27, 2009
I have a worksheet that look something like the excel.jpg but hundreds of rolls instead
I wonder if there some way i can convert it into something like exel2.jpg without having to do it manually
if excel is not capable can i use access to do it ...
View 7 Replies
View Related
Aug 19, 2009
I have a workbook where employee scheduling is done on a monthly basis in 15 minute intervals. It is laid out like this:
******** ******************** ************************************************************************>Microsoft Excel - Key Support Services 090813.xlsx___Running: 12.0 : OS = (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutB2C2D2E2F2G2H2=ABCDEFGH2Time8/1/20098/2/20098/3/20098/4/20098/5/20098/6/20098/7/200938:00 AM 48:15 AM 58:30 AM 68:45 AM 79:00 AM 89:15 AM 99:30 AM 109:45 AM 1110:00 AM 1210:15 AM 1310:30 AM 1410:45 AM 1511:00 AM Schedule [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.
The times go from 8 AM - 8 PM, and all of the cells within the range B3:AF51 are drop downs with the employee names listed. They are conditionally formatted so that we can easily see who is scheduled to work when, and on what days.
The problem that I have is that I like this layout for inputting the data because I can see it all very clearly, but it is not good for archiving or saving past months data. I want to be able to take that view and change the format so that it can easily be summarized in a Pivot Table for all of the historical information.
So, I need to take the date and time and format both of them into a column, put the client name (will be the sheet name) in the next column, and then the name of the staff that worked during that time.
******** ******************** ************************************************************************>Microsoft Excel - Book1___Running: 12.0 : OS = (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutA1=ABCD1DateTimeClientStaff28/1/20098:00 AMClient1Employee138/1/20098:15 AMClient1Employee148/1/20098:30 AMClient1Employee158/1/20098:45 AMClient1Employee168/1/20099:00 AMClient1Employee178/1/20099:15 AMClient1Employee188/1/20099:30 AMClient1Employee198/1/20099:45 AMClient1Employee1108/1/200910:00 AMClient1Employee1118/1/200910:15 AMClient1Employee1128/1/200910:30 AMClient1Employee1138/1/200910:45 AMClient1Employee2148/1/200911:00 AMClient1Employee2158/1/200911:15 AMClient1Employee2168/1/200911:30 AMClient1Employee2178/1/200911:45 AMClient1Employee2188/1/200912:00 PMClient1Employee2198/1/200912:15 PMClient1Employee2Sheet1 [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.
From there I can take a completed month, and quickly run some code to make the change, and add it to the historical tracking where it is all summarized.
View 9 Replies
View Related
Aug 25, 2006
I have a data feed that gives me a summary of a set of data. I want to be able to work back to what would be the original data (this unfortunately isn't available). The attached excel file as an example of what I am trying to do.
I am not too sure about the working with the dates etc.
View 9 Replies
View Related
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
Dec 12, 2007
I have a stacking program but it does not keep the first column associated with the data that is stacked as well as the first row. This is how the database looks now:
CREATE TABLES LIKE BELOW?July '07August '07September '07
HR #55551341,929
HR #57217311,653
HR #102322,8981,988
HR #98221,5571,097
this is what I need:
CREATE TABLES LIKE BELOW?HR #55551 July '07
HR #5721 July '07
HR #10232 July '07
HR #9822 July '07
HR #55 34 August '07
HR #57 731 August '07
HR #102 2,898 August '07
HR #98 1,557 August '07
HR #55 1,929 September '07
HR #57 1,653 September '07
HR #102 1,988 September '07
HR #98 1,097 September '07
The current VBA prgram just stacks the columns in one column going from right to left.
View 6 Replies
View Related
May 5, 2013
I need to change the layout of data within a cells. Attached is a sample of what I need to do
View 9 Replies
View Related
Dec 4, 2008
I have a spreadsheet that tracks hours for employes and I need to get the data in a different layout to import to a database i'm building. The example spreadsheet has 2 tabs, the first is the format it's currently in and the second in the one I need it in.
View 4 Replies
View Related
Jul 16, 2009
the sheet is very long and monitors the sales activities of each individual every day extending vertically down the sheet until the present day.
my first priority was to get the information recorded but now i am wanting to use it.
how would an expert arrange this data to make analysis easier going forward?
ultimately i will be wanting to look at individuals, groups of individuals, certain types of activity etc within various time periods.
View 9 Replies
View Related
Sep 14, 2006
Is there an way to make an YES and NO button where when i click YES it pop-up a box asking for confirmation on the action and if you confirm it then the data wrote into A1, A8, D1, D8 will be saved into "Product Exit" worksheet then the data into A1, A8, D1, D8 will be cleared.
aswell as a NO button but the NO button will save into Product not sold IF confirmed TRUE and then cleared and if confirmed FALSE will just clear A1, A8, D1, D8. if it cant be done with the confirmation can it be done without it example ?
View 3 Replies
View Related
Nov 16, 2006
I 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.
View 3 Replies
View Related