Convert Vertical & Horizontal Data To 2 Lists

Mar 13, 2008

I was wondering is there a way to convert the format of one excel spreadsheet to a different format in another. I have attached a spreadsheet which illustrates what I'm trying to convert from and to. Perhaps VB Script? I have no idea how this could be resolved.

ADVERTISEMENT

Creating Horizontal Summary Table From Consecutive Vertical Data Lists?

Jul 17, 2014

I have consecutive vertical lists that each have a different number of instances and I'm trying to create a horizontal summary. Here is an example:

Vertical lists:
Mary
red 2
blue 11
John
yellow 5
red 7
blue 8
Susan
red 9
green 3

Desired Summary table:
Mary John Susan
yellow 5
red 2 7
blue 11 8
green 3

Is there a way to do this using a pivot table or formulas, instead of manually?

View 3 Replies View Related

Convert Data Horizontal To Vertical

Sep 5, 2009

i have a data in columns and would like to convert into rows

e.g.
11 A B C D E F G H
22 1 2 3 4 5 6 7 8
33 2 3 4 5 6 7 8 9
44 3 4 5 6 7 8 9 0

and result should be
A 22 1
A 33 2
A 44 3
B 22 2
B 33 3
B 44 4
C 22 3
C 33 4
C 44 5
and so on ..

View 6 Replies View Related

Convert Horizontal Data To Vertical - Loop Through Files In Folder

Apr 9, 2014

I have a set of workbooks-all located in the same folder-in which data are shown "horizontally"

i.e. file 1 - sheet1 looks more or less like this:

1 2 3
4 5 6

same with the other files.

what I am trying to achieve is that in another woorkbook, all the data are copied in one vertical vector

i.e

1
2
3
4
5
6 from file 1 and then
1
2
3
4
5
6 from file 2

I can seem to be able to resize the array to the correct size but the only values copied are for the last file. in the example that I have above, the result would look something like:

<empty>
<empty>
<empty>
<empty>
<empty>
<empty>
1
2
3
4
5
6

This is the code I have so far:

Sub Consolidate()

Dim a As Workbook
Dim b As Workbook
Dim x, y(), i&, j&, k&
Dim myPath As String
Dim filename As String
Dim wb As Workbook

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

View 11 Replies View Related

Convert Horizontal Data Into Cumulative (one-column) Vertical List

Feb 15, 2012

I have data (400 rows) that looks like this: (23 columns in total): (for this example I am using only 4 rows and 7 columns = 28 rows)

IN_0168 IN_0164 MH_0007 IN_0172 WCD3_03 WCD3_04 #N/A
IN_0176 IN_0172 WCD3_03 WCD3_04 #N/A #N/A #N/A
IN_0185 MH_0006 IN_0164 MH_0007 IN_0172 WCD3_03 WCD3_04
IN_0191 IN_0193 IN_0195 IN_0199 WAT10 #N/A #N/A

and I want it to look like this:

IN_0168
IN_0164
MH_0007
IN_0172
WCD3_03
WCD3_04
#N/A
IN_0176
IN_0172
WCD3_03

[code]....

This is what I was trying to do:

For m = 2 To 5
For n = 1 To 23
For b = 2 To 100
Sheets("Hierarchy").Select
Cells(m, n).Select
Selection.Copy
Sheets("HierN_H2V").Select
Cells(b, 1).Select

[code]....

View 2 Replies View Related

Convert Vertical Data To Horizontal For Varying Data?

Dec 11, 2012

I have a data which contains:

A B
1 Name: A
2 Address: NY
3 Gender:Male
4 Cell Numbers: 123

[Code].....

I know that this has been asked a million times, but I need the new table in a new sheet (which is sheet 2 and also I skip the Cell Phone numbers data).

View 2 Replies View Related

VBA Vertical And Horizontal Lookup?

Feb 25, 2014

I was wondering if it's possible to create a macro that would check the range horizontally and vertically and return the resoults in a userform so that when workbook is open this userform would come up with the information who is due for refresher....

The sample book doesn't show the real size of the original matrix which has 190 employess and about 30 procedures so as you can imagine it's a pain.. to keep it up to date so I need something to flag that for me, yes I can see the red cells but still there's so many cells that I might easly miss some of them....

View 14 Replies View Related

Horizontal Row To Vertical Column?

Apr 2, 2014

I have data in a vertical column how can i equate that data to a horizontal row in other sheet. how to do it by formula?

