Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    Northampton, Northamptonshire, England
    Posts
    1,951
    Thanks
    2
    Thanked 1 Time in 1 Post

    Another ISERROR ? (Excel 2002)

    HI
    In my spreadsheet

    M11 contains =IF(ISERROR(DATEDIF(C11,$O$1,"m")),0,DATEDIF(C11,$ O$1,"m"))

    L11 contains =IF(ISERROR(12-M11)*(H11/M11)*E11,,(12-M11)*(H11/M11)*E11)

    M11 evaluates to 0 as a consquence I get #DIV/0! in L11

    Is it possible to prevent the #DIV/0! in M11 so I can sum Column "L"

    Many Thanks

    Braddy
    If you are a fool at forty, you will always be a fool

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Another ISERROR ? (Excel 2002)

    You've omitted brackets around the expression you want to evaluate in ISERROR in L11. As it is, ISERROR only checks 12-M11.

    =IF(ISERROR((12-M11)*(H11/M11)*E11),,(12-M11)*(H11/M11)*E11)

  3. #3
    Silver Lounger
    Join Date
    Dec 2000
    Location
    Northampton, Northamptonshire, England
    Posts
    1,951
    Thanks
    2
    Thanked 1 Time in 1 Post

    Re: Another ISERROR ? (Excel 2002)

    Hi Hans

    Thanks very much that's most helpful.

    Braddy
    If you are a fool at forty, you will always be a fool

Posting Permissions

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