+ Reply to Thread
Results 1 to 3 of 3

One from column B

  1. #1
    Registered User
    Join Date
    09-27-2004
    Posts
    17

    One from column B

    Hi,
    I need a formula that will look at the values in the first 3 cells of column A, & if 4 or less, return the maximum value in column B. For example:

    A B
    1 8500
    4 10500
    4 9500

    Here the return should be: 10500

    A B
    1 8500
    7 11000
    3 11000

    Here the return should be: 11000

    And if there are no values of 4 or less in column A, the return should be 0 or a blank cell.

    Thanks in advance; I'm sure this is NBD for most of y'all!
    Fujimi-cho

  2. #2
    Registered User
    Join Date
    04-30-2006
    Posts
    55
    Try an array;

    =max(if(A1:A3<=4,B1:B3,0))

    Difefernce with a normal if-function is pressing Ctrl+Shift+Enter instead of just Enter. If you want to return an empty cell, replace 0 by "". Hope this helps,

    Peter1999

  3. #3
    Registered User
    Join Date
    09-27-2004
    Posts
    17
    Peter1999,
    Thanks, it works perfectly! Rescued 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