Transform 1000 Rows X 50 Columns Table Into 2columns

Mar 16, 2009

Am working with a spreadsheet of about 1000 rows and 50 columns which I need to transform into 2 columns and as many rows as needed. I have attached a simplified example of a 3x3 spreadsheet so you can see what I mean. I have already managed to get my result using Filtering and some copy and paste but I am struggling to now fully automate the solution.

View 4 Replies


ADVERTISEMENT

Transform Rows Into Columns?

Jan 20, 2003

I have a spreadsheet which has data in the format of

Name
Address
City
State
Zip
Phone

This appears in the form of rows. How do I make the data in a table meaning,,,

Name Address City State Zip Phone.

View 4 Replies View Related

Transpose / Transform A Table To One Column?

Jul 10, 2013

i have a data as below

abc1
def2
ghi3
jkl4

and i need the data as below in one column

a
b
c
1
d
e
f
2
g
h
i
3
...........

needed in this regard either macro or formula

View 5 Replies View Related

Transform Table Data With A Formula

Mar 21, 2014

I have a table with data and I want to transform the data in table 1 to the format in table 2 with a formula. I want to change the table format since I have data with 12 000 rows in table 2 format. I haven't been able to find any formula that works, so I will try to explain my problem

Table 1: How the data looks like

Account number
Account Name
Description
2013-01
2013-02
2013-03
2013-04
2013-05

4010
Bank
Sales
0
10
0
5
0

[Code] ........

Table 2: How I want the data to be transformed

Account number
Account Name
Description
Month
Amount

4010
Bank
Sales
2013-02
10

[Code] ........

1. The same accounts are used several times, but with different description or months.
2. All "0" values are eliminated in table 2.

My first thought was to use a pivot table, but I can't use it on sheet 1 since each month become a separate value.

Maybe there are some setting in pivot tables that makes it work, but I would prefer a formula to solve the problem.

View 2 Replies View Related

Transform Thousands Of Columns To Single Row?

Jan 7, 2014

how do I transform thousands of groups of columns (each group has 6 columns) into A Single row (placed into another sheet) using Macro?

Since my data is large, so efficiency is also important.

View 5 Replies View Related

Transform Column A To Rows

Jan 24, 2009

I need a macro that will transform numbers in Column A to rows. i.e.
The (6) astericks will determine the start of the next row.
Transformed to:
******
0
-23
700
-12
701
0
698
12
699
******
100
-50
670
-25
688
0
600
12
700

Transformed to:
0>>> -23 -12 0 12
>>>> 700 701 698 699
100>>-50 -25 0 12
>>>>>670 688 600 700

View 9 Replies View Related

Condensing 1000's Of Columns Into Just 3

May 20, 2008

Based on the 1st example below, I have a file with 1000's of columns where every 3 columns has the same type of info....

View 9 Replies View Related

Convert The Data Shown In Table 1 To Table 2 Without Rearranging The Columns And Rows

Sep 11, 2009

Is there a function to convert the data shown in table 1 to table 2 without rearranging the columns and rows? because i don't want to use TRANSPOSE. I want a function, somthing like SUMIF with OFFSET or INDEX and MATCH or any other function.

Table 1

Team 1Team 2Team 3Team 4Team 4Team 5Team 5ABABCity 12531642City 231173705City 367891125City 436251348

Table 2

City 4City 2City 1City 3Team 4BTeam 2Team 5ATeam 4ATeam 1Team 3Team 5B

View 2 Replies View Related

Export Data As Text 1000 Rows Per File

Mar 24, 2007

I'm trying to accomplish is to take an Excel file that contains one column of data consisting of up the maximum number of rows of data (numbers formatted as text? "000000000") and export the data to a text (.txt) file 1000 rows at a time. I would also like the code to allow me to name the .txt files in succession, for example, Pg01, Pg02, Pg03, etc.

The files are going to be used to query a system that will only accept text input 1000 items at a time.

I run the following code to ensure the data is formatted consistently:

