# If Minimum Below Zero Then Return Minimum

May 19, 2007
I have had a lot of luck finding what I need from the search areas, and I even found some information on the formula I am trying to build. The problem is I don't understand it and I need some help. First let me set it up for you. (I do not know the formula)

If cell L125 is has a value >0.00, I need to locate the smallest value the range of cells C125:F125, I then need to subtract L125 from that number, otherwise enter nothing.

This really has me baffled. I tried and I tried but it will not find the smallest value then subtract L125.

View 9 Replies
ADVERTISEMENT
Jan 4, 2010

Attached is a print screen. I'm struggling with using the min function in vba. I want it to find the minimum cumulative cost in week 0 out of the first three, and the copy the permutations of it (1,0 or 1, 1 , e.t.c.) to Week one column C & D of the model.

View 3 Replies
View Related
Dec 24, 2009

I want in A1 to find minimum SUM if no minimum number in row.

Here is example attached: ...

View 9 Replies
View Related
Sep 3, 2007

has any of you happened to make a function that finds the minimum NONZERO value in a data range?

(i.e. all data are numbers, all of them are positive, but some of them are zero. The function should take the excel range as input, and return the minimum value above zero).

View 5 Replies
View Related
Dec 4, 2008

I have columns of data as per below and if the data in Column A meets a certain condition I want it to return the minimum in Column B.

Column A Column B

BU1 5.45%

BU1 7.00%

BU2 10.00%

BU1 4.67%

BU2 3.50%

So, if Column A contains BU1 I want to know the minimum of the BU1 %'s.

View 8 Replies
View Related
Feb 18, 2011

Here is my starting Vlookup Formula I. I need to alter it as I will state after the formula...

Code:

=Vlookup(A2,REPORT!$A$2:$D$10000,4,0)

Instead of returning the data from column D upon the first match I need the smallest available number to be returned. There will be more than one match and they will all have different numbers to return so I need the smallest return from D.

So in "REPORT" there is many duplicates in Columns A but they all have different values in Column D and I need to return the smallest number from Column of all of those duplicates in Column A.

View 6 Replies
View Related
Dec 30, 2011

I am trying to return the Min of a range of dates. The issue I have is a single date is repeated many times. Here is some sample data:

Sheet 1

Column A / Column B

1/11/11 / 15

1/11/11 / 20

1/11/11 / 5

1/15/11 / 30

1/15/11 / 35

Say on Sheet 2 I have a list of dates and Cell A1 has 1/11/11. In Sheet2!B1 I want a formula that uses the value in cell Sheet2!A1 and looks at the array on Sheet 1 that would return a result of 5 for the date showing (in this case 1/11/11).

View 2 Replies
View Related
Nov 26, 2008

Please see attached file which is data for horse races (this is a small example of the data i will be working with). I need to find the largest values from the MIN and MAX column (shaded Grey) range for each race. I want to be able to add a function that will allow me to quickly identify which horse has the largest number in both the MIN & MAX columns example on spreadsheet is highlighted RED. It would be handy if it would inform me if the criteria has been met by highlighting it or by placing some text value in an adjacent cell on my spreadsheet i have used the example "Y".

It would also be beneficial if that race be deleted in its entirity if there are no horses which meet the criteria above or similary if all other selections within that race be deleted if ther is a horse which meets the criteria. If there is a selection within that race i will need to keep the row that includes the heading which is coloured blue on the attachment.

I will be working with 20,000 or more selections at a time so it is important that they can be identified quickly for ease of use.

I have tried the functions i know such as MAX and LARGE but this requires me to do alot of work when you consider the ammount of data i'm required to work with.

View 9 Replies
View Related
Nov 2, 2006

I have searched your forums and thought I had found a sufficient answer but could not get the vba to work. So any help is greatly appreciated. I am trying to determine a max value from a list then put that value in a cell. Next I want to determine how many times and on what day that max value occured. From there take the value and concatenate them adding a "," between them I have attached an example. I would like the values placed in cells F1 and H1 (the other is a min value and when it occurred)

View 4 Replies
View Related
Sep 16, 2009

I have, on one sheet, a list of incumbent employees that includes the following columns: Job Title [text] and Salary [number].

I am trying to automatically populate a second sheet with columns designating: A list of each unique job title (no duplicates), the maximum salary corresponding to each unique job title, and the minimum salary corresponding to each unique job title.

Lastly, I'm an attorney dealing with confidential client data, so I'll have to go through a lot of trouble to post an example... but I'll do it if necessary.

View 4 Replies
View Related
Feb 9, 2010

I need a formula that will return the minimum value from a column range that flexs without having to manually go in an change row references. There is a blank row between each section of data in order to separate info. As an example:....

Need to formula to flex to include rows 5 thru 7 in the first section but expand to include rows 9 thru 13 in the second section. =MIN(A5.A7) works but how do I get next section to flex to =MIN(A9.A13) without manually changing the cell references? There is always a blank row in between the sections to separate.

View 5 Replies
View Related
Mar 1, 2012

Items in Column A1 are calculated by (B2/4+5)*1.4 Items located under the columns 2000, 3000, 4000, etc... 10,000 are calculated by taking the top number, eg 2000/(A1 cell value)+the column B number. 2000/7+0 = 286 (rounded numbers)

I need to find an way to look up for x number (2000,3000,4000, etc...) find the smallest number in that column and then return the value in column A1.

Cell

A1 Number >2000300040005000600070008000900010000

70 2864295717148571000114312861429

84 24236148059971883795610751194

[Code].....

View 2 Replies
View Related
Jun 16, 2008

i'm trying to reference a cell value in the column to the left of a "min" value:

-A-------- B

1200------20

2400------15

2300------18

900-------22

