Find Largest Submatrix

Nov 29, 2008

i have a matrix of 1's and 0's. How can i use excel / which functions can i use to give me the biggest submatrix with just 1's in?

View 14 Replies


ADVERTISEMENT

Find Largest Value In A Column

Jun 15, 2013

I am trying to write a macro in order to find the largest value in a column in one worksheet, and copy and paste that value into a different workbook. I have found a code similar to what I am looking for and tweaked it, but it needs a few more adjustments. The code below opens the file I want it to, and pastes data into the correct workbook and worksheet, but I would like it to be able to paste in the next empty cell in Row 3, instead of just in the cell "C3". Also i would like for the program to find the largest numeric value in column C, instead of using an if last row statement, as this current program does not always give me the output I am looking for.

VB:

Dim wsMaster As Worksheet, wbDATA As Workbook
Dim NextRow As Long, LastRow As Long

Set wsMaster = ThisWorkbook.Sheets("Contract Metrics")
NextRow = wsMaster.Range("A" & Rows.Count).End(xlUp).Row + 1

[Code] .....

View 1 Replies View Related

Find The Largest Difference

Apr 24, 2009

I have a pivot table that shows values grouped as ranges in the row, Gender as the columns and an average % value in the data.

In a cell outside of the pivot I would like to be able to produce the name of the range that has the largest difference between male and female.

View 5 Replies View Related

Find The Largest Value Within A Formula

Nov 26, 2008

I need to find the largest value within a range that is less than the result of a formula from another set of values.

Something like this:

=MAX(E98:E115) that is <=(P63+((1.5*(P63-P61))))

View 3 Replies View Related

Find Largest Value In Column

Sep 2, 2008

if c2c1 do nothing.

05 =20-5
10 =20-10
15 =20-15
20 =20-20

View 9 Replies View Related

Find Largest And Smallest Value For A Number

Jan 25, 2014

I want to find the largest and smallest value for a number... E.g.

68734 the largest value is 87643 and the smallest value is 34678

39823 the largest value is 98332 and the smallest value is 23389

43089 the largest value is 98430 and the smallest value is 3489

View 4 Replies View Related

Find Largest Value In List And Input 1 In Corresponding Row To Its Right

Feb 24, 2014

Any way to determine which is the best selling single of that week and print a 1 in the row associated with that CD.

View 1 Replies View Related

Find The Nth Largest Value Based On One Criteria

Mar 9, 2009

I have a data set where I am trying to find the nth largest value based on one criteria? How would one use do this using the large function?

Example:

Dept. Name / Widgets
ABC / 10
ABC / 8
XYZ / 9
ABC 7
ABC / 3
XYZ / 4

If I need the third most widget production of Dept ABC, the formula return 7.

View 6 Replies View Related

Find 1 Standard Deviation From The Largest Value

Oct 9, 2008

I don't know too much about standard deviation, but I was wondering if somebody could help me with a function to find 1 standard deviation (68%??) from the largest value (not the mean value) within a column of values. What i'm really after is the 'standard deviation boundaries' either side (i.e. 34% of values above the largest value and 34% below the lowest value) as a highlight.

im using excel mac 2008 so no vba im afraid.

here is an example of real data: ...

View 9 Replies View Related

Find The Largest Number In Multiple Ranges?

Jun 7, 2013

I have huge sorting job in Excel.I have a excel file from each year.And I put these together to a huge excel file. And I need to track down the last activity if the customer is listed multiple times.I could just go through and delete the rows, but the last row.But, that takes a lot of time.

Format:
Last activity (year only) - Customer number - Customer name

2010 - 1001 - Company A
2011 - 1001 - Company A
2012 - 1001 - Company A

View 3 Replies View Related

Find The Largest Number And Then Return The Name From A Different Column

Jan 15, 2007

I'm using the LOOKUP function to find the largest number and then return the name from a different column, it looks like this:

=LOOKUP(LARGE(round1!$F$2:$F$65,1),round1!$A$2:$A$65)

but all I get is hashN/A?

View 14 Replies View Related

Macros - Find Largest Number In Range

Jul 8, 2009

How to automate the process of finding the highest number in a dynamic range meeting a criteria?

New data added/updated every day (new come, old gone).

The attached file has a properly displayed data.

View 11 Replies View Related

Find Smallest And Largest Non Zero Date In A Range

