# 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
ADVERTISEMENT
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
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
Aug 17, 2007

Is there a way to reverse a lookup function?

I have a s/s attached, basically B is like an output of figures after some calculations. And I am trying to find from largest to smallest values and then having column E reflect the Letter beside that number...

tried using match but messed up.

View 3 Replies
View Related
May 10, 2013

There must be something I'm doing wrong, because I have a list of numbers and when I select Data --> Sort --> Column G, I am not given the option of sorting "From smallest to largest". Only from "A to Z" or viceversa.

View 3 Replies
View Related
Feb 20, 2014

I'm trying to create a formula that will allow me to filter the dates from largest to smallest while having a text in the formula. Right now I'm using:

=K2-M2&" Days"

But the dates are all over the place,

View 3 Replies
View Related
Jul 1, 2008

I have a work document with multiple rows of information. In each row I need to locate the maximum and minimum values. (The rows aren't long - there are about 10 values in each). I then would like to turn the font of the lowest value in each row red - and the font of the highest value in each row blue. I would also like to be able to skip blank or unimportant rows.

View 2 Replies
View Related
Dec 5, 2013

I am looking for a formula that will output the highest and lowest value in a range. Column A contains a range of numbers, some of which repeat and in column B i'd like to extract ONE instance of the highest and lowest value in Column A, preferable the last instance.

See example below and in column B the desired output.

Column A

160

90

120

90

120

160

Column B

blank

blank

blank

90

blank

160

View 5 Replies
View Related
Jun 21, 2013

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

View 1 Replies
View Related
Mar 10, 2014

I'm looking to find the smallest number in a column that fits a certain criteria, and I'm not sure where to put the if function, or if I can use some other 'qualifiers'.

I was thinking something along the lines of If(E:E<>2, Small(E:E, ROW()-1),____) but I'm not sure what the "false" argument for the if function would be in the blanks. I don't want there to be one.

Where E:E is the range I'm looking in, and 'not equal to 2' is the criteria I'm looking to have filled.

So, "Find the smallest number in E:E that does not equal 2" would be the wording.

View 5 Replies
View Related
Mar 10, 2009

I've a large excel file contain a sheet of values. With a Macro I would like to

1) find the smallest absolute value in a certain column

2) find the row number where this value was found

3) Copy certain values from this row to another place.

View 4 Replies
View Related
Mar 26, 2009

I am trying to write code that will locate either a 0 or the smallest negative number in a range, eg,

example 1,

8, 6, 2, 0, -0.5, -2

the result would be 0

example 2,

8, 6, 2, -0.5, -2

the result would be -0.5

View 6 Replies
View Related
Sep 2, 2008

I need a formula that will give me the smallest number based on multiple criteria.

For example, I want to find all:

1. Product A

2. 1 Liter

3. Smallest Price

In other words, out of all 1 Liter Product A's, I want to see the smallest price point.

I tried a sumproduct but I can't get it to work. Something like =sumproduct((A1:A100="Product A")*(B1:B100="1L")*(small(C1:C100,1)))

How can I get the small formula working within the sumproduct? Or is there another workaround?

View 9 Replies
View Related
Nov 4, 2013

See post below. I want to have the column listed as per to auto sort to the largest to smallest value. This value will change throughout time.

I have data in columns a-n and rows 3-14. I want column "l" or the 12th column to auto sort from largest to smallest value.

View 1 Replies
View Related
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
May 15, 2008

I am trying to manually format a few graphs in my sheet. I, however, leave the major units of the axes to be automatically calculated. The code that I use is given below:

ActiveChart.Axes(xlValue).Select

With ActiveChart.Axes(xlValue)

.MinimumScale = Range("Min").Value

.MaximumScale = Range("Max").Value

End With

Now what this does is that it sets the maximum of the scale exactly equal to maximum of the range being plotted and hence a few parts of my graph overlap with the border of the plot area. Is there any way in which I can round the max and min scale of y-axis to the next highest and lowest major unit respectively or may be add and subtract a value proportional to the major unit of the y-axis. I cannot add a constant in the code given above since I that does not suite my requirements.

View 2 Replies
View Related
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
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
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
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
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
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
Mar 8, 2007

I am trying to find the smallest values in a list. that part is easy (use SMALL). But, I want the ref to the cell where that value is in, not the value itself. Additional problem occurs when more than one of these values are the same. Example: A1 = 1; A2 = 3 ; A3 = 2 ; A4 = 2 ; etc. If I want the smallest, I want "A1" as result, for the 2nd smallest I want "A3", for the 3rd smallest I want "A4". So you see that a MATCH formula will not work beceause some of the values are the same.

View 2 Replies
View Related
Dec 21, 2006

How can i easy return the smallest number higer than 0 from a set of numbers?

View 11 Replies
View Related
Jan 25, 2013

I need a formula that will find the second smallest number in a row. The row can contain as many as 200 numbers with many of them being zeros. That makes using the "small" function impossible.

View 9 Replies
View Related
Jul 17, 2012

I want to count the smallest numbers in a range of 10 cells after omitting the 4 largest. I have been using the formula

=SUM(IF(ISNUMBER(LARGE(E5:N5,{1,2,3,4})),LARGE(E5:N5,{1,2,3,4})),D5),

This works perfectly in that in the desired cell it enters the 4 largest numbers and a specified cell. I then want to be able to total the remainder.

View 9 Replies
View Related
Dec 29, 2009

Currently we are using the formula below to get an average of column E in a spreadsheet. I was wondering how to modify the formula to get the smallest number in that column rather than the average.

=IF(ISERROR(SUMIFS(E:E,A:A,K2,B:B,K3,C:C,K4,D:D,K5)),"Not Available",AVERAGEIFS(E:E,A:A,K2,B:B,K3,C:C,K4,D:D,K5))

View 9 Replies
View Related
Mar 30, 2007

Is there a forumula that will allow me to find the smallest number in A1:A10 that is also larger than the number in B1?

View 14 Replies
View Related
Apr 14, 2009

Is there any formula witch i can use to find the smallest prime factor of a number?

Example: In A1 i write 30 (30=2*3*5 (the prime factors))

in B1 i write a formula, and the result will be 2 (smallest prime factor)

What is the formula?

View 7 Replies
View Related
Mar 21, 2012

very simple and short code.

Code:

Dim selection As Range

Dim minimum As Integer

Sub Sequence()

Set selection = Range(Cells(4, 3), Cells(6, 5))

minimum = Application.WorksheetFunction.Min(selection)

' and now I need an address of that smallest number for this:

' IF (column number + row number) > value of that smallest number

' do

End Sub

It's not exactly the program I need, but it's simple.

View 9 Replies
View Related