i'm using the "min" function to select min value from column B (15) but only as a means to use the A column value (2400) in another formulahelpful

View 2 Replies
View Related
Jan 13, 2014

How can I find the lowest value in a range (say B5:H20),

and then sum its column ???

i.e. The minimum value in this range is in the cell F16... So, I need to sum range F5:F20 (only the column with the minimum value)

View 7 Replies
View Related
Oct 7, 2008

If Average GMV (Cell A1) is less than 75% of Average BP (Cell B1), use Average GMV, however the Average GMV or Average BP can't be less than $600 million. Multiply the result by .01*1/3. Below are two equations I've created, however each of them only solves one part of the problem.

=IF(A1<0.75*B1,A1*0.01*1/3,B1*0.01*1/3)

=IF(B1<600000000,(600000000)*0.01*1/3,B1*0.01*1/3)

Essentially Average BP would be used, unless Average BP was something like $900,000,000 and Average GMV was around $650,000,000. At this point Average GMV is 72% of Average BP and above the $600,000,000 minimum.

View 2 Replies
View Related
Jan 25, 2005

I have a table populated with equations. I need to write a function to find

the smallest value in that table. However, I want to ignore the zero values.

From a dataset containing 8, 5, 0, 7 I want to find 5, not zero.

View 10 Replies
View Related
Jul 31, 2009

I am looking to create a formula to determine the minimum value within the top 80% of a range, but relative to certain values in other columns.

e.g.

Column A Country

Column B New Customer

Column C Revenue

I need to determine what the minimum value is for the top 80% of revenue in column C, but only including Country=UK in column A and New Customer=Yes in column B. This will tell me that the top 80% generate at least £x in revenue

View 19 Replies
View Related
Jun 22, 2006

how can i do the following equation?

40$ if the sum is less than 1000$

75$ if the sum is less than 1001$ tO 3000$

100$ if the sum is greater than 3001$

C16 X C19 if sum is greater than 12000$

all should go in one cell

View 3 Replies
View Related
Jan 4, 2007

I am calculating several cells which in certian circumstances I want the amount to be limited to a max amount. I have a cell that will be used to indicate whether or not to limited the amount, but I am not able to come up with a viable formula. Here is my SUM Formula info:

My current calculation

=SUM(S16:S18,S21,E22:R22)

The cell that will drive the restricted amount

I7(H or S). If S is used in this cell the amount should be limited to 80. If H is used then the calculation should be exact.

View 5 Replies
View Related
Apr 24, 2007

I have a spread sheet that needs to compare numbers in a row & hightlight the lowest number in each row.

View 9 Replies
View Related
Jun 13, 2007

data in 3 colums (A2:c100)

Would like to sum the maximun values in each row together.

is Max(A2:C2) + Max(A3:C3) + Max(A4:C4) ........

I assume whatever works with max I can change to min.

View 9 Replies
View Related
Jul 10, 2007

I searched and found a couple things dealing with zeroes or other errors, but not the #N/A errors.

I have a range of numbers in A1:a100. To make this range linegraph-friendly, I have all blank or zero entries defaulted to appear as #N/A. Now the problem is that I would like to find the minimum number in the range, but the #N/A entries are messing things up.

View 3 Replies
View Related
Jan 13, 2008

in a column let'e say A

I have the following values

Total

11

20

7

-10

30

-5

-25

16

3

21

-8

I whant to have a variable = the row number with the minimum positive value which is in this case row number 9 and the column value 3

View 9 Replies
View Related
Mar 20, 2014

If the result in cell i1 less than 1 to change it to 1

View 2 Replies
View Related
Dec 15, 2006

I want to find the minimum time value within a range of cells, excluding 0:00. Currently,

VB:

=MIN(BL5:CP5)

returns 0:00 if it exists in any of the cells.

View 3 Replies
View Related
Apr 14, 2014

I have numeric value in columns B, D, F, H.

I want to compare the values of these four cells in each row and update columns M (with the minimum value) and N (with the column of minimum value).

How can I manage this comparison?

View 2 Replies
View Related
Aug 5, 2014

I have created a worksheet with headers on each column each has different and used the =MIN function to find the lowest value. All good so far.... Now instead of returning the value I would like it to return the header text.

For Example.

Four columns Tom Paul Harry Bob

Tom has a value of 10 in the cell below.

Paul has a value of 5 in the cell below. and so on with Harry and Bob

Using the =MIN(A3:D3) I get the lowest value (in this case)5. I want to the returned value as Paul instead of 5.

View 6 Replies
View Related
Aug 5, 2014

I have 3 columns 1st one has numbers that reference a wellbore.

2nd have a depth

3rd has a number value (a mud weight) volume

Well API example Depth Weight

42050102600000 10000 10.2

42050102600000 9500 9.2

42050102600000 6500 8.5

42050105000000 12000 11.0

42050105000000 7500 6.0

42050105000000 10200 9.5

42050110100000 8000 8.0

42050110100000 9500 9.2

I want the formula to give me based on the well API number the max depth and the weight associated to that max depth. And the minimum depth and the weight associated to that minimum depth. I'm not sure how to say it in a formula. I don't want to use VBA.

View 8 Replies
View Related
Oct 7, 2008

Average in Cell J8 : J73

Handicap in Cell I8 : I73

What I’m trying to achieve is the Lowest Average Plus handicap – 1 = total

Example

Cell

J8 = 105

J9 = 169

J10 = 126

J11 = 155

Cell

I8 = 45

I9 = 35

I10 = 54

I11 = 21

Result 105 + 45 =150 – 1 = 149

View 2 Replies
View Related
Oct 15, 2008

Is there anyway I can do the below formula without it being an array formula?

View 2 Replies
View Related