Sub a_VerifyDataForInput()
' Start at Cell A1
Range("A1").Select
' Select Column A
Columns("A:A").Select
' Format data in Column A
Selection.NumberFormat = "000000000"
' Replace all "|" (whatever you call this thing ... pipe???)
Selection.Replace What:="|", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
' Replace all "-" (dashes)
Selection.Replace What:="-", Replacement:="", LookAt:=xlPart, _ ........................

View 9 Replies View Related

Rearrange Table - Transpose Rows To Columns

Nov 2, 2007

I have problems to write a macro to rearrange the table from attachment file sheet1 to sheet2. I have many files that need to transpose rows to columns and with continually years, month, day, and the rest parameters. some to the files many content more then 20 years data.

View 5 Replies View Related

Pivot Table Columns/rows And Subtotals

Oct 13, 2009

attached Pivot Table. There is a section, which I've marked, that shows how I want my Pivot Table report to look. I've had Excel 2007 kick me out a number of times when I've tried to filter and shift rows and columns to accomplish this and areas are frequently grayed out. Can someone please assist?

I'm attaching a file rather than going into a lot of detail here because I think a visual is easier here. The raw data, my attempt at the Pivot Table and my desired outcome all show on the same tab.

View 5 Replies View Related

Reference A Value In Table Using Dropdown Lists For Both Columns And Rows?

Oct 8, 2013

I want to be able to reference cells in a table by using two drop down lists. One drop down for the columns in the table and another drop down for the rows in the table. The values in the columns will be different metal materials (aluminum, copper, stainless steel, etc.). The values in the rows will be thicknesses of those materials (1/16", 1/8", 1/4",3/16",3/8",1/2",3/4",1"). I already created a drop down list for the materials and another for the thicknesses. But now I want to be able to select a particular material and then a particular thickness and receive back in another cell a value that's cross referenced in a table. Specifically, the values in the table will be the weight of the particular material and thickness per square foot. I'll populate all of the cells in the reference table manually. I'll hide the table on a separate worksheet. i haven't created the table yet.

View 2 Replies View Related

In A Table Include Data In Columns Into Existing Rows

Jun 7, 2012

I have a table in which the rows represent cities and the columns represent certain characteristics/ attributes a city can have. In the cells every city & attribute pair receives a "grade"

City EatingBeachSki
Barcelona 210
Chamonix 002

I would like to transform this so that every row represents a city & attribute pair and includes its corresponding grade.(I want to do this in order to be able to add more information about city- attribute pairs rather than about cities only)

City AttributeGrade
BarcelonaEating 2
BarcelonaBeach 1
BarcelonaSki 0
ChamonixEating 0
ChamonixBeach 0
ChamonixSki 2

I am aware that I can use a pivot table to sort out all the pairs with a specific grade. and then I could paste this into a new table. But my data base (number of cities x number of attributes) is huge and I was wondering if there is no automatic process to make this transformation.

View 4 Replies View Related

Vlookup Table To Lookup Data In Columns And Rows

Apr 28, 2007

I have a lookup table which needs to be able to retrieve data from columns as well as rows and not sure if this is possible.

My data is set up with an ID number, financial year and data across the columns e.g

ID F/Y Apples Pears
9999 2004/5 5 4
9999 2005/6 7 8
9881 2003/4 5 3

My lookup table will have the ID number field which will be manually entered to lookup the information on the data sheet. e.g

ID 9999
FY Apples Pears
2004/5 5 4
2005/6 7 8

I can't work out a way to get excel to only give me the number of apples and pears for that year for that ID number. Not all ID numbers will have the same number of financial years so I may need to use VBA.

View 7 Replies View Related

Pivot Table To List Multiple Source Columns In Rows?

Jul 4, 2014

I have a huge data set with survey data (sample attached: sample.xlsx). Column headings: survey questions Row headings: respondent identifiers (names) Row data: answers to questions (numeric values, only five answer options 1,2,3,4 or 5, no blanks)

I need to build that kind of pivot table:

Rows - list of particular questions (i.e. questions no. 3, 7 and 12) Columns - list of all diffrent answer entries (eventually, it will be 1,2,3,4 and 5) - it could also be questions in columns and answers in row (no difference) Values - count answer entries (i.e. how many answers "5" are on quesiton 3)

