Moving Rows Into Columns

Jul 13, 2009

I am trying to move row data into column data. Here is visually what I need.

Before:

After (one row of data only):

We are trying to import data into our accounting software but we can't until we get it into the right format.

View 9 Replies


ADVERTISEMENT

Moving Data From Rows To Columns And Delete Repeated Rows

Apr 16, 2014

removing duplicate rows and move other data frm rows to columns.xlsx.

I am attaching a sample excel sheet showing what I need to do.In the first tab, I have a list that includes duplicate rows (first column only). I want to remove those duplicate rows but I don't want to lose the data in the following columns which can be unique or duplicates as well.

see the desired result tab in the sheet to get an idea of what I am looking for as the end result.

Keep in mind that the actual source file I am working with could have up to 50000 row, and the expected results could be around 2000 rows. So nothing can be done manually.

View 5 Replies View Related

Moving Rows And Columns With A Macro

Jun 5, 2009

I have a massive data file with thousands of lines of data. Each line is a pair, for example

View 6 Replies View Related

Moving Rows Up Into Columns Where Value Is Equal To

Jul 29, 2009

I am running through some old accounting documents in excel 2003 (originally from SAP), that contain information in row form that I would like in Column form. Column E indicates to me whether this was an invoiced amount or payment amount or "other." I have limited VBA exposure, but am fairly proficient at what I do know. This is just too difficult for me!

Where the "Assignment" #'s are equal, I need the script/macro to move "up" YP's, YQ's,

See Original Layout.jpg
Then What I'd Like.jpg
Then End Result

View 9 Replies View Related

Moving Data From Columns To Rows

Sep 24, 2009

I have the following spreadsheet with 4 columns of data:

1000001245aMr Fred Blogs
1000001270a1 Blog Street
1000001270bNorwich
1000001270cNorfolk
1000001270eNRx x99
1000001270gThe Manager
1000001270k01603 555 555
1000001270l01603 555 555
1000001270qManager
1000001270xN
1000001270yN
1000002245aMrs Fredilina blogs
1000002270a10 Blog Street
1000002270bNorwich
etc etc for about 36,000 rows.

What I need is for each unigue reference ID (column A),
I need all corresponding data moved up into a single row in serperate columns, something like this:

1000001 |245|a|Mr Fred Blogs| 270|a| 1 Blog Street|270|b| Norwich | 270|b|Norfolk |etc
1000002 |245 |a |Mrs Fredina Blogs |270|a|10 Blog Street |270|b|Norwich| etc

Each entry doesn't nessesarily have the same number of rows.

I would class myself as a beginner VBA bod, but the solution to this one is illuding me a present.

View 6 Replies View Related

Moving Data (Addresses) From Rows To Columns

Dec 12, 2008

I have address data all in column A (each paret of the address is on a separate row) which I need to move to separate columns on one row for each address:

ie:

Mr Bloggs (row 1)
123 The Avenue (row2)
The town (row 3)
The postcode (row 4)

Mrs Smith (row 6)
456 The street (row7)
The postcode (row 8)

needs to be: (I have used || to indicate different columns)

Mr Bloggs || 123 The avenue || The town || The postcode
Mrs Smith || 456..... || .......

The problem you see from the above is that they are not always consistent ie. the postcode (zip) isn't always 3 rows below the name for example. Also although generally there is a blank row between each record (this may sometimes be 2) and equally there may also be times when there is a blank line in the address.

Any ideas on how to do this.... I have 1000's of records and really can't afford to go through each one making it consistent before moving it to columns?

View 7 Replies View Related

Stuck Moving Columns To Rows - Transpose

Nov 2, 2011

I have following data on spreadsheet, which I need to import into other place but I would need to reorganise rows and columns first.

Product1-Sep2-Sep3-Sep4-Sep
SKU1112345
SKU22212131415
SKU3339876
SKU4444444

Basically I would like to have this data in 3 columns like this:

DateSKUOrders
1-SepSKU1112
1-SepSKU22212
1-SepSKU3339
1-SepSKU4444
2-SepSKU1113
2-SepSKU22213
2-SepSKU3338
2-SepSKU4444
3-SepSKU1114
3-SepSKU22214
3-SepSKU3337
3-SepSKU4444
4-SepSKU1115
4-SepSKU22215
4-SepSKU3336
4-SepSKU4444

