Transpose Rows Of Data With Repeating Reference Point?

Jun 27, 2014

I have a set of data, for example:

Code Manager Level
abc 123 ab1
def 456 cd2

What I need is to create output that looks like this:

A B C

abc Manager 123
abc Level ab1
def Manager 456
def Level cd2

So essentially for each code, I need two separate rows that say what heading and the value is.

View 1 Replies


ADVERTISEMENT

Convert Rows With Repeating Data To Separate Rows

Aug 5, 2009

See the attached xls. There are two worksheets contained therein, one with the original data, and the other showing how I'd like it organized.

I have rows of product data consisting of a product id followed by repeating attributes of quantity and associated price. I need to convert each product row to multiple rows of each quantity/price pair while preserving the id for each pair.

View 10 Replies View Related

Skip Repeating Rows Of Data

Nov 25, 2013

I would like to know how do I skip a row if the data in that row is the same as previous rows?

Say I have a column of names, and John is in row 1 and 5, and I want to store this column of names in array, but I dont want to have two Johns inside it. How do I skip row 5 then?

View 4 Replies View Related

Data In Columns To Rows (not Transpose)

Nov 19, 2008

I am trying to clean up some data, which is organized horizantally AND in rows, as per the attached screenshot.

The fact that there is data horizontally across seven week days and in rows for the weeks of the year makes it impossible for me to use the simple TRANSPOSE feature, of which I am aware...

I have quite a couple of worksheets I need to apply this operation on, so manual work is the worst solution...

View 13 Replies View Related

Getting Data From Columns To Rows Without Using Transpose

Mar 26, 2009

I have an excel spreadsheet which contains data for customers and the last date they were seen at an appointment (along with various other bits of info).

The way the data is exported from my database package means that each customer has one row per appointment, i.e. row 1 contains john smith, 01/01/2009, row 2 contains john smith, 03/03/2009, row 3 contains john smith 01/04/2009, row 4 contains joe bloggs 12/02/2009, row 5 contains joe bloggs 27/03/2009. Some customers may have 4 or 5 appointments listed whereas another customer may only have one. I need to get the appointments all onto one row per customer so that I can calculate the number of days between appointments. I have tried to use transpose, but with 8000 rows it takes forever.

View 4 Replies View Related

Transpose Data From Rows To Cells?

Jun 26, 2014

Macro that transpose data from row to column.

Original Data:
Original Data.jpg

Requested output:
Output.JPG

The number of cells that include data in each row as well as number of rows is variable.

View 1 Replies View Related

Extract Data In Rows And Transpose To Columns?

Feb 13, 2014

I am struggling with an Excel Database, to make it "cleaner". Here is my problem. My database looks something like that:

Column A Column B Column C ... Column H
ID Age Date of Birth ... Language
00001 14 01/01/2000 ... English
00001 14 01/01/2000 ... French
00002 14 01/01/2000 ... English
00003 14 01/01/2000 ... French
00003 14 01/01/2000 ... German
00001 14 01/01/2000 ... Spanish

Basically, Columns B & C will never change for the same ID, but columns G, H and others contain data that is different from one row to the other. What i wwould like to do is having unique values in Rows, with Languages displayed in Columns. The database would look like this:

Column A Column B Column C ... Column H Column I Column J
ID Age Date of Birth ... Language 1 Language 2 Language 3
00001 14 01/01/2000 ... English French Spanish
00002 14 01/01/2000 ... English
00003 14 01/01/2000 ... French German

The challenge is that I would need this to be done with formulas only, not using any kind of code. Deleting duplicates manually after "cleaning" the database should'nt be a problem. I tried a formula found on this forum, but i couldn't manage to make it work. The formula looked like this:

{=IFERROR(INDEX($C$4:$C$8;SMALL(IF(FREQUENCY(MATCH($C$4:$C$8;$C$4:$C$8;0);MATCH($C$4:$C$8;$C$4:$C$8;0));ROW($C$4:$C$8)-ROW($C$4)+1);ROWS(C$16:C17)));"")}

View 2 Replies View Related

How To Transpose / Move Data From Columns To Rows

May 18, 2013

So, I have a column with data on rows as follows below. I need to arrange the data below in such a way that I have on first column the company name, second column the contact person and so on depending on what data is found (tel, e-mail, website).

