# Pulling The Largest Number From A Table

Feb 25, 2010I have a worksheet that is full of names (column A) and dollar amounts (column B). Many of the names are repeats.

How do I pull the largest dollar amount for each unique name in the worksheet?

I have a worksheet that is full of names (column A) and dollar amounts (column B). Many of the names are repeats.

How do I pull the largest dollar amount for each unique name in the worksheet?

ADVERTISEMENT

I have a set of data like below, I am trying to get a formula to look at a range i.e. May column and then select the highest number in that range but rather than returning the number returning the team name, is that possible? Not sure where to start...

Jan

Feb

Mar

Apr

May

Jun

Team 1

25087

23029

32991

21319

25271

25136.8

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

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.

I have a spreadsheet with items and their maintenance dates. Each item may be listed multiple times with various dates. I want to create a pivot table that will show the most recent and previous maintenance date. The most recent is easy by using the built in "max of" in the Pivot table Wizard.

how to use the "Large" function in a pivot table? or is there a better way to get the 2nd largest value? Auto Merged Post;Bummer! No answers yet. I thought there might be some experts out there that would have a really tricky way of doing this.

" In formulas you create for calculated fields and calculated items, you can use operators and expressions as you do in other worksheet formulas. You can use constants and refer to data from the report, but you cannot use cell references or defined names. You cannot use worksheet functions that require cell references or defined names as arguments, and you cannot use array functions." I think I may end up adding a column to the original spreadsheet to create the 2nd largest value and use it in the pivot table.

I am doing a macro that will access a specific sheet of my workbook, a specific table, and will sort the table according to the field "Nominal", from largest to smallest. I have tried with this but it doesn't work:

Sheets("F.C.SSA-View 2").Select

Application.CutCopyMode = False

ActiveWorkbook.Worksheets("F.C.SSA-View 2").ListObjects("F.C.SSA_View_2").Sort.

SortFields.Clear

ActiveWorkbook.Worksheets("F.C.SSA-View 2").ListObjects("F.C.SSA_View_2").Sort. _

[Code] ....

I have created a monitoring spreadsheet for a public School system. It pulls data from 5 seperate excell files. however when a lookup value that is further down the list on the largest table it returns no data. other cells can lookup that same number and return correct information but from a different table.

The table that has issues is A1 - Y12430.. if the lookup value is low in the first few thosand rows it works.. but if thye value is in say row 9,000 it can not locate it..

1

0

0

4

6

=largeodd(a1:e1)

=largeeven(a1:e1)

write a udf function to deal with the above ?I know large(a1:e1,1) for picking up the largest one in the row,but no idea to find the largest one when these five numbers are combined to build a 5-digit number.

[ want to find largest 5-digit (also 4 ,3 digit ) numbers combined by thess five numbers]

I've a column that contains numerical values. In my vba code, I have to select a block of cells at a time and get the row which has the maximum value.

One lame approach I am doing is wasting another column that extracts the max from the block of cells using Excel's Max function, and then doing a iterative search in the numerical column to get the cell tht contains the max value, and from it get the row number

Is there a better way such tht i can avoid the looping?

so in a nutshell, i want to get the row number from a range of cells that contains the maximum value

I have a table I wish to pull information from. Here is an example table:

"Start at".."Less than"..0..1..2..3

80............85...............5..4..3..2

85............90...............6..5..4..3

90............95...............7..6..5..4

This example is A1 to F4. There are two inputs; A10 and A11, and one output (formula) on A12. A10 will be the column I choose, and A11 is the row I choose...but it's chosen if the number is >= column A and < column B.

Example: I input A10 as 2, and A11 as 87, A12 will output 4. If I input A10 as 0, A11 as 85, A12 will output 6.

I kind of understand how to use VLOOKUP for this, but I am unable to check column A and B to choose the row.

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

How can I get the largest number in this list by using a function?

View 4 Replies View RelatedI have a 4 columned table with 10000 rows

Entry # Correlation Index1 Index2

1

2

.

.

10000

I want to be able to create tables out of this where I can pull all line items with correlation > 0.8 or <0.1 or <0.3 etc.

I think a macro will have to be written for this.

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

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?

I am trying to subtract the highest number from a row of numbers then find the average for the remaining numbers in Excel 2003, as: =SUM(B2:E2)-MAX(B2:E2)AVERAGE(B2:E2).

View 5 Replies View RelatedHow 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.

I'm looking for a formula to enter within a particular cell which will return the largest number that appears within a range of cells, for example the range H:133 through L:136. If it's any easier, only one number will appear within the range, though it could appear in any cell within that range.

View 3 Replies View RelatedSee the attached file.

I have a table, which contains a dates in Column A. and Contract type in Column C, and the value in Column G.

I need a VLOOKUP function which takes the value "06.03.2009" and "Dec-2009". That can return the value "10,97".

I have a table populated with values for given dates. Some days there is no data. I would like a separate table over to the right to automatically populate with only the date and data.... (no spaces). I will attach an example problem to this Thread.

View 2 Replies View RelatedI have data one sheet which is

Date Ref No Type %complete

Monday 1 Erect 75

Monday 2 Erect 50

Tuesday 1 Erect 95

Wednesday 1 Erect 100

On the next tab I am consolidating all the reference numbers and want to capture the latest % complete

I have been trying =Max(if ref no=1 and type = Erect, % complete),1

But when I try it for reference number 2, it just says 100% aswell, when that should be 50%.

I basically I have a column with numbers. All the numbers are positive integers. What I like to do is have a VBA function that extracts the integers with the largest number of digits. So for example if we have the following column:

12

123

234

12346

2345

[code].....

So basically we search for largest number of digits, and extract the numbers that fit this category, which could be just one number or multiple numbers.

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.

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 RelatedI've done some searching and cannot find the right answer for my question. I need to create a formula that will pull column header text data based on cells within a table that contain a numeric value not equal to zero. The catch is that I cannot use any one specific numeric value as the basis for a Lookup.

I've attached an example spreadsheet for reference. Basically, I need two formulas:

1. Formula to pull column header (Receiver name) based on Sender. This is a necessity.

2. Formula to pull individual lines for those senders that have multiple receivers (Division D in my example).

My actual data file has 80+ senders and 100+ receivers.

I need a formula which would take the last number that appears in a column and place it in A1.

The column is D10 through to D44 and the last number can appear in any one of those cells.

How to extract only the number out from the description?

the number can be in left, middle, right..

Description Result

1930 profit 5301000 Meal allowance1930 5301000

expenses 1930 meal the 2701000001930 270100000

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

I have over 7000 items with a unique 6 digit item number each. They are separated buy category numbers. So category 5 may have 30 item numbers in it. column A has 555555555666666666777777777. Column B has the item numbers. I have about 200 categories.

In the workbook I have separate sheets for each category.

I need to pull all the item numbers from category 5 to sheet tab 5, all cat 6 numbers to sheet tab 6 and so on.

I do know excel but never used code.

5

562462

5

845294

5

349124

[Code]....

I have an inventory list (non-sequential) and I want to pull only the items with id codes that are with in 4 different ranges.

I would like to populate column A with the results, search paramiters are in Q3 and S3.

I can get it to work on a small scale but my inventory list is 10143 rows long.

INDEX($D$19:$D$22,MATCH((LARGE($E$19:$E$22,1)),$E$19:$E$22,0))

I use this formula to give me a "name" associated with the largest number in a list. But I can't get it to work when I use it on a win/loss number such as

"7-1". It won't read it.

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