I tried transpose etc. and not able to figure it out. Is this something that can only be accomplished with VBA?

View 2 Replies View Related

Moving Duplicate Rows To Columns For Mail Merge

Jul 28, 2008

to prepare an excel spreadsheet for a mailmerge but as all of the info for 1 recipient needs to be in columns instead of rows. I need to convert 2 columns' data into columns but only when there are duplicate invoices, see below;

View 9 Replies View Related

Excel 2010 :: Moving Data Organized By Columns To Rows?

Nov 26, 2013

import it into to Stata to do statistical analysis. I always receive spreadsheets like this:

country
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000

[code].....

and I have to manually reorganize it like this to import into Stata:

country
year
value

Benin
1991
20

Benin
1992
254

[code].....

Is there way I can quickly design a macro to do this? The problem is that I generally have a list of about 60 countries, and years from 1991-2011. So, it's really time consuming copying the column of data corresponding to the year, pasting below, repasting the list of countries and the years...then again..then again...then again...I'm using Excel 2010.

View 7 Replies View Related

Lock Cell From Moving When Adding/Deleting Rows Or Columns

Jun 16, 2008

Will excel allow text to be permanently be positioned in a specific cell even if rows or columns are added?

View 6 Replies View Related

Moving Data From Rows To Columns - Depending On Unique Content In A Field In Column

Jun 24, 2014

I have a worksheet which contains 2 columns which is needed to work my problem.

Unique Work ID and Description

The unique work ID are the same for each description, but there are up to 5 different description associated with each unique work id.

I'm looking for an automated process but where to start to convert the 5 rows in the unique row and 5 column for the descriptions

View 8 Replies View Related

Moving And Deleting Entire Rows Between Tabs In Workbook And Moving Them Back If Needed

Sep 23, 2013

I have an excel work book with 6 tabs. I would like to have Excel move an entire row from one tab to another tab (removing the row and inserting it in the other tab). I.e. Example I have a tab with items that are marked as "Open Actions" so if I were to change the drop down to close. Excel would move that entire row of actions to the tab with the "closed actions" and insert into the next available row. Now if someone were to come back at a later date say no it should be reopened than I would change the drop down to open and excel would move that row back to the open actions tab into next available row. I tried a PIVOT table and no good I played with few macro and not.

View 5 Replies View Related

Moving Data From Two Columns Into Multiple Columns?

Feb 24, 2013

I have a large database of research data where the first column contains different categories (labelled as I, II, III, IV, V, and VI). For each row there is a data value in the second column that is numeric. What I need to do is move the data so that the data are displayed in 6 columns with the data values listed each column heading according to the category label. In the example I've shown there are 6 different categories, but the number of categories (and hence the number of columns in the final resulting sheet) will change for different data sets that I'm using. Also note the the number of cases for each different category is different (so that each column will not be even in terms of the number of rows of data under each column heading). I hope I've been able to explain what I'm looking for clearly.

I've attached a sample file showing the sample data input that I have on one sheet, and then the desired re-tablulated outcome on the second. I have done this using the auto-filter function and copy/paste, but this will take far too long for the larger datasets I'm working with.

View 2 Replies View Related

Macro To Copy Rows Based On Moving Date And Paste Rows Into Identical Sheet

Jan 28, 2014

