Consulting

Results 1 to 5 of 5

Thread: Solved: maximum function with #na value

  1. #1
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location

    Solved: maximum function with #na value

    Hi !

    I need to use the 'maximum' function while inclusing a cell that has a #na entry. This doesn't seem to work. Any suggestions ? I need the # na value in the cell as I need to graph that set of values.

  2. #2
    VBAX Tutor
    Joined
    Nov 2006
    Location
    North East Pennsylvania, USA
    Posts
    203
    Location
    nitzbar,

    You could modify the formula to display a certain value if the formula is in error.

    Please post the formula that is displaying the "#N/A" error value.


    Have a great day,
    Stan

  3. #3
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location
    for e.g

    G13-MAX(C13,E13)

    if either c13 or e 13 is#n/a , the result is #n/a , when i would like it to calculate and return a value since the other cell contains a valid number.

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    =G13-MAX(IF(ISNUMBER(C13),C13,0),IF(ISNUMBER(E13),E13,0))
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location

    Thumbs up

    thanks a lot... this works....

Posting Permissions

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