Aug 13, 2008

I am having some data running into 60 (C:BJ) columns and 200 rows. It is the record of dates query raised and answered with refernce to query number in the A coulmn. I have zero value as entry for the unused cells in this range due to some constraints. I need to find the smallest and the largest non-zero date in this range for analysis purpose. I plan to use the difference between these 2 dates to calculate turn around time for a query.

Problem is to find the smallest and the largest non zero date within range C6:BJ6 which would be used as input in the Networkdays formula.

View 9 Replies View Related

Find 4 Largest Values In A Row And Change Background Colour?

May 25, 2013

I have a large list of students (Col a,b) who do several sports (up to 10) each, which are arranged as sport name (Col c) followed by score (col d), repeated on pairs of columns for the other 9 sports.

I need a macro to find the 4 highest scoring sports for each student in turn and to highlight the score and sport cells. I have tried to find permutations using the LARGE function but I cannot see how I can do this.

View 5 Replies View Related

Conditional Formating To Find Largest Numbers In A Selection

Mar 14, 2007

I am trying to create a macro that works with a range of cells and identify the five largest numbers in the range. The following are the steps.

1. I select a range of cells and run the marco.

2. The macro will identify the largest number in the selection and make the cell color red.

3. Then it will find the cell with next largest number and turn the cell orange...and so on till the 5th largest number.

View 9 Replies View Related

Find Largest Number In A Range And Change Font To Bold

Jun 19, 2009

I need to create a macro that will examine a range of cells, for example D12:T12, find the cell with the largest number value in that range then set the font for that cell to bold (or red, or change the cell background color).

View 2 Replies View Related

Needing To Find Largest Value In Array, Then Return Entire Row Associated With Result

May 14, 2009

I have a table with subtotals that I need to find the largest value for the subtotal results and then return the cell contents for the corresponding row.

I have attempted to use the hlookup function, but keep getting a #ref error (probably because I am just not that familiar with the entire formula requirements).

I attempted to nest in the 'largest' function to the lookup function, but have so far been stymied....

View 14 Replies View Related

Find Largest Number In Array And Give Result As Column Heading

Aug 9, 2013

I'm trying to find the largest number in a row and then have the column heading (text) as the result. I can find the largest number by using =max(numb1, numb2 ....) but then how do I get the heading of the column as the result. An example of what I want to happen is below

Red
Green
Blue
Orange
Yellow
Result

2
4
3
6
1

[code]...

I anticipate an issue where 2 columns have the same largest number and not sure how to over come this either with multiple answers

View 4 Replies View Related

Find Three Largest Numbers From A Variable Starting Index Match Point

Sep 1, 2013

My data is set out in columns, where alternate columns provide day numbers for given years (we can call these type 1 columns), with adjacent columns containing values which correspond to those type 1 column day numbers (we can call these type 2 columns). There are about a hundred columns in total (50 of each type). I would like to get excel to return the three largest numbers within each type 2 column, but I want to exclude data within the type 2 column above the point which is adjacent to a specific (varying) day number in the type 1 column. The location of this point varies for all the type 1 columns, according to a third row of numbers (the look up start point), which are currently listed below the dataset in every type 1 column. So, for the type 1 column "year 1", I would want Excel to ignore the values 0 and 1, which are listed next to day numbers 78 and 79, and begin looking for the three largest values down the column starting from the value which is adjacent to 81 (which is a 2). In type 1 column "year 2", excel would start looking for the largest values from the cell adjacent to 78, so it would ignore the 18 at the top of the column,and would return 2 and 12. And so on.

Year1
Value
Year2
Value
Year3

[Code]...

look up startpoint

81
78
62
83

View 9 Replies View Related

Retrieving Column Header For Largest Or Second Largest Value In Row?

May 12, 2012

I have a table showing interest levels in training courses from a group of schools, eg:

English Maths Science
School1 3 4 2
School2 7 1 0
School3 3 2 5

I want to identify the column heading for the first, second and third most popular courses. ie for School1 the most popular course is Maths, second most popular is English and so on.

I have tried using the OFFSET function, which worked if I provided the cell location of the required value. I then looked at the ADDRESS function to provide the cell location: eg For School2 find the 2nd most popular course:

=ADDRESS(ROW(A3),COLUMN(data?)+MATCH(LARGE(B3:B5,2),B3:B5,0)-1)