I need to build a macro which copies 3 rows every day and pastes the row data into an identical sheet. The three rows will have column "D" as =today(). As the days progress the three rows will change accordingly ( tag to the today's date)

e.g. 28/1/2014
28/1/2014
28/1/2014

I need the macro to recognize the date when pressed and copy the corresponding rows of data and paste them into an identical sheet with the same date. The second sheet is an archive sheet. The date will tick over as per the calendar.

View 9 Replies View Related

Moving Multiple Rows Into One Row (1 Record Has 4 Rows)

Jun 10, 2013

I'm trying to create a .cvs file from an exported excel report, but before I can import it to a database I'd like to have one row per record.

I've already omitted out the headers and footers blank spaces and unnecessary columns from the excel file and I needed to just combine multiple rows into one.

It currently looks like this:

ROW#(1), ID#(1), NAME(1)
ADDRESS(1), ZIP(1)
DOB(1), SOURCE(1)
ITEM(1), CITY(1)
ROW#(2), ID#(2), NAME(2)
ADDRESS(2), ZIP(2)
DOB(2), SOURCE(2)
ITEM(2), CITY(2)
and so on..

I'd like to make it like

ROW#(1), ID#(1), NAME(1), ADDRESS(1), ZIP(1), DOB(1), SOURCE(1), ITEM(1), CITY(1)
ROW#(2), ID#(2), NAME(2), ADDRESS(2), ZIP(2), DOB(2), SOURCE(2), ITEM(2), CITY(2)
and so on...

I can't figure out a macro or a way to do this automatically.

View 8 Replies View Related

Adding New Columns And Moving Old Columns

Jul 19, 2013

Using VBA... I have Column N (eFIUnitRebate) which I want to swap with Column M (FFUnitPcnt)

Now with Column M as eFIUnitRebate and N as FFUnitPcnt I want to create an extra column (adjUnitCost) where Column N is and push FFUnitPcnt to become column O, etc.

Here is how the whole process should work:
Swap M and N
Insert new Column in N
Insert new Column in P
Insert new Column in Q
Insert new column in R

There is more information on the sheet after these columns so for all column inserts it needs to push whatever was there over.

So the layout is as follows:
J
K
L
M
N
O
P
Q
R

Units
UnitCost
UnitRebate

[Code] .....

These columns are thousands long, so I would like the formulas for them to be applied to the whole column as well.

View 5 Replies View Related

SumIf On Moving Columns

Oct 3, 2008

I am doing a SumIf function on some Imported data a follows "=SUMIF(FMEFactors!B:B,Long,FMEFactors!B:B)". Now, this is fine if the columns are imported in the same order but if Column B data gets moved to another Column the SumIF will give false information. I need to find the correct column to do the SumIF on.

View 3 Replies View Related

Concatenating Moving Columns

Jun 17, 2009

I receive a report which, amongst the other columns of data, has 7 specific columns with four digit codes on each row. I would like to find a way to concatenate these 7 columns into Column A, inserting a - between each code and adding -uu at the end of the last (7th) code.

I wouldn't be requesting assistance at all with this if the codes were always in the same column. Sometimes, they move 1 or 2 columns left or right depending on the additional (unwanted) data in the columns in-between. The column names, however, never change: Code 1, Code 2, Code 3, Code 4, Code 5, Code 6, Code 7

I was wondering if there was a way to still concatenate these columns into Column A but also take into account that the columns shift...

View 9 Replies View Related

Moving Columns So That The Data Matches

Jul 21, 2009

I need to line XYZ to XYZ as well as the information attached to XY&Z
i dont really know how else to explain it but i was hoping there was a macro or something out there that i could use to do this would make it a lot easier

View 8 Replies View Related

Printing Columns Without Moving Or Copying

Jan 15, 2013

Without moving or copying columns I need to print Column A & Column I on the same piece of paper and not print Column B-H.

Every time I try this though it is printing column A on one sheet and Column I on a second sheet. Yes I've checked margins, etc.

This is actually possible, right?

(I didn't want to move or copy columns as the spreadsheet is for someone else's use, plus my formulas buggered when I tried to so I didn't want to add that complication for the other person of double checking the formulas every time she wanted to print this two column version of the sheet.)

View 3 Replies View Related

Spin Buttons - Moving Columns

Nov 21, 2007

ive seen a spin button used to move hole rows up and down.

what i would like to do is.

I use cells I9-N9-S9-X9

can i use a spin button to move collums?

how do i write the code, say if i select cell S9 and i want to move it to I9 using the spin button how do i go about that?

View 9 Replies View Related

Moving Data From Several Columns To Tabs

Jul 24, 2007

i have data that has several bits of information for each different account number.
is there a way of writing a macro to transfer the information from the main sheet onto different sheets automatically titled for each of the different account numbers?

ie. Account Cost
E1 £100
E1 £200
E2
E2
etc

i want different sheets for the info next to each of the account numbers

View 9 Replies View Related

Moving Rows Of Data Into 1 Row

May 20, 2014

I'm essentially getting a lot of data at the moment, which has a few orders people have made on my website.

Essentially, think order id, address etc and then all the products the customer has ordered.

However, the part which includes what the customer has ordered creates multiple rows of data, with the order ids etc duplicated. What I need to do is consolidate this into 1 row. So to add additional columns instead of rows.

The reason fro this is I want to mail merge the data into an invoice and mail merges work of 1 line of data at a time. I've attached an example, any way to do this?

(Attached to this post / or linked here: [URL] ....)

View 1 Replies View Related

Moving Rows Between Sheets

May 22, 2008

I have a dropdown list with names of different people: Bob, Jane, Joe, et cetera. I also have tabs at the bottom (sheets) for each of these people. Is it possible that when a name is selected from the dropdown box in column D, say Bob, the whole row (row 10 or whatever) is cut from main sheet and put into Bob's sheet, then the row is deleted from main sheet? If this doesn't make sense (because I stink at making sense), just let me know and I will try to clarify

View 14 Replies View Related

Moving Specific Rows

Aug 17, 2009

I'll try to be clear on what I need to do and hope I can find a solution.
I've found similar threads but I can not edit them for my use so I had to ask again. What I have is a lot of cows, calfs, heifers.

When a calf turns 12 months old , (ex: =IF(A3>11;move_row(sheet_heifers);"")), I need the entire row move to other sheet (heifers). and when the heifer gives births the first time (ex: column- =IF(A7<>"";move_row((sheet_cows);"" ) the entire row needs to move to other sheet (cows). I can do age calculating and the rest well.

View 3 Replies View Related

Moving Duplicate Rows

Dec 2, 2012

I have a workbook called "Data"

In column "C" I have a part number
In column "F:H" I have a description

5432345 3445rt4 er4445ty ddews6789
4352345 sdwe33 dew345e jjkiii567899
1234566 qwert5 ertyu777 uiopl88888
1234566 eedrf44 yuikj776 ggggt44444

When I have a duplicate part number i want the second description to be populated in rows "I:K"

1234566 eedrf44 yuikj776 ggggt44444 eedrf44 yuikj776 ggggt44444

View 4 Replies View Related

Moving Rows Based On Key

Nov 20, 2008

I have data as follows:

id | name
0 | axe
1 | sword
3 | pencil
4 | fist
5 | hammer
7 | gun
9 | rifle

Is it possible to move the rows to the row# shown in the ID?
- e.g. pencil gets moved from row#2 to row#3

View 9 Replies View Related

Moving Rows To A Specified Location

Jun 16, 2008

I am trying to do work on a sheet and am getting very frustrated. I have a list of several different data entries that contain a row of information. I need to have the excel sheet move these rows to a different sheet in a specified location. For example, in the first column of the data I have the list of commodities, (sugar, cotton, yen, euro, and copper). Then in the second column I have the price and then the quantity. I want to move them automatically from sheet 1 (where they are entered) to a specific location on Sheet 2. I want Cotton to be in A2, Sugar to be in A20, Yen to be in A30, Euro to be in A40 and copper to be in A50. I would like the data to be cut from sheet one and inserted into sheet 2 so that the sheet can move them every day.

View 4 Replies View Related

Moving Data From Single To Multiple Columns And Merging?

Dec 16, 2012

Current Data:
File 1:

Each set of data is listed in either two or three rows

Eg.,
ID
Date
Filename

ID
Date

ID
Date
Filename

The goal is to move them to separate columns (rows can be 3 or 2 for each data set, and may or may not be separated by space/additional row)

File 2:

Has a common field 'ID' as that of File1, does not have Date, and Filename, but has a new field 'Detail' (already in the expected format)

Eg.

ID Detail

The goal is to merge properly formatted data from File 1 to File 2

Eg

ID Date Filename Detail

View 14 Replies View Related

Searching Columns For A Month Then Moving Data To Userform

Mar 17, 2014

I have an excel spreadsheet where the columns have the 12 months of the year in Row 1. What I need is code that will find the month (from the column) which I select (via a listbox in a userform) and then go down that column and move the data that corresponds to that month to the userform.

So, If I select January from my userform, all data below January will then be moved to the userform and the same thing will occur with each month I select. I know how to move the data from the sheet to the userform, I just don't know how to match my data with the selected month.

View 3 Replies View Related







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