The data is on rows and I have separated each company/group of data with a row between them. There are in total aprox 200 companies/groups of data that I need to arrange as explained above.

I have tried with transpose but I have to manually do it 200 times. I have tried with an indirect formula but the companies/groups of data do no have same amount of info/rows e.g. some lack the phone number or other data.

if there is a method to save the time and not arrange them manually.

Actinote
Contact: Toine Kets
Managing Director
Str. Tache Ionescu 3, Et. 5, Apt. 10

[Code]....

View 7 Replies View Related

Transpose Multiple Rows Of Data To Single Row?

Jul 24, 2014

I have a set of data that I need to change the "layout" of. I've had similar situations before, but this one is just killing me. Basically, my data is for item pricing. It is represented as

Item, QTY, Price
A,1,1.25
A,10,1.1
A,25,1
A,100,0.9
B,1,1.25
B,10,1.1
B,25,1
B,100,0.9
C,1,1.25
C,10,1.1
C,25,1
C,100,0.9
Item D,Qty1,P1
Item D,Q2,P2
Item D,Q3,P3
Item D,Q4,P4

However, I need it in the following format:

A,1,10,25,100,1.25,1.1,1,0.9
B,1,10,25,100,1.25,1.1,1,0.9
C,1,10,25,100,1.25,1.1,1,0.9
Item DQ1Q2Q3Q4P1P2P3P4

As a note: there is a maximum of 4 Price/QTY breaks, so the script can be hard coded for that. When I tried this, I had it looking at the Item column, finding out how many breaks there are for a specific item and then doing a loop to extract the qty and price to a single row in the format shown above. It worked for the first 2 items, but then the loop got throw off. I will see if I can reproduce the code for that.

View 4 Replies View Related

Layout/Transpose Data Rows Into Columns

Jun 17, 2008

I have a following table:

A B C
1 City Name List
2 NY Peter 11; 23; 12; 11; 14
3 Toronto John 24; 25; 87

How can I, in a separate worksheet, create a following table?

A B C
1 City Name List
2 NY Peter 11
3 NY Peter 23
4 NY Peter 12
5 NY Peter 11
6 NY Peter 14
7 Toronto John 24
8 Toronto John 25
9 Toronto John 87

View 4 Replies View Related

Transpose Or Convert Rows Of Data Into Columns Of Data:

Feb 12, 2009

When I was using Excel 2000, there was an Excel add-in where I could highlight rows of information and then transpose these into columns of information. Since we have upgraded to Excel 2003, the same Excel add-in does not work and I have not been able to find a simple solution to transpose my information from a horizontal view to a vertical view or the reverse.

Or do I just have to move 53 columns (weeks) of 4 rows one cell at a time to 4 columns of 53 rows (weeks)?

View 3 Replies View Related

Averaging From A Reference Point

Jan 18, 2007

I have a column of data and I want to average the figures from a certain point onwards.

I have the starting point value in a cell which is used as the lookup value to find the matching position in the list using the Match(lookup value, array) formula.

How do I then use that formula as the row number in a cell reference for the averageing formula?

eg Average(C(match(B1,C4:C100)):C100) - what is the correct syntax?

View 3 Replies View Related

Selective Transpose Multiple Rows Of Data To Columns

Jul 21, 2013

How to selectively transpose a row of dates to columns. I'm not sure exactly how to explain this, so below is an example of what the data look like entered into the spreadsheet:

study ID
provider
visit 1
visit 2
visit 3
visit 4
visit 5

[Code]....

I'd like to extract the data into a new table on another worksheet that looks like this:

Date
provider
study id
visit #
7/21/13
Test Name
10001

[Code]...

This is just a quick example, but basically it would continue through all possible visit dates for the first study ID, then move to the next row of data (i.e. the next study ID) and extract the data from the row and transpose it in the appropriate columns moving down...

View 14 Replies View Related

Creating Macro To Transpose Column Data To Rows

May 22, 2012

How to create a macro to transpose rainfall data (in a column) into rows.

I have over 7200 years of data so using paste special will be very slow.

I have attached a sample of the spreadsheet below.

YearMonthRainfallYEARJANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC
11105.5841126.1212131.72131412.0541514.15451646.6716179.75571824.4838193.
25291105.931011131.1781111231.943122161.0321322109.9142324.751152416.501162512.
164172613.222182787.3719285.5202931.944212104.019222111.1642321221.049243117.

