+ Reply to Thread
Results 1 to 3 of 3

MAX - Array Formula

  1. #1
    Registered User
    Join Date
    06-28-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Question MAX - Array Formula

    I cannot get the formula from the below thread to work:

    http://www.excelforum.com/excel-gene...variables.html

    Here's what I have used;

    =MAX(IF(('Cab Level'!$C$3:$C$5152=$D3)*('Cab Level'!$H$3:$H$5152=$A3),'Cab Level'!$M$3:$M$5152))

    Confirmed with CTRL+SHIFT+ENTER.

    It returns blank cells, with no errors?

    Any ideas??

    Thanks in advance.
    Last edited by lucraft; 06-29-2011 at 05:04 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: MAX - Array Formula

    Hello,

    the formula is correct. Check the data. Check the cell references.

    Post a sample workbook (just 100 rows, please)

    cheers,

  3. #3
    Registered User
    Join Date
    06-28-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Talking Re: MAX - Array Formula

    Quote Originally Posted by teylyn View Post
    Hello,

    the formula is correct. Check the data. Check the cell references.

    Post a sample workbook (just 100 rows, please)

    cheers,
    Thanks for the speedy reply.

    Whilst creating the sample workbook, I found my mistake;

    {=MAX(IF(('Cab Level'!$D$3:$D$5152=$D3)*('Cab Level'!$H$3:$H$5152=$A3),'Cab Level'!$M$3:$M$5152))}

    The cell values in 'Cab Level'!$D$3:$D$5152 were VLOOKUPS to $D$3:$D$100 - I copied and pasted as values and the formula now works.

    Cheers,
    ML

+ 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