Matrix Function For Multiple Value List

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


ADVERTISEMENT

Calling Function That Acts On Matrix Range Within Another Function

Jul 23, 2013

I have a function

VB:
Function f1(Matrix As Range)
'Does something and returns f1 = a double
End Function

And a second function which defines and constructs a matrix of doubles to use as an argument in f1 to return a double:

VB:
Function f2(dD As Double)
Dim MatrixRed() As Double
Redim MatrixRed(1 To dD, 1 To 10)
For i = 1 To dD
For j = 1 To 10
MatrixRed(i, j) = i * j
Next
Next
f2 = f1(MatrixRed)
End Function

I get an output error (#VALUE). I think it has something to do with MatrixRed not being a range anymore?

View 2 Replies View Related

Create Unique List From Matrix & List Frequency Of Each Occurrence

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

Convert List To Matrix

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

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 View Related

Generate Matrix Of Buttons From List Of Values

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

Copying Matrix Converted To List Into New Sheet?

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

VBA - Send Emails To A List Based On Matrix

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

Require Training Matrix From A Report List

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

Excel 2010 :: Convert Matrix Data To A List?

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

Turn List Into Correlation Matrix Error Runtime 1004

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

Creating Adjacent Matrix From Incidence Matrix

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

Return Inverse Matrix Of Large Matrix

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

Matching Multiple Criteria On Separate Tab To A Matrix

Apr 25, 2013

Currently I have two tabs one with six columns of data. On a separate tab I have a matrix of two of the criteria. I would like to map the company data to the matrix, but recognizing the primary representative has more than one company he/she manages. Hence I don't just need the first entry, but all of his/hers maps to the size columns.

View 5 Replies View Related

Matrix - Identify Cell Content In Column For Row If Matrix Content True?

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

Lookup Or If Function: Find The Room Nights And Net Room Revenue Values For The Specific Rate Code In The "MATRIX" Workbook

Apr 7, 2009

I am having a bit of a problem creating a formula for this report that I have to update every week. I need to be able to find the room nights and net room revenue values for the specific rate code in the "MATRIX" workbook.

On "CURRENT REPORT," I need D4 to pull up the value on "MATRIX" that equals "Room Nights" in column H and "CONABC" in column J. The same thing needs to happen for F4 but with "Net Room Revenue" in column H. The full report has about 500 of these codes in column J, and I need a formula that I can copy easily and will not be affected if codes are added or removed. This is super last minute - I need to finish this report by tomorrow morning, so take a look at the attachments.

View 2 Replies View Related

Create Matrix From A Matrix

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

Convert Raw Data Matrix To Multiple Column Data?

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

Syncing Two Lists Of Data For One List Of Individuals - One List Has Multiple Entries

Jan 20, 2014

I need to consolidate these two lists of data into one list.

First set is just a basic list of individuals with their data.

Second set is multiple entries for those same individuals. Each entry shows a subscription to a programme. The final single sheet should have one row per individual which shows all of the programmes they are subscribed to.

See attached, example sheet.

The real list is 3000 IDs, so need some kind of formula to do this.

View 4 Replies View Related

Generate From Larger List Short List That Meets Multiple Criteria?

Mar 27, 2014

I have a large amount of data, 40,000+ rows about how students do in remedial classes including from whom they took the classes. I have pulled from it a subset of student success as relates to the separate instructors. Now I would like to extract a consolidated list of those instructors for whom the student gain on criterion based pre and post course assessments is above a specific level. I have no trouble writing if statements that will look at two types of data, the course taken and the average student increase to determine which instructors meet or surpass the criterion, but I can only do that within a list that includes all the instructors. Because there are more than an hundred such instructors, it would be easier for the dean if I could provide a short list of those that meet specific criteria. I believe that it would be an array that I should use, but I have been fooling around with this for 2 days now, and am finding myself at a series of deadends!

View 5 Replies View Related

List Displaying Data In Multiple Cells Based On List Selection

Jun 24, 2009

I am trying to create a drop down list that when selected will display data in the 10 rows below and 4 columns, so a total of 40 cells. I would like the data to be based on the selection in the drop down list.

The data looks like this,
RequirementsQtyResourcesQty
Level 1 Sentinel10Level 1 Sentinel105
Level 2 Sentinel10Level 2 Sentinel167
Level 3 Sentinel10Level 3 Sentinel156
Level 1 Banga20Level 1 Banga401
Level 2 Banga20Level 2 Banga307
Level 4 Banga20Level 4 Banga0

i have 27 different combinations of the above list with up to 10 different rows. I have a label for each one, but i cannot get the rows below my drop down list to display the proper values base don the selection in the drop down list.

View 8 Replies View Related

Adding Multiple Cells From Multiple Sheets With Sumif Function

Jan 20, 2009

I'm trying to put together a spreadsheet that tracks disc capacity increases, affected by any incoming projects. I've managed to do so for one project, but would like to for up to 10. The way i've designed the solution (i'm sure there are far more elegant ways, but hey) is thus:

