+ Reply to Thread
Results 1 to 7 of 7

formula for smallest

  1. #1
    Registered User
    Join Date
    06-12-2008
    Location
    Mi.
    MS-Off Ver
    excel 2007
    Posts
    60

    formula for smallest

    Please look at the attachment if
    we can get a formula ...
    running excel 2007 ...
    Thank you
    Bob
    Attached Files Attached Files
    Last edited by NBVC; 11-25-2008 at 03:57 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =MIN(IF($B$3:$B$24=B28,$A$3:$A$24))

    in A28, copied down
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-12-2008
    Location
    Mi.
    MS-Off Ver
    excel 2007
    Posts
    60
    NBVC,

    We tried that formula and it doe not work....
    It gives a VALUE??in the cell A28

    Bob

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Sorry, you need to confirm the formula with CTRL+SHIFT+ENTER instead of just ENTER... it is an array formula.

  5. #5
    Registered User
    Join Date
    06-12-2008
    Location
    Mi.
    MS-Off Ver
    excel 2007
    Posts
    60
    NBVC ,

    It doesn't work with the 00 cell
    It works with the rest of the cells butt 00

    thanks
    Bob

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Very well, change the formula to:

    =MIN(IF($B$3:$B$24<>"",IF($B$3:$B$24=B28,$A$3:$A$24)))

    confirmed with CTRL+SHIFT+ENTER and copied down

  7. #7
    Registered User
    Join Date
    06-12-2008
    Location
    Mi.
    MS-Off Ver
    excel 2007
    Posts
    60
    Thank you NBVC

    Works now

    Thanks again.....

+ 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