[Code] ..........

View 6 Replies View Related

Transpose Data Ranges Separated By Blank Rows

May 9, 2008

Need Macro (code) to copy specific cells from a sheet into a new sheet in a desired format. I have an excel file which has data set in 20 rows. Each row has multiple fields. At the end of each data set there is a blank row. I want to capture specific data fields for each data set (e.g. Name, Bank no. etc) and put it into the respective heading. This process needs to be repeated for all the data sets.

A sample sheet is attached for better explanation. Sheet 1 has the raw data and sheet 2 has the required output. The no. of data sets shows in sheet 1 is just a sample. In actual it would be a large no. of such data sets.

View 9 Replies View Related

Labeling A Cell To Use As A Reference Point

Mar 18, 2009

Need the syntax for labeling a cell. I want to temporarily label two cells in the same column. Then I'm hoping to use those labels as the start and end points for a range using the script...

View 6 Replies View Related

Excel 2007 :: Transpose Data From Column A1 To Multiple Rows

Feb 26, 2014

I need to transpose data from Column A to Row 2 and down.

The data in column A is in sections of 19 rows and then a blank cell and another 19 rows of data contimuously, It is a dynamic range and can contain many thousands of Rows.

The data needs to be transposed from Column A to row 2 (row 1 has the head line for each column) so the 19 lines of data is now spread accross 19 columns in row 2 and the next section from column A is spread accross the 19 columns in row 3 and so on.

My data looks similar to the below. (Test Number 0001 starts in A1)

Test Number 0001

21-Feb-2014

Kettel

Office

Demo

[code]....

I use Excel 2007

View 6 Replies View Related

Vb Code Macro Needed To Transpose Data From Columns To Rows

Oct 14, 2008

i have the following spreadsheet with dummy data however, there is a before and after scenario i have posted is this possible with a macro ...

View 9 Replies View Related

Transpose Data From Rows To Columns, Export To A Tab Delimited File

Mar 12, 2003

I was wondering if their is a simple macro to transpose data from rows to columns so I can export to a tab delimited file. This particular list is 5 lines underneath each other and then the next entry.

There are no spaces between entries.

View 9 Replies View Related

Vlookup And Offset: The Figure Of 10 Rows Across And Then 2 Rows Down From That Point

Jun 22, 2007

I have done a search and I think this is possible but just can't convert any of the examples to work for me.

This is the calcuilation I would normally enter -

=VLOOKUP(A80,'[CF227.xls]Sheet1'!$A$9:$J$9,10,FALSE)

However I don't want the cell 10 rows across when a match is found I want the figure 10 rows across and then 2 rows down from that point. i.e. if the match is in row A9 I want to return the figure in J11.

View 4 Replies View Related

Repeating Rows

Jun 23, 2008

I am creating several worksheet where the first two rows are repeated so that I can see those two rows as I proceed down the sheet. That feature works on some but not all sheets. What am I missing? I even tried copying the pages that are correct to another worksheet and that format doesn't copy to the next worksheet.

View 9 Replies View Related

Repeating Command Until End Of The Rows

Nov 23, 2009

I download an extract from our company's website (.csv). After that, I need to do certain actions (such as deleting certain rows etc.).

The parts I am struggling with in VBA is:
- I need to trim B:B and give back the values to the same cells it came from;
- I need to add three columns behind the data: a date (same for all rows), a simple sum of two cells (A2-D2), and a vlookup.

I vaguely remember that I need to build a loop until the end of the rows (number of rows varies with every download, column headers are the same always), but I cannot remember how.

View 9 Replies View Related

Index And Match With Repeating Values Without Repeating First Found Name

Apr 20, 2006

sorting data I use in a workbook for athletics. I've really chopped down my workbook for upload, In the worksheet "Leaderboard" I can call up stats for different lifts, and it finds (in this case) the top 5 lifts and the names for the kids that have those corresponding lifts.

My problem is that when two or more kids have the same lift, it will only call up the name of the first instance of that lift. You can see this in the "Leaderboard" worksheet, and the name "Adams, Andrew" appears for both lifts of 75. I would appreciate any help on how to correct this, as I've searched the Internet for weeks now looking for a solution. I've tried experimenting with different things as well, all to no avail.

View 9 Replies View Related

Transpose Rows Keeping Heading In Column A And Data In Column B

