How can I add a condition to the MIN function?

is there a MIN "conditional" function, something like a MIN.IF (just like AVERAGE.IF), to find the minimum value meeting a certain condition? Or, what should I do to obtain the same result? Thank you!

Create a column in which you will insert this kind of formula :
=IF(condition;A;99999)
Then you will be able to apply the function MIN() to the new column.
In this example, the formula inserted in standard cells of column C is :
=IF(B=TRUE,A,99999)
In C46 (footer row) the formula is :
=MIN(C,1)
I use the value 99999 for cells which don't match the condition because I know that it's greater than every value stored in  column A.
An alternate scheme would be :
=IF(B=TRUE,A,1+LARGE($A,1))
The formula using a fixed, predefined value is just faster than the alternate one.
Yvan KOENIG (VALLAURIS, France) mardi 23 août 2011 16:15:55
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

Similar Messages

  • How can i add two values under the same property?

    Hi all,
    How can i add two values under the same property name in a
    prop list? For example:
    [question1: "item1","item2", question2: "item3","item4"]
    To be more precise, i am creating a property list and I want
    whenever a two values have the same property name to be added int
    he list under the same property. For example:
    gMyList.AddProp (#""&question&"" & x,
    member("input").text)
    question is a variable that is updated fromt he user's input.
    Now, whenever somethign like this happens:
    question = "question1"
    member("input").text = "five"
    question = "question1"
    member("input").text = "six"
    I want to output list to be:
    [question1: "five","six"] and so on
    Any ideas?

    Maybe you could make each property a list (so you have a
    property list full
    of lists), and add multiple values to the list held in a
    particular
    property?
    Cheers
    Richard Smith

  • How can I add a contact on the calendar for an event

    How can I add a contact on the calendar for an event

    It is between Repeat and Alert on my iPhone 5 with iOS 6.0.1
    I used the + on the top right to add the event and when you look vertically starting with the name, followed by location and then time the rest of the default things includ Invitees, among other items. 

  • How can i add a MouseMotionlistener  to the cells in the JTable?

    hi !
    how can i add a MouseMotionlistener to the cells in the JTable?

    yes i have.but that is different from adding MouseMotionlistener to the cells for me .
    i just want get the values where the mouse moves to .

  • How can I add a word to the dictionary?

    How can I add a word to the dictionary on my iPhone 6 plus?
    Thanks.

    There's not an option to add a word to the dictionary. However, after typing that word several times, it will start to recognize it and offer it as a suggested word.

  • How can I add an iView to the Detailed Navigation itself

    How can I add an iView to the Detailed Navigation itself and hides the other hyperlinks?

    To add an iview on the Detailed navigation side of a page:
    1.Double click the page which brings up the page editor.
    2.Click the Display dropdown box and choose Dynamic Navigation.
    3.Add an ivew to it.Save and add the page to a role to see the results.
    if this is not u wanted, post back here.
    Regards.

  • How can I add new songs to the top (not the bottom) of my playlist in iTunes?

    How can I add new songs to the top of my playlist in iTunes?
    I thought thats what it did before but now it automatically adds new songs to the bottom of the list.
    Not a huge issue but an annoyance.

    Go to your Music library
    Then, Click Playlist
    Then, Click the sort arrow until it points down.

  • HT3387 When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    http://m10lmac.blogspot.com/2011/06/extra-spell-checking-dictionaries-for.html

  • How can we add additional fields to the BP Search RESULT screen?

    Dear Experts,
    How can we add additional fields to the BP Search RESULT screen so that the BP's being displayed in a search result show maintained values for the particular column/field?
    Thanks!!!

    Hi Laxman,
                           I got same requirement for ibase hierarchy.I want to add new fields in Ibase hierarchy AB.Do you have any idea regarding this.My requirement is that ,i want to dispaly a fields as a check box which display that this component is in under warranty or not by checking the box.Plz tell ,how can i add a new field in tree type context node.I add a new fields using AET ,but that is not available in that AB.
    Thanks
    Vishwas Sahu
    Edited by: vishwas sahu on Nov 17, 2009 1:51 PM
    Edited by: vishwas sahu on Nov 18, 2009 5:22 AM

  • How can i add Custom fields into the

    Dear Experts
    We have Ecc6.0 system,
    How can i add Custom fields into the Infotype Screen(PA30),i heard that we do it by PM01 Tcode.
    But in PM01 i am unable to find the enhance infotype tab.
    How can i do it ....pls help.....
    Regards
    Sajid

    Hi,
    Do it thru the third tab : Single Screen.
    There write down the infotype number (e.g. 0022) and say generate objects.
    Regards,
    Dilek

  • How can I add sales TAX at the end of my calculations?

    How can I add sales TAX at the end of my calculations?

    We currently do not support adding sales tax.
    Randy

  • How can I sum up raws? the sum function seems to work for columns only and right now I have to create a separate formula for each raw

    How can I sum up raws? the Sum function seems to work only on columns. Right now I have to create a separate formula for each raw

    Hi dah,
    "Thanks, but can I do one formula for all present and future raws? as raws are being added, I have to do the sum function again and again"
    You do need a separate formula for each group of values to be summed.
    If the values are in columns, you need a copy of the formula for each column.
    If the values are in rows, you need a copy of the formula for for each row.
    If you set up your formulas as SGIII did in his example (shown below), where every non-header row has the same formula, Numbers will automtically add the formula to new rows as you add them.
    "Same formula" in this context means exactly the same as all the formulas above, with one exception: the row reference in each formula is incremented (by Numbers) to match the row containing the formula.
    Here the formula looks like this in the three rows shown.
    B2: =SUM(2)
    B3: =SUM(3)
    B4: =SUM(4)
    That pattern will continue as rows are added to the table.
    Also, because the row token (2) references all of the non-header cells in row 2, the formula will automatically include new columns as they are added to the table.
    Regards,
    Barry

  • How can i add one wave in in our Function generator example?

    how can i add one anotehr wave in our function generator example. i want to use superposition and add one more wave to our first wave in function generator and see the result.thanks

    Hi hood1,
    2 options:
    1) You can add many waveforms by combining them into one Array.
    2) Use the Waveforms tools, that give you many option for adding waveforms. one after the seconed or adding the Y array of a waveform to other Y array of second wave form, and so on...
    Hope it Helps...

  • How can I show album art in the mini player when playing songs from a plugged in iPhone?

    How can I show album art in the mini player when playing songs from a plugged in iPhone?
    When I play from my phone and switch to the mini player it's always showing the music notes in the thumbnaill. It'd be nice if it could get album art off of the phone.
    I'm on iTunes version 11.0.4.4

    He @mracole,
    it is very nice that you post a solution to complete the library with artwork for album's that do not have an artwork. Your solution perfectly addresses the problem for assigning artwork, BUT this thread is about CHANGING artwork for albums already uploaded into iTunes Match. Just try to replace for example a blue artwork cover for an album with a red one. If you made it in a simple way (without deleting the album from iTunes Match and local changes on the files with an external ID3-Application or 2 or more iTunes libraries on different Mac's) this is the right place to give a solution. I really tried for hours to change the artwork to make them visible in landscape cover flow mode on my iPhone5. In rare cases I made it, but then the covers sometimes where restored to the old onces - exacly how it is mentioned by Starhawk
    As long as there is no simple way to change the cover of an iTunes Match stored album (you can change title, artist and so on without hitting "update iTunes Match" over all distributed Library on different devices - this date will be synchronized almost instantly) I considered the behaviour from iTunes as BUGGY! For me the local artwork cache (and if there is any iCloud artwork cache - I don't know) do not interfere with iCloud. Even when I delete the whole local cache (album artwork music - everything) I do not manage to change the artwork.
    Regards from Munich, Germany

  • How can I add a linkbutton in the matrix (SBO 7.10.75)

    Hi ,everybody ,I want to add a linkbutton in a matrix ,and it's linkobject is If_PurchaseOder , but there are some errores ,and I don't know why .
    in the SBO2004B ,You can use
    set oLink=oColumn.ExtendedObject
    oLink.LinkObject=If_PurchaseOrder
    but in the SBO7.10.75 , oColunm has no such method.
    How can I do it ?
    thanks

    From the documentation of 2004a:
    Use the LinkedButton object to create a link to another object from a column with a link arrow.
    First, assign this object to a LinkedButton object and then use the LinkedButton object to link the column to the object you want.
    Example
    [Visual Basic] The following sample code shows how to add a column with a link arrow and link it using the ExtendedObject property.
    Dim oLink As SAPbouiCOM.LinkedButton
        Set oColumn = oColumns.Add("A", it_LINKED_BUTTON)
        oColumn.DataBind.SetBound("True","","linkDataSource")
        Set oLink = oColumn.ExtendedObject
        oLink.LinkedObject = lf_BusinessPartner

Maybe you are looking for

  • TS3989 Apple TV photo stream login issues

    Can anyone tell me how to access photo stream on my Apple TV I am using the correct username and password details but it still replies with a message that my details are incorrect

  • Office 365 E3 and Office E4 differences

    Hi, What are the differences between Office 365 E3 and Office 365 E4? Any link for this? What about the Business Intelligence services any differences between E3 and E4? Thanks in advance

  • Data structure / procedure for spry / mobile device

    hi all I'm building a cms which would pull information from a database. I am looking at displaying the info using spry for some of the pages. The tutorial for spry uses an XML file. Also I would like to make info available for mobile devises and so o

  • New user id for i cloud has messed up my iphone

    I changed my user id email address for the icloud associated with my phone. I did it on a lap top and now my iphone  has a pop up that will not go away wanting password with my old userid which is no longer associated with that account.I do not know

  • Query where condition with IN clause

    Dear All, I have a huge table . Im trying to filter out records using the following query : SELECT distinct image, panel FROM IMAGESERIAL WHERE IMAGESERIAL.PRODUCTIONORDERID IN (" select col from tab where tab.status='CLOSED' ")" However it takes a v