------
UPDATE: explanation added.

The reason I need pivot tables: i'll have to cross analyze multiple sets of questions. I'll have to do such cross-analysis 100+ times, so, writing a formula for each time does not quite work...

View 6 Replies View Related

Excel 2010 :: Pivot Table With Fixed Rows And Columns?

Jun 21, 2014

I'm trying to produce a fixed format pivot table in Excel 2010. Normally I'd just construct a manual table using COUNTIFS, SUMIFS etc, howver, for this exercise the requirement is to be able to click on any field and have a tab pop up with the relavent data a la Pivot Table. But....I need the Pivot table to have a fixed format (which I can do with 'Preserve cell formatting on update') and to have all of the rows and columns in irrespective of whether there is data or not (i.e. if I haven't sold any apples in June, I still want the 'Apples' field to appear, just with a value of zero). I had assumed that the option I needed was 'Show items with no data on rows/columns' but these options are greyed out. I've tried right-clicking on the whole table, on individual fields and on labels but still get the same greyed out options.

Is there any way I can retain all of the rows and columns?

View 1 Replies View Related

Create Column List Out Of Table (rows And Columns) While Removing Blanks

May 26, 2014

I am trying to create a straight column list that can take the rows and columns of a table, and list only the nonblank items. The formula I am using only seems to work with one column, not multiple.

Formula:

[Code] .....

View 12 Replies View Related

Delete Empty Rows And Empty Columns From Word Table

Mar 25, 2014

I am trying to populate the 2 tables from excel to word. I will be getting the excel file with tables in various sheets. One sheet consist of 2 tables that will be inserted to one word document. So if there are 2 sheets then I will have the tables inserted in the 2 word document. In the excel sheet I have attached, there are 2 sheets with tables in each of them. I have written the code to copy and paste the table to word doc from (general) range A1:G4 (Table 1) and A9:H18 (Table 2) that has empty rows and columns selected. But there are empty rows and columns inserted since the table range is not same sheetwise. I would like get the empty rows and columns deleted in the word table.

Find the attached sample excel sheet and the word documents.

DeleteEmptyRows(Sample).xlsx‎
Sheet1.doc‎
Sheet2.doc‎

View 2 Replies View Related

Transform 12,50 In 12.50

Feb 17, 2010

In a workbook some of the numbers I have to use are in format: 12,50. How can I modify the formula so it transforms it to 12.50 (so that excel knows this is a number)? I am getting the values with:

View 7 Replies View Related

Transform Text To Number?

Mar 13, 2014

I need to transform many text (that Looks like numbers) in to numbers. The thing is that, there is an option to search for errors in the "formulas" menu, but I want a code in vba that I can run.

so in conclusion the thing is:

1. look for text that "looks like" numbers

2. turn them into numbers

View 11 Replies View Related

Transform-column-into-a-row Macro

Jun 10, 2008

there is a ONE column containing data. it looks like 7 rows of content, 2 blanks, 7 rows of contant, 3 blanks etc. there can be more than 1500 rows in this document.

i am looking for a macro which would copy these 7 VERTICAL rows in 1 column and transform them into a NEW HORIZONTAL ROW IN 7 COLUMNS.

step by step it would be like:
- copy 7 rows in 1 column
- transform it into 1 row, 7 colums and put it ONE ROW ABOVE THE ORIGINAL
- delete original 7 rows in 1 column

i did macro by recording the whole action but it works only for first repeat. it does not work then because the macro keeps the row number and rewrites the content. i would need a macro which works independently of the row number.

View 9 Replies View Related

Transform / Replace Command..

Apr 23, 2009

Is there a ATransform or replace command in Excel. i have a value of 04/23/09 which is a date and would like to replace all "/" with "-' thereby making the value 04-23-09. I could examine each character value within a cell but this would just make a long coding and would like to know if there's a shorter way to do this?.

View 4 Replies View Related

Transform One Spreadsheet Data Into Another

May 30, 2014

I have a spreadsheet of multiple entries per person. I need to calculate the total per person and have only one entry per person of different character variables within one column. For example:

Jon Smith Fair

Jon Smith Assignment

Jon Smith Fair

Nancy Drew Info

Nancy Drew Info

Rachael Smith Notes

Turned into this:

Name
Fair
Assignment
Info
Notes

Jon Smith
2
1
0
0

[Code] ........

I can already calculate a 1 or 0 for each row with =SUM(IF(A2:A3442=A2, IF(D2="Fair"))). Which creates a 1 or 0 in each row labeled for each entry but I do not know how to create a new spreadsheet with just one entry per person with the totals for each column.

View 3 Replies View Related

Transform Text String Into Formula

Aug 23, 2013

How can I transform a text string into a formula. ='F1'!$C$2

This appears as a text and I want to convert it to a formula exactly like it's written. I made this formula like this because I need to get the value from 1000 sheets. So I use the formula to change the sheet number automatically.

But now I can not convert the text into a real formula.

I know that I could do it with a macro but I prefer to do it without using a macro.

View 5 Replies View Related

Transform Series Of 7 Numbers In 0 - 4 Scores

Apr 5, 2014

I have a series of raws with 7 numbers in each raw; sums may vary a lot from raw to raw, and also differences between one number and the other in a same raw.

Now, i need to obtain a much simpler distribution of scores, so reducing differences.

I would need to transform all numbers into a 0-4 score distribution, according to differences between numbers in a same raw. It's like a kind of rank score.

I want to obtain in each raw:

- 1-2 numbers with score = 4 (if three or more numbers have similar values: no 4 scores)
- a maximum of 3-4 numbers with score 2-3 (according to differences between these numbers but also also according to the 4 scores already assigned)
- all other scores = 1 if the numbers are >0
- all other scores = 0 if the numbers are 0

example: |14|23|3|0|45|0|10| => |2|3|1|0|4|0|2|

Would it be possible to do with Excel?

View 9 Replies View Related

Transform One File From 2000 To 2007

Jan 8, 2010

I would like to know if there's an easy way to transform an excel file from 2000 version to 2007 version or if I have to redo completely my file

View 9 Replies View Related

Transform Dates Format And Filter

May 24, 2007

I have a sheet with data imported of another software. In the column "G" are all the dates, and the problem is how can i change the format, because, some of them are "mm/dd/yyyy" and the rest are "mm/dd/yyyy".

Is there a way to change it to the same format? maybe there are some dates like "11/02/2007" that are "02/11/2007" (i don't know how change it with code), and others that the difference between formats is logically clear. I want to get the format "dd/mm/yyyy".

After this i want to apply a filter between two dates, for example, (in dd/mm/yyyy) from01/05/2007 to 30/08/2007.

I've tried different ways, but i'm not able to transform the format of the dates to the same format, although i've read your help and other posts that talk about this.

View 9 Replies View Related

Transform Cells With Visible Values (formula To Value)

Mar 11, 2014

I want my macro to transform the cells whom values are visible into pure value no formula "behind them". I have simple multiplication formulas in those cells. If The result of a multiplication is 0 and I format that cells to not show me that 0 with "0.000;-0.000;;@" the macro still deletes the formula from that cell.

[Code] .....

View 2 Replies View Related

If A1 = 500 Than 10, If It =1000 Than 20 Etc.

Jun 10, 2009

A1 would be the cell that users would enter quantities of 500, 1000, 1500, 2000 etc and based upon what they entered-cell a2 would give a corresponding entry of 10,20, 30 etc.

View 4 Replies View Related

Macro To Transform Formulas Into Values Across Multiple Tabs

Feb 7, 2014

I have never written a macro and when I record one I usually have trouble with the relative references.

I am trying to write a macro to transform formulas into values every month.

I want to transform formulas:

- across a range of tabs: each tab is exactly alike and is named page-1 to page 25
- on a different column every month (same column across all tabs)
- on the same rows: L168 to L227 and L266 to L277 (same rows across all tabs)

View 6 Replies View Related







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