+ Reply to Thread
Results 1 to 2 of 2

Maximum function but excluding error values

  1. #1
    Registered User
    Join Date
    11-23-2007
    Posts
    65

    Maximum function but excluding error values

    Hi guys,

    I think this is probably straight forward but I haven't sorted it yet!

    I want to find the maximum numerical value in a range of cells (E7:E50). However, some of the cells in this range contain the error value #N/A. I can't use the MAX worksheet function because when I do, the result it returns is #N/A. I also can't use the DMAX, or MAXA functions.

    Can anyone assist?

    Thanks in advance,

    Chris

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,440
    You need to use an array formula, commit with CTRL+SHIFT+ENTER

    Assuming values in A1:A16 then use

    =MAX(IF(ISERROR(A1:A16),,A1:A16))
    Cheers
    Andy
    www.andypope.info

+ 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