+ Reply to Thread
Results 1 to 6 of 6

Minimum Function Problem

Hybrid View

  1. #1
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Minimum Function Problem

    or non-array alternative

    =SMALL(I21:I23,COUNTIF(I21:I123,"<=0")+1)

  2. #2
    Forum Contributor
    Join Date
    12-30-2008
    Location
    Woking, England
    MS-Off Ver
    Excel 2007
    Posts
    197

    Re: Minimum Function Problem

    Thanks Guys,

    I went for the second option. The only problem is that if there is not a value in I21:I23 then it displays #NUM!. I basically cannot have this as its getting pulled into a program that does our job costing. How can I make this #NUM! value zero?

    Regards,

    Sam

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Minimum Function Problem

    A few options, one would be:

    =IF(COUNTIF(I21:I23,">0"),SMALL(I21:I23,COUNTIF(I21:I23,"<=0")+1),0)

  4. #4
    Forum Contributor
    Join Date
    12-30-2008
    Location
    Woking, England
    MS-Off Ver
    Excel 2007
    Posts
    197

    Re: Minimum Function Problem

    Thanks DonkeyOte

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1