Convert List (vector) To Matrix
Dec 18, 2007
I'm looking for a way to automatically convert a list of values into a matrix.
For example,
A1A11000
A1A2998
A1A3468
A1A4491
A2A1998
[Code] .......
should be converted to
A1A2A3A4
A11000998468491
A29981000464488
A34684641000992
A44914889921000
In this case it could still easily be done manually, but if the matrix has more dimensions it will get harder.
View 5 Replies
ADVERTISEMENT
Jun 24, 2007
I want to take information from a list and put into a matrix using VBA. So my problem is to find the correct cell in the matrix.
View 5 Replies
View Related
Oct 16, 2013
I have been using Excel to record the routine daily issue of items to different groups in a matrix layout, I use a different workbook for each month with worksheets for each group. The matrix takes the form of the item issued being the left hand column and the date issued the top row of the matrix, the quantity issued is recorded at the intersection. Each item can have a different quantity issued on different days. I'm using Excel 2011 for Mac but could use PC Excel 2010. Is there a way to convert the data held in this way to a list? What I'd like to achieve is a list showing the Item, the Quantities Issued and the the Issue dates
View 9 Replies
View Related
Jul 4, 2013
I have a large frequency table, the dataset looks like:-
Category Age Frequency
A 1 4
A 2 3
A 3 2
B 7 1
B 8 3
C 4 2
C 6 4
I would like a formula to get:
A B C
1 7 4
1 8 4
1 8 6
1 8 6
2 6
2 6
2
3
3
View 3 Replies
View Related
Dec 21, 2012
I am wondering if there is a way to drag a formula, for instance, down, and each cell that I drag down, it references one cell to the right.
Excel Example.png
I attached a photo -- I understand that this is an overly simplified example, but the idea is that it would reference the row as you drag down the column.
View 4 Replies
View Related
Jun 4, 2014
I need to convert a Matrix to a Table. Something like this:
Input file:
Capture1.PNG
Output :
Capture2.PNG
View 4 Replies
View Related
Aug 6, 2012
I am looking to convert data stored in columnar form to a matrix.
I found this link: [URL] ........
Which does the reverse of what I am trying to accomplish. Would it be eaiser to modify the above or start over?
View 3 Replies
View Related
May 23, 2009
I've searched the forum and believe this thread to be the closest to what im looking for, but its doesnt completely apply: matrix to list conversion. I have an attachment to support my questions (see attached). I have a matrix of words (strings) that contain repeating and non-repeating contents. The matrix also has spaces which are of no value. Essentially, the VBA needs to ' analyze' this matrix and create a consolidated frequency list (as shown in the file).
The matrices are HUGE and therefore some of the clumsy VBA i am using is turning out to be a bit inefficient. The file also contains formulas and such that I cannot use AutoFilter nor can I use Insert or Delete rows...so the VBA shouldnt use those either.
View 6 Replies
View Related
Nov 22, 2011
I was not able to accomplish this task:
I have a list of ~19.000 rows with 3 columns:
Code:
A B C
20 100monkeys 1
1 10avenue 0
1 10avenue 0
2 10avenue 0
1 10avenue 0
1 10avenue 0
[code]....
I need to write a function, that outputs "1" in C for only biggest number in A, if it is above or equal 20 for each list of values in B. Is this posseble with Matrix-Functions or should I look into VBA?
View 5 Replies
View Related
Feb 20, 2013
Maybe this problem is not too much complicated for some of you experts. I have this:
I have in sheet "Products", in column A, a lists of Products from row 2 to N. (Product 1 , Product 2, Product 15, Product 37, etc).
How to generate in sheet "Menu" a matrix of buttons with the label of each button taken from the value of each cell in column A of sheet1.
I mean, the buttons would have the label Product 1 , Product 2, Product 15, Product 37, etc. Each button associated with macro "My_Macro".
I would like that the buttons be organize as simetrical as possible (regarding number of rows and columns)
* I'm attaching sample file with input in sheet "Products" and output desired for those few products. The real list could have 100 Products.
View 6 Replies
View Related
Nov 28, 2013
I have adapted the use of StephenR's solution to a problem similar to that in the thread linked below. However I want to load the data directly into a new sheet instead of loading it into line 27 of the current sheet. This is the code I am working with, I think I need to change r2 somehow, not sure what to do exactly though.
[URL]
VB:
Sub KonverterFraMatrixTilListe()
Dim rng As Range, c As Long, r As Long, r2 As Long
r2 = 27
[Code]....
Another thing that I really want is for it to run not only for rows 4-8, but for rows 4-last row as defined by the A column.
View 7 Replies
View Related
Apr 30, 2012
Here is how my spreadsheet is set-up. This is unfortunately not something I can change :
- I have a list of products A to Z, starting in A2
- I have email addresses in row 1, starting in B1 up to Z99
- I have a matrix with 4 possible values in B2 to Z99. The values are either "L", "C", "I" or blank.
Here is what I am trying to do :
I would like to have a macro created for each product (column A) to send emails to those indicated in the matrix.
When the email is identified with "L" in the matrix for particular product, this email should be in the To:, when "C" or "I" it should go to CC:
View 7 Replies
View Related
Nov 20, 2008
I have a report of users and thier roles
User# User_Christian User_Surname Role
1 bob smith operator
1 bob smith supervisor
1 bob smith warehouseman
2 john stone operator
2 john stone gunman
5 george brown Foreman
What Im after is:-
a matrix with unique Role list across the top
Unique ID & Name down the side
(I can do all the above using recorded macro's)
but the clever bit I cant even start to work out is how do I get matrix populated from the list?
View 10 Replies
View Related
Sep 6, 2012
Here's a sample of the document I have, the original has several thousand entries, so figured for the sample I'd limit it. The raw data is on sheet 1, and sheet 2 is what I want to have to more easily manipulate the data. I started doing it manually, but I'm sure there's a far better method that I just don't know about yet. sample.xlsx
For those that don't want to download the document:
My data is like this:
ID1 Field1
ID1 Field2
ID1 Field3
ID2 Field1
ID2 Field2
ID2 Field3
ID3 Field1
etc.
What I want is this:
ID1 ID2
Field1 Field1
Field2 Field2
Field3 Field3
etc.
View 2 Replies
View Related
May 25, 2014
I am trying to turn a list into a correlation matrix.
Goes like this :
From :
1 1 1
1 2 0.6
1 3 0.7
2 2 1
2 3 0.9
3 3 1
To
1 2 3
1 1 0.5 0.6
2 e 1 0.9
3 e e 1
The first list is from worksheet 1, and im trying to create the matrix in worksheet 2. Both worksheet is in the same open workbook.
Here's the code I've been using
Sub button1_click()
Dim i As Integer
Dim j As Integer
Dim b As Integer
Dim a As Integer
Dim c As Integer
[Code] ........
Now the weird thing is, this worked on a smaller matrix before (31 x 31) but now it just would't work at all (85 x 85)
it keeps giving me the error run time 1004 : application defined or object defined error.
Here's the file : matrix.xlsx
View 1 Replies
View Related
Aug 26, 2007
I have a data chart on 200 people with overlapping membership in 20+ groups, represeted as binary (1=member, 0=notmember), for example: ...
View 9 Replies
View Related
Aug 22, 2008
Using VBA, I wish to work out the inverse matrix of a large matrix (100*100), but keep getting the # Num! Error. I am using the minverse function. I have defined variable as "variant", does this give me the same possiblities in terms of number size as the variable "Double"?
View 9 Replies
View Related
Jan 31, 2013
I want to find a number in my array and return the value in column A. Trouble is if the array goes past column R I get the wrong Answer. the formula I am using is
=LOOKUP($C$22,$B$2:$AC$18,$A$2:$A$18)
Some cells are blank I am trying to draw a raffle.
Here is my data and formulas below:
The lookup of value 209 produces correct results when I look up as far as column R after that I get the wrong answer.
A
B
C
D
E
F
G
[Code] ....
View 2 Replies
View Related
Oct 22, 2009
I explained my request in detail inside the attached WB.
View 6 Replies
View Related
Nov 10, 2009
I am looking up values L, M, and S from a seperate worksheet based on two factors. age in months, and gender. I have read enough to figure out how to lookup values L,M,S one at a time using a vectorlookup, from one worksheet to another. However, the LMS values being looked up are for females only. I know I must get the gender codes worked in but not sure how to work this in.
I don't know if I need an and If function, to meet the gender (1male, 2 female) or what.
View 11 Replies
View Related
Apr 9, 2008
I want to use the V lookup function to return a value, but rather than returning the value in the same row as the match in the specified column, I want to return the value in the cell below.
Eg.
=VLOOKUP(B397, A$267:H$351, 7, FALSE)
... but rather than returning the value in column 7 on the row that matched with B397, I want the field below.
View 9 Replies
View Related
Apr 24, 2007
I have = LOOKUP(REPT("z",255),CHOOSE({1,2},"",LOOKUP(C3,{1,2,3},{2,1,0}) )) in cell D3. C3=1 so I expected a result of D3=2. Instead I am getting a blank cell.
View 4 Replies
View Related
Oct 1, 2007
I am running a fairly complex simulation at work and have quite a few different functions in it. For the simulation to work properly, i need to have the Solver add-in and the Analysis ToolPak installed. Everytime that i try and use the simulation on a different computer (or if anyone else tries to run it) the add-ins must be enabled again. Is there a way to set up a macro to enable them when either i open the simulation (first preference) or when a button is pressed (2nd preference).
View 2 Replies
View Related
Dec 24, 2009
Is there a way to use the lookup function in reverse? The "lookup vector" on mine has to be descending, that is it it is a column going from high values at the top of the page to lower values at the bottom of the page. When using lookup function in this setup, excel gives me to wrong answer for some reason. If I make the lookup vector ascending, it works, but unfortunately the vector has to be descending in my worksheet.
View 2 Replies
View Related
May 15, 2013
Let me see if I can explain my question in an understandable fashion....
I have a table containing data for about 2000 ID numbers. Some of these numbers are unique and some are duplicates. I would like to convert the ID numbers into a consecutive list of integers while preserving the unique numbers. For example, if the first column of my table is currently:
ID#
18578
19644
19644
20247
20974
21361
21361
21419
I would like to change that to something like:
ID#
1
2
2
3
4
5
5
6
I need to know which records (i.e. which rows of data) are from the same ID# but want to remove the actual ID#.
View 6 Replies
View Related
Mar 21, 2014
For a table like the one below produced for the sake of example (actual is much much bigger) I want to make it list rows that are true for a certain column for a certain variable in the matrix. So for say water terrain, which types of activity can I do i.e. swimming. Or for Offroad the activites which I can't do i.e. Run and Swim.
ActivityWaterRoadOffroad
Jog nym
Run nyn
Walk nyy
Swim ynn
y=yes
n=no
m=maybe
View 10 Replies
View Related
Apr 29, 2013
Below there are all the information needed to understand my problem.
M(1 to R,1 to C): matrix with R rows and C columns [element known]
M(i,j): elements of the matrix M in position i(row)-j(column) [element known]n
View 3 Replies
View Related
Sep 26, 2008
I have a data array which i would like to convert to a list. Sort of the reverse of a Pivot Table
See example below
I would like to turn this
Account Jan Feb Mar April etc..
001 59 30 25 40
002 12 20 32 29
003 5 13 27 39
004 10 11 12 13
Into This
Account Month Amount
001 Jan 59
001 Feb 30
001 Mar 25
001 April 40
002 Jan 12
002 Feb 20
002 Mar 32
002 April 29
003 etc...
There is a sample of the data file attached.
View 3 Replies
View Related
Jul 6, 2009
I have a list of data i would like to convert to a different format using a macro.
The conversion involves Sort the data. Delete rows when criteria is met. Insert blank rows when criteria is met. Insert formulas into cells. I have attached a sample workbook.
View 2 Replies
View Related
Jun 14, 2012
I have three columns of data starting in row 5, the headers of these columns show Origin, Destination and mileage. Is it possible to have a macro that converts the data into a table?
View 2 Replies
View Related