Mar 2, 2011

I have an excel spread sheet with several rows of 265 (9A-IV) columns each with a heading. I would like to transpose the worksheet columns so that the heading is placed in Column A against the corresponding that is placed in column B. For example

ABCD14692571038Transpose to A1A2A3B4B5C6C7C8D9D10

View 7 Replies View Related

Cyclical Patterns - Highlighting Repeating Rows

Oct 10, 2011

I have created a spreadsheet to find cyclical patterns and my next task was to sort these patterns from highest value to lowest.

Next I need to start from the first row of the sorted spreadsheet and find the first row working down that repeats. Once I find his row I have to stop the search and highlight both the original and repeated rows. If the first row has no repeat it has to move to the second row and do the same operation until it finds a row that does repeat and so on.

View 8 Replies View Related

Convert Repeating Rows Into Column Head

Mar 26, 2009

I have an excel spreadsheet containing data in two column layout :

States, Cities

UP, Ghaziabad
UP, Agra
UP, Lucknow
UP, Kanpur
UP, Allahabad
Punjab, Amritsar
Punjab, Ludhiana
Punjab, Jalandhar
Punjab, Patiala

How can I covert it in following layout i.e convert repeating rows into column headings ?

Punjab, UP

Amritsar, Ghaziabad
Ludhiana, Agra
Jalandhar, Lucknow
Patiala, Kanpur
, Allahabad

View 9 Replies View Related

Match Data (Multiple Rows) To A Reference?

Feb 23, 2012

I have a table where I want to match data to a reference. The reference appears in more than one row in the first column and I want to find out which row numbers that reference appears in. However, using MATCH I can only find the first time that reference appears. Is there another way of finding at least the next row that the reference appeared in?

E.g. in the table below, Match always returns row 2 when searching for ID 123. Can I set up the formula so that it tells me where the next match appears, working downwards??

IDColour 1Colour 2matchdesired result123greenorange23123greyspring green24123purpleblue2#N/A144blueturquoise56144pinksaphire5#N/A180redyellow7#N/A129yelloworange8#N/A

View 1 Replies View Related

Delete All Rows Until Certain Point

Nov 8, 2007

Is there a way to delete all rows down a sheet until Cell A contains ""

or if the criteria "" would work?

i only want to keep the data below that point.

i will have to do it 11 times for different files

View 9 Replies View Related

Index And Match Function Across Multiple Rows With Repeating Names?

Jun 4, 2014

I have a data set where the row headings repeat a lot. I have 5 headers repeated probably 30-45 times each. Eg. Truck, Car, Van, Tank, House, Car

At the moment I am using the formula...
=INDEX($B$2:$M$45,MATCH($O$2,$A$2:$A$45,0),MATCH(O4,$B$1:$M$1,0))

which will only return the result of the first occurrence of the cell it is looking for (for eg. I am looking for the values in the cells in columns labelled 'Car', is it possible for it to look past the first occurrence in the data set and find all the values?

View 12 Replies View Related

Automatically Change The Point Name To Match The Point Name In Column

Dec 10, 2008

I have a pivot table as shown below which is pretty straight forward however I am trying to create a macro that will automatically change the point name to match the point name in column E then copy that resulting dispaly to another sheet then pick the next point name in line and do the same thing and repeat for 50 rows, so my end result will be 50 pivot tables ready for printing. I can do this manually but I am trying to make it automatic...BTW the point names in column E change everyday but the pivot table supports the name changes.

Option Explicit
Sub PointName()
Dim Ws As Worksheet
Dim Rng As Range, Cel As Range

Set Ws = ActiveSheet
Set Rng = Range(Cells(2, 7), Cells(Rows.Count, 7).End(xlUp))

For Each Cel In Rng
Ws.PivotTables("PivotTable1").PivotFields("Point Name").CurrentPage = Cel & " "

Ws.Columns("A:B").Copy
Sheets.Add
With ActiveSheet
.Paste
.Name = Trim(Cel)
.Range("A1").Select
End With
Next
Ws.Activate
End Sub

I turned it off for a while and when I turned it back on I am getting an error
Unable to set the _Default property of the PivotItem class

Debugger is highlighting

Ws.PivotTables("PivotTable1").PivotFields("Point Name").CurrentPage = Cel & " "

View 9 Replies View Related







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