A forecast worksheet keeps track of a grand total, taking information from sheets P1 -> P10 (being projects 1 to 10). I am unable to figure a way to add up all the increases from all 10 project worksheets with one succinct formula. What I use so far is: ='P1'!C83+SUMIF('P1'!E82,"=2009 - Q1",'P1'!D82) ..................

View 5 Replies View Related

List Values From Multiple Columns In A Dropdown List

Dec 17, 2012

how to list values from multiple columns in a dropdown list based on lookup value of 1st column as below.

This is how the table looks like.

Product MOLD1 MOLD2 MOLD3
4" AB1 AB2 AB3
6" ZA2 zd4 -

This is how the dropdown list should look like for Product 4"

ab1
ab2
ab3

View 6 Replies View Related

Use INDEX To Lookup Multiple Values In Multiple List

Dec 8, 2013

I am using the below array formula in G2 (that I then drag across) to show the score for all the times "mike" appears. I would like to match all the times "mike" OR "red" appears, so that the value in K2 is "99".

=INDEX($A$2:$C$9999,SMALL(IF($A$2:$A$9999=$E2,ROW($A$2:$A$9999)-1,"hh"),COLUMNS($G2:G2)),2)

A
B
C
D
E
F
G
H
I
J
K
L

1
name
score
color

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

View 9 Replies View Related

Function To A Value In Check A List

Feb 8, 2010

I have created a list for Cells A2:A10 which has the various roles of person. Gave it a name Designation. I have created a drop down list using this list by going to validation. =Designation

I want a function that would check the value entered and search this list would return TRUE or FALSE

View 14 Replies View Related

Function To List Data

Sep 1, 2008

I have 2 worksheets. One has data, the other is a receipt. In the receipt I would like a function to look at an ID # in a cell on the receipt, go to the data worksheet and find all of the information in a range of cells and return ALL data pertaining to that ID#. I haven't had any luck with VLOOKUP, unless I need to nest functions?

I.E.:
ID# Item
123 Basket
456 Gift Card
789 Massage
123 Cups
123 Coffee

OK. So say that the ID# cell in the receipt was '123'. I want a function to return everything that matches '123' on the receipt, all at once.

View 14 Replies View Related

Dropdown List And Lookup Function

Mar 18, 2013

I have been writing a speadsheet using drop down lists and the Lookup function to link names to body weights. When using the dropdown list it displays for one name the incorrect weight. All the rest work correctly but one will not. From the list below when I select the name White it displays '68' rather then '80' as it should. If I change the name of White to the number 4, it will act correctly and display the weight '80'. It seems rather bizare.

This is the function that I am using

=LOOKUP(C53,Weights!B2:C9, Weights!C2:C9)

Pilot
Jones
78

Smith
95

[Code] .....

View 5 Replies View Related

How To Filter List Using Dropdown Function

Jul 11, 2014

I have two sheets open in Excel, the second sheet contains a huge list of data. I am trying to make a workbook that lets any user select from several dropdown lists and in the end, displays the (in this case) recommended material to use (and if possible the 4 best choices). The user will select from dropdown lists what the environment the material will be exposed to, the minimum required temp, and the maximum required temp.

View 1 Replies View Related

Sumif Function Using Drop List

Nov 28, 2012

I have a drop list for selection of staff in an area, but can i then do another droplist and use the sumif function to sum up the total time depending on the value of the list.

i.e., if i selected name 1 it would search all of the sheet to see if name 1 was there and then add the times.

See attached : Utilisation.xls‎

View 2 Replies View Related

Dropdown List Dependent On IF Function?

Mar 18, 2013

I am trying to have a drop down list which is dependant on the result of a cell.

For example, if cell A1= CAT, then cell A2 should have a 'drop down list 1'; if cell A1=DOG, cell A2 would have 'drop down list 2'; if cell A1=RABBIT, cell A2 would have 'drop down list 3' etc.

Creating the drop down list is easy, I just want to know if it's possible to have different drop down lists depending on the result of a cell.

View 1 Replies View Related







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