But I have got stuck with what I should enter for COLUMN(data?) as I do not know in which column the second largest value is.

I am sure Excel has the required functionality.

View 12 Replies View Related

Find Largest Invoice For Each Individual Identifying Code Number In The Table Without Using A Pivot Table

Sep 8, 2009

Data Table including-

List of Identifying Code Numbers for customer invoices

Multiple repetitions of individual Identifying Code Numbers in list

Various data in table range including Various Values of invoices from different dates for each repetion of Identifying Code Number.

- Wish to find largest invoice for each Individual Identifying Code Number in the table without using a pivot table.

i have tried combining Max and Large functions with Vlookups etc.

View 9 Replies View Related

Sum X Largest

May 9, 2007

I have 3 columns. The first has names of students, the second names of their schools, and the third the student's scores. I need to add together the top 4 scores from each school and return them in a table. I have tried combining LARGE and SUMIF but to no avail. Also tried a Pivot table but I cannot get just the top four scores to add.

View 9 Replies View Related

Sum The Largest 5 Numbers On A Row?

Jun 13, 2014

I have been trying to sum the largest 5 numbers that are in a row

the number are in the columns stating c1, e1, g1,i1,k1,m1,o1 ect for about and other 15-20 columns, so there is a missing, so a lot of numbers

thing to note i am missing a cell between the cells i need to count/ sum ...

View 8 Replies View Related

Determine Largest Value

Mar 26, 2009

I'm working with box quantities and would like to get a formula that would take the box quantity and return the largest value based on some parameters. Here are my parameters:

Box Quantity

- 375 pieces

Break down options

2 - 187.5 pieces
3 - 125 pieces
4 - 93.75 pieces
5 - 75 pieces


Obviously options 2 and 4 are no good as I can only work with even break downs. This leaves me with either 3 or 4 and because I want the largest, I would choose number 3. What I need is help on a formula that will take the value of the box quantity and return the largest whole number. I think for the time being I would like to leave the break down between 2 and 5 as well.

View 5 Replies View Related

Lookup Next Largest Value

Nov 14, 2006

If TRUE or omitted, an exact or approximate match is returned. If an exact match is not found, the next largest value that is less than lookup_value is returned. But this is not correct as the value I am seeking falls with a range of Min/Max Values therefore the return should be the Next Largest Value

I have values I would like to lookup against a table Min Max values
Col A Min Value 700,000
Col B Max Value 799,999.99

The value being sought is 745,000

I would like the return to be 799,999.99
But currently returning 700,000

Current formula is
=VLOOKUP(G2,tblMaxValues,2,TRUE)
Where G2 is 745,000
tblMaxValues is a list of values for comparison
,2, is the column to be returned

View 3 Replies View Related

Sum Nth Largest Values

Dec 30, 2006

I need a formula that would return the sum of the largest 3 numerical values out of a range of values, i.e. ignoring the lowest values in the range.

View 5 Replies View Related

Sum Of X Largest Values

Jul 11, 2007

I have a row with 30 cells and each cell has a different value. i want to count the highest 15 cells of those 30, so the sum of the total only counts the largest 15 digits.

View 2 Replies View Related

Return Value Corresponding To Nth Largest Value

Apr 17, 2008

=LARGEST(overview!$AB5:$AL5;11)

I'm using this formula to look up a certain value in "overview" sheet, is there a way to not show the result in this cell but show as result the cell in the same column in row 3?

View 3 Replies View Related

Sum Formula To Add X Largest Numbers?

Aug 24, 2014

writing a formula to sum the six largest numbers from a row of numbers. I have used the array formula "=SUM(LARGE(E2:M2,{1,2,3,4,5,6}))" and it works for rows that have six or more numbers; however, not all of my rows always have six or more numbers. Rows that have less than six result in "#NUM!".

View 5 Replies View Related

Largest And Smallest Sequences

Jan 12, 2009

I am using excel 2007 and I need help with the following if anyone would be kind enough. I have a dynamic array that consists of stream of 1's and 0's. I want to be able to find the largest sequence of 1's and the smallest sequence of 1's. So at a point in time the array mite be 111110001101111000 and I want to be able to dertermine the longest contiguous sequence of 1's. But as I say the array is dynamic and so I need to do that after each input.

View 8 Replies View Related







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