View 4 Replies View Related

Search Horizontal And Vertical

Sep 15, 2009

What kind of formula do I need that looks for a date and find all the names that have the same character on that particular day

In the example below cell R4 kooks for date R3 in range A1:L15 and find all cells that have a "G" and displays all the corresponding names from C1:L1

I prefer non array-formulas

View 9 Replies View Related

Arranging Vertical Data To Horizontal

Dec 25, 2013

I have not found a suitable solution for arranging vertical data horizontally using VBA

I have number of data in column B arranged vertically in sheet1 how can we arrange the data in sheet 2 column B row 3 horizontally.

The vertical data keeps increasing when new data is added, so VBA code should search to the last line in Sheet1 column B.

All duplicate entries should not be repeated when arranging horizontally.

View 9 Replies View Related

Lookup With Vertical And Horizontal Criteria

Jul 22, 2014

See attached for a clearer view : LOOKUP SEARCH.xlsx‎

View 10 Replies View Related

Transposing From Horizontal To Vertical With Intervals

Jan 9, 2014

I've been working on this for days, i still got no solution on what formulas I will put on cells in "To" tab. The excel file is composed of two tabs "To" and "From". We will convert the "From Tab" to "To" format. What formula will I put in D3 to V3 and drag down in "To" tab to convert datas from "From" tab.

View 9 Replies View Related

Horizontal And Vertical VLOOKUP In A Table?

Jan 27, 2014

I have to fill an invoice template, whereby I need to lookup the unit price in a pricing sheet, based on the effective date (horizontally placed) and the specific tasks to be invoiced (vertically placed).

The effective date cell (B1) is the one that can be changed, the formulas in the unit price cells (yellow highlighted) then needs to look up the price for that specific task in the table on the tab "pricing sheet".

I was trying something with INDEX / MATCH, but can't get it to work.

View 4 Replies View Related

Complex Vertical And Horizontal Lookup

Feb 2, 2014

I've got the following complex issue:

...................Trader1 Trader 2 Trader 3 Trader 4 Trader5... Trader20 (Horizontal)
Commodity1 .....0.....2.....0.....1.....1
Commodity2 .....0.....4.....0.....-3.....0
Commodity3 .....1.....0.....0.....5.....0
Commodity4 .....0.....0.....2.....0.....0
.
.
.
Commodity 36 .....2.....1.....1.....0.....0

I have 5 cells that are basically a drop down list of all the traders, so the user can select up to 5 traders.

Once the user selects up to 5 traders (lets say Trader 1, 3 and 5 for our example) I have the following requirements to fulfill:

Displaying all commodities that have non-zero, non-negative values associated with those traders in a list somewhere.

For our example, this would then display:

Commodity 3
Commodity 4
Commodity 1

View 4 Replies View Related

Lookup For Vertical And Horizontal Corresponding Values.

Nov 28, 2008

I have a problem that lookup vertical and horizontal corresponding values when there was duplicate values as it's only returning the first value found. What I want was to lookup the vertical and horizontal corresponding values on the left most & top most column based on the largest values column and also to return the duplicate values under the vertical and horizontal value column in ascending order if it's a duplicate values.

View 4 Replies View Related

Changing Entries From Horizontal To Vertical

Oct 29, 2009

I have a list with entries in one column like this:

sourceText
empty cell
targettext

sourceText2
category2
targettext 2

and I want to change it like this:

sourceTextempty cell target text
sourceText2category2target text 2

