Return Largest Number Within A Range Of Cells

Aug 26, 2009

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


ADVERTISEMENT

Return Row Number With Largest Value

May 14, 2007

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

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

Return Largest 15 Day Average Of A Range

Jun 22, 2014

I tried a few searches for what I need but I think my wording might be off or there isn't anything on it yet. So the formula I'm looking for is: I have a single colum of say 700 rows with random values in each. I would like to average rows 1 to 15 then 2 to 16 then 3 to 17.... all the way through to 686 to 700. Now out of all that I need only the highest 15 period average value returned. Seemed simple until I tried to do it. Whats that saying, the idea is 1% of the invention..

View 4 Replies View Related

Named Formula To Return The Nth Largest Value From Range

May 19, 2009

I have a named range which refers to: =MATCH(LARGE($G$5:$G$68,ROW(G5)-4),G$5:G$68,0)+4. It is supposed to find the largest figure in the adjacent column, list its row in cell H5, then the second largest for cell H6 and so on until the end of the data. The data in column G is dynamic and some cells will contain "0" with certain sections of data thus why I need a formula and cannot just use sort each time.

My problem is that when I use the formula as a named range I get "#N/A" and when I evaluate the formula I will get the answer but in array brackets (e.g.{17}) before the final step turns it to "#N/A". The formula will work fine if inputted directly into the cell but as the same formula will be used over three columns and numerous rows I would much prefer to use a named range.

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

Obtaining Largest Number In A Range But Then Pulling Back Name Of Team

Oct 16, 2013

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] .........

View 4 Replies View Related

Detect Largest Range Of Visible Cells In Filtered Range

Jul 3, 2014

I would like to be able to find the largest visible area of continuous rows in a filtered table. I know one possible way would be to loop through visible cells using the "xlCellTypeVisible" property and count cells in each visible area. However, the data is consisted of tens and sometimes hundreds of thousands of rows so I was wondering if there is a faster, more efficient way to do this.

View 3 Replies View Related

Extract Cells With Largest Number Of Digits From A Column

Mar 29, 2014

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.

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

Return Nth Largest Of Last Occurrences

Mar 13, 2009

In the attached sheet there is a list of horse runs in time order with the latest at the bottom..col C contains the rating for each run. I need a formula to fill down col d and e. Col d is to contain the rating of its previous run and column e the rating of its second last run. for example row 21 ..I have filled in manually Autumn charms last run had a rating of 116 and its second last run was 122..filled in in cell e21. if a horse has not ran(is now shown previously..above in column e..just leave the cols d and e blank...

View 2 Replies View Related

Return Nth Largest Value Using Multiple Criteria

Feb 3, 2011

I've a two column dataset with one column for person name and one column for sales.

I'm trying return the nth largest value where the person name equals the value in a referenced cell.

My dataset may grow or shrink over time so I'm trying to avoid array formula.

Basically I'm looking for something like the below that actually works.

View 5 Replies View Related

Return The Largest Letter In An Array

May 15, 2007

how I can return the largest letter from an array of letters? e.g. if the array is "A,B,C,D,H,K,L,O,P", the value returned would be P. Kind of like a MAX function, but for letters instead of numbers.

View 9 Replies View Related

Return Largest Value Meeting Condition

Sep 6, 2007

I am making a pilot logbook and I need a formula which gives me the date of my last flight per aircraft type.

Colum 1 is the date of the flight
Colum 2 is the aircraft type
Each row is one flight

I tried lots of things (IF, LARGE, MAX, SOMPRODUCT,...) but nothing works.

View 4 Replies View Related

Return Nth Largest Value But Ommit Zeros & Ties

Oct 4, 2009

I am trying to use the Large function to pull out First, second and third highest values in an array. problem is with ties and zeros it returns the wrong value.

View 4 Replies View Related

Return Cell Address Of Largest & Smallest Value In Column

Jun 2, 2009

How would I return a cell reference (address) to a cell that contains the largest number in a list?

I tried using "Address(large....) where I get the correct column, but the returned row # is the actual value in the cell (the highest # in the list).

I eventually will want to delete the highest number to leave the cell blank.

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

(FORMULA) Return Largest Time With Nested Countif And Text

Dec 4, 2013

I'm logging failed password attempts and need to find the latest time logged for a single user (when user has failed 5 times).

So the 5th attempt, I need that time

So the usual - Application.UserName in the next free cell in a range and time stamp in the next cell.

What I've tried is:

Say log range is A1:B500 and
A=Username, B=Time stamp

In column C I've nested the two together
(this has more code but not required to get this working)

In C1
Code:
=A1&" "&"live"&" "&B1

So this will bring back "Username live 23:12:12". Now, say there is 5 of these (all with different times)

How do I find the latest time for that user?

Code:
IF(COUNTIF("USERNAME LIVE"&"*")=5,[find the latest time in that list",""

Just to wind you up some more, other users name will be logged and muddled up so it's literally -

"Excel - if a user has failed 5 times then give me the time of the 5th attempt"

I've tried a mixture of COUNTIF, MAX, LARGE, TIMEVALUE(...)

View 4 Replies View Related

Largest Odd And Even Number Combination?

Mar 14, 2014

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]

View 9 Replies View Related

Return Last Number In Range

Dec 16, 2006

I need a formula/tip that will return the last non-blank item in a list or array. I am updating a worksheet each month with that month's metric and want the end user not to have to scan to the right to see the current value, but see it at the front of the worksheet. For example:

A1 is labeled "Current Value"
B1 : M1 are labeled "JAN" : "DEC"
B2 : G2 have values 45, 54, 32, 65, 14 & 23 respectively
H2 : M2 are blank

I need a formula in A2 that returns the last non-blank item in B2 : M2. In this instance, 23. When I enter a value into H2 (the "JUL" column), I want A2 to reflect that new number. =IF won't do, due to the 7 nest limit. I've seen this solution before but despite arduous searches, I can't find it.

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

How To Get Largest Number In List By Using Function

Jul 31, 2013

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

View 4 Replies View Related

Pulling The Largest Number From A Table

Feb 25, 2010

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?

View 9 Replies View Related

Return The Last Occurrence Of A Number In Range

Dec 15, 2008

What Formula will return the above request (Preferable as "simple" as possible) ...

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

Formlula: Subtract Largest Number Then Average

Oct 10, 2009

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 Related

Return Value If Number Is In Range Even And Then Matches The Street

Mar 16, 2014

Basically, I have a huge list of addresses with ID numbers, and a list without the ID numbers. An example would be;

2-10 (evens), test road, ID123.

I need to identify if the address is on the street, is in that block of flats (i.e between 2-10, and even number), and then return the ID.

I've already split the number between two cells, but then its all gone a bit wrong.

View 11 Replies View Related

Look At Range Of Numbers And Return The Next Number Higher Than X

Dec 7, 2012

To keep is simple. in a1:a5 are values 5,10,15,20,25. In c1 value is 13.

Need a formula to look at range a1:a5

And return only the next number higher than 13. Of course it's a3 or 15.

View 3 Replies View Related

Return One Number Based On Range Of Other Numbers

Dec 8, 2011

I have a range of cells (D10:D20) with numbers in them. I need cell A10 to look at D10 and return a specific number based on a set of criteria.

The same thing would go for A11:A20 & D11:D20.

If the number in D10 is 1-2 then A10 needs to display 0
If the number in D10 is 3-8 then A10 needs to display 0.1
If the number in D10 is 9-14 then A10 needs to display 0.2
If the number in D10 is 15-20 then A10 needs to display 0.3

Once I have that formula I know that i will just highlight A10 and drag the formula down through A20.

View 9 Replies View Related







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