Attached sample data. Sheet one as it is. Sheet 2 as I want them to be (I don't need any of the formatting in Sheet 2).

View 3 Replies View Related

Lookup With THREE Conditions - One Vertical / Two Horizontal

May 23, 2012

I have a table where I need to return a value according to THREE conditions:

1. Vertical, which is a shop code for instance

2. And 2 horizontal:
- One: segment (heading level 1)
- Two: product (heading level 2)

E.g. for "Shop1", what's the value for segment "PI" and product "Credit", etc.

An example file attached : fz73m5zEmZS6Y14-C.xlsx‎

The key thing for me is to do this WITHOUT changing data structure, because that really would be a huge pain. I mean, if it's no possible to do without changes (e.g. adding an extra column, etc.), I'll have to live with that I guess. But ideally I would really like to avoid changing data structure.

View 8 Replies View Related

SUMIFS - How To Sum Data Using Both Horizontal And Vertical

Jul 20, 2012

I have a huge data table, and I just can't seem to find a way to sum the numbers the way I want.

Here's an example of the table:

___ A B C A B C A B C A B C A B C
Jan 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
Jan 3 4 5 6 3 4 5 6 3 4 5 6 3 4 5
Jan 3 4 5 6 3 4 5 6 3 4 5 6 3 4 5
Jan 3 4 5 6 3 4 5 6 3 4 5 6 3 4 5
Feb 3 4 5 6 3 4 5 6 3 4 5 6 3 4 5
Feb 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
Feb 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
Feb 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
Feb 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
Mar 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
Mar 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
...
...

But, in essence, I need to sum together every value that's in January AND is in a column labeled "A".

I could just write up a bunch of "sumif=" functions but I feel like there's a simpler way.. I tried using "sumifs=" but I don't think it can handle horizontal AND vertical criteria...

View 14 Replies View Related

Transpose Vertical Data To Horizontal?

Apr 18, 2013

I have the attached worksheet that I would like to know how to move the data from Vertical to Horizontal

Is there a set function to do this or does it require a macro?

View 5 Replies View Related

Transpose Calculated Value From Horizontal To Vertical?

Sep 4, 2013

I have a series of cash flows as follows:

Year 1 Year 2
Income 100 150
Expense 20 30
Net Income 80 120

I need to take the calculated "Net Income values" and also place them vertically by themselves, like this:

Year 1 80
Year 2 120

I know I can copy and paste the values easily using the "paste special... transpose", but how can I easily do this so that it continues to reference the original values? So that if I change the Income in year 1 of 100 to 120 the vertical Year 1 value would change from 80 to 100?

View 4 Replies View Related

Make Horizontal Data Go Vertical

Dec 13, 2005

a_____b____ c_____ d_____ e______ f______ g_____ h_____ i
1 - 12/1--| 385 -| 15000 -| --etc--|| --etc--|| --etc--|| --etc--|| --etc--|
2 - 12/5--| 256- | 20000 -|
3 - 12/6--| 356- | 11000 -|
4 - 12/5--| -89--| -1000 --|
5 - 12/9--| 500- | 9000 ---|

Where d1:d5 e1:e5 f1:f5 and g1:g5 h1:h5 i1:i5 all have similar data.

Is there a way to have the data from def and ghi fall in line underneath abc with the condition being that there has to be something in the cell?

View 10 Replies View Related

Moving Vertical Data To Horizontal

Apr 20, 2012

I need to do is to move data which is in 3 columns with multiple entries (ID) in first column to single entry in first column (ID) horizontally.

Currently three columns are ID, Code and Reply:

111 A D
111 B F
222 A I
333 B D
333 C F

What I would need is (ID, Code1, Reply1, Code2, Reply2):

111 A D B F
222 A I
333 B D C F

Is there a macro I could use for it?

View 1 Replies View Related

Sum Range Using Both Horizontal And Vertical Criteria?

Sep 19, 2013

I am trying to create a formula that will sum a range based on both horizontal and vertical criteria using the following data:

1
2

1
20%
25%

2
40%
25%

3
40%
50%

For example, if the horizontal criteria were "1" and the vertical criteria were "2", I need to sum the 20% and 40% amounts (60%). If the horizontal criteria were "2", and the vertical criteria were "3", I would need to sum the 25%, 25%, 50% (100%). I have tried using SUMIFS functions, but they do not appear to work with both horizontal and vertical axis criteria (I receive a #VALUE error).

View 1 Replies View Related

SUMIF With Both Vertical And Horizontal Data

Jan 16, 2009

I need a solution for the equivalent of a SUMIF combining both vertical and horizontal data. The vertical cells align to the horizontal ones, but they're in a different table.

My attempted formula is: =SUMIF($H$22:$H$30,"TRUE",D7:L7)
*note that this is just an example set of data...my real data set is much larger (both rows and columns)

I need to be able to do this without transposing any of my data.

Things I've tried:
- Another option I tried was making D7:L7 a named range and using the transpose function (as an array) within the SUMIF formula above. I received an error.
- I tried using a bunch of IF statements added together (i.e. =IF(H22=TRUE,D7,0)+(H23=TRUE,E7,0)...); this actually works properly, but I get the "formula too long for cell" error when I put them all in (too many characters)

I'm using excel 2003 and windows XP professional.

View 9 Replies View Related

Vertical To Horizontal Data Extrapolation

Jan 12, 2010

How am I able to extrapolate data from vertical to columns?

I.e.

From:

ColumnA ColumnB

Field 1 Result 1
Field 2 Result 2


To:

Column A Column B Column C Column D
Row 1: Field 1 Result 1 Field 2 Result 2

This is different than Transpose.

View 10 Replies View Related

Plotting With Words On Vertical And Horizontal Axis

Apr 29, 2014

I am tasked to plot some client satisfaction data on a monthly basis. I want to be able to show the client satisfaction with different aspects of service delivery. Can have a chart with "Good", "Fair", and "Poor" on the vertical axis with months on the horizontal axis?

View 1 Replies View Related

Converting Vertical Data To Horizontal Position

Jun 13, 2013

I need to transpose or move some of the data on Column B to horizontal position, is there a formula that I can use to do this? Attached is sample of what I want to do.

View 14 Replies View Related

Lookup Table Using Horizontal And Vertical Criteria?

Mar 6, 2014

comp1.PNG

Attached is a screenshot. Basically I need to know that if PersonA has say 13.74 CPH and $776 DPH - what the incentive would be ($575)...

View 3 Replies View Related

Filter Sheet Horizontal And Then Vertical The Same Time?

Jun 6, 2014

Is it posseble to filter a sheet horizontal and then vertical the same time?

View 5 Replies View Related

How To Change Horizontal Table To Vertical List

Jul 22, 2013

I need to change data from a horizontal table into a vertical list? example.xlsx

View 1 Replies View Related

Horizontal Autofill From Vertical Data Different Sheet

May 21, 2013

Here My first thread autofill horizontally from other sheet vertical data.

Vertical Data
Sheet1
A1
A2
A3
A4
& so on
AUTOFILL HORIZONTAL DATA
Sheet2
D3,D4,D5,D6..... fill by A1 A2 A3 A4.....

View 5 Replies View Related

Sumif(s) Based On Vertical And Horizontal Criteria

Aug 22, 2011

I have a table with

Column A - Suppliers

Columns B to M products with a product group (in row 1)

Prod Group..Core.......Core........Outer........Inner.........Core
Supplier......Type A......Type B.......Type A........Type B.......Type C
AB Ltd........1000.........2000..........500.............750...........5000
CD Ltd........3000.........5000..........100.............950...........8000
AB Ltd........2000.........4000..........600..............800..........7000

I would like to know how to sumif when for eg supplier is "AB Ltd" and the product type is "Core" in this eg = 21,000 (how to paste a table)

View 9 Replies View Related

Sumifs With Horizontal And Vertical Criteria Range?

Mar 6, 2014

I am trying to devise a formula for the data set below (into a different tab). The table below is something like what I have:

Day 1
Day 2
Day 3
Day 4

[Code]....

Though my table is a bit more complicated (it has empty rows in between and a much larger data range).

I need to reflect this in another tab in the following format:

Day 1
Day 2
Day 3
Day 4
Spoke 1
Spoke 2
Spoke 3

As I fill in data in the first tab, I would like this tab to automatically pick it all up. Is there any way I can do this? I may add rows etc. so I do not want a simple addition.

View 6 Replies View Related

Transpose Horizontal Rows To Vertical Columns

Oct 13, 2008

Acct #11019145036954564872011019125101521103192103103904205851103192415102


The file is broken down by revenue codes on the first row of the account and then units on the second row. (450= Revenue Code and 1=Units associated with that revenue code) Then a new account number starts and it is revenue codes on the first first row and units on the second row.

I want the file to look like this:

Acct #Rev CodesUnits1101914501110191390311019168021101917203110191110411031939431103193921511031954510110319648

View 11 Replies View Related

Change Vertical Rolling Hierarchy To Horizontal

Sep 19, 2007

The accounts listed on this report change on a monthly basis. I am attempting to create a macro or write a formula that can but used each month to fill in this list automatically. On Sheet 1 is a short example of what the report looks like when exported into excel. The numbers on the left are the numerical hierarchy. The long set of numbers are the account numbers and the others are the categories that each are located under.

Sheet 2 is what I need the end result to look like. One of the problems I am running into is how to handle the fact that the hierarchy re-uses numbers. The hierarchy always runs vertical, therefore "5" always falls under the "4" that is directly above but when there is another "4" it should be ignored and continue on up the chart until it finds the first "3" and place that in the cell to the right then find the first "2" and so on.

View 2 Replies View Related

Custom Toolbar Orientation. Horizontal & Vertical

Oct 13, 2007

How do you control the orientation of a floating toolbar? The code below puts the elements horizontally, while I'd like to make the toobar have a vertical format (one macro per line). I'd also be interested if there's a way to do sub-menus to organize the toolbar buttons better. how to revise the code below, and/or a pointer to where I can read about this. I tried searching google and this forum to no avail.

Option Explicit
Public Const ToolBarName As String = "My Toolbar"
Sub Auto_Open()
Call CreateMenubar
End Sub
Sub Auto_Close()
Call RemoveMenubar
End Sub
Sub RemoveMenubar()
On Error Resume Next
Application.CommandBars(ToolBarName).Delete
On Error Goto 0
End Sub
Sub CreateMenubar()......................

View 2 Replies View Related

Linking (referencing) Horizontal Row Data To Vertical Columns

Jun 28, 2014

I am working with two spread sheets; one is my take-off/summary sheet which is where I populate all the data for the project I am working on, the second sheet is also a summary sheet but it has also other functions; hence, I need to have two spread sheets.

I need to link/reference the data I have on my take-off sheet row 119, column K through ACL (lots of columns) to my other sheet but it now needs to be referenced in a column direction. At first, I enter = (sign) in T9 (the sheet I need to bring the data in) and then I go to the take-off sheet select N119 and hit enter, this first data is good, but then I try to drag it down to populate all the data from the other sheet but even though I lock the row (N$119) and let N free the formula doesn't populate this: =!N$119, =!O$119, ='!P$119 and so on so for...all what it gives me is =!N$119 all the way down...

View 13 Replies View Related

How To Arrange Vertical Vcards Column Into Horizontal Rows

Nov 22, 2011

I need to arrange vertical Vcards column into horizontal rows..

Sample:

I have this data:

Adroit Building Material Trading Enterprises L.L.C
Phone : +9714 3332031
Fax : +9714 3332286
P.O.Box : 12216
E-mail :adroit @ emirates. net. ae

Al Futtaim Tarmac Pvt. Ltd.
Phone : +9714 3331670
Fax : +9714 3330624
P.O.Box : 87111
E-mail : Info @ aftarmac. com

I want to arrange them into this output:

Row 1: Adroit Building Material Trading Enterprises L.L.C Phone : +9714 3332031 Fax : +9714 3332286 P.O.Box : 12216 E-mail : adroit @ emirates. net. ae

Row 2: Al Futtaim Tarmac Pvt. Ltd. Phone : +9714 3331670 Fax : +9714 3330624 P.O.Box : 87111 E-mail : Info @ aftarmac. com

View 9 Replies View Related

Checking If Inside Vertical/horizontal Boarders Exist

Oct 8, 2009

Part of my code formats a selected range, including boarders. I needed the vertical and horizontal boarders to be set to 'xlThin', but some times the range that is selected may only be one row high or one column wide, so this is throwing up and error. I am currently using the code below to do this.

View 3 Replies View Related

Transpose Data In Single Cell From Horizontal To Vertical

Oct 28, 2011

Currently we are transposing data in multiple cells from horizontal to vertical & vice versa.

But when i try to transpose data which are in single cells seperated with semicolon or comma, im not able to perform the action.

Is there any VBA function or public function to perform the this action?

Example:

From

A 1Dog; Lion; Parrot; Bee; Snail

To

A 7Dog8Lion9Parrot10Bee

11Snail

Like wise i will have to do the same action for the following

A B1Dog; Lion; Parrot; Bee; Snail2Goat; Crocodile; Love Birds; Bug; Snake3Hen; Elephant; Peocock; Mosquito4Dog12; Tiger78; Flies5Cat11; Bug1506Chicken7

View 5 Replies View Related

Call Horizontal Data Into A Vertical Layout With Additions

Apr 11, 2009

I am trying to reference data that is currently horizonal in excel and would like to reference that data to get output horizontally with some additions. I have pasted a screenshot of my test spreadsheet. how to do it step by step as I am completely a newbie in excel. As displayed below my data is in Cells A1 thru E3. I want to get output in Column H for this data but with text additions. For eg: in A1 I have Rachel 1/1 however in H1 that should become "My name is Rachel 1/1"....

View 9 Replies View Related

ADVERTISEMENT