Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: IF Function and #VALUE Errors

  1. #1
    New Member
    Join Date
    Feb 2002
    Location
    East Sussex
    Posts
    33
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I have the following IF Statement

    =IF(B9="STOP","0"),IF(B9>0,30,((B8/B2)*30))

    which is returning a #VALUE error message. I'm sure it's my over-liberal use of parentheses but I can't seem to wrap my head around this one. Can any of you resident geniuses shed some light on this for me?

    Thanks,
    sc

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Sunny, spring-like Hull
    Posts
    3,339
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Try this: -

    =IF(B9="STOP",0,IF(B9>0,30,((B8/B2)*30)))

  3. #3
    New Member
    Join Date
    Feb 2002
    Location
    East Sussex
    Posts
    33
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks.

    sc

  4. #4
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Newcastle, UK
    Posts
    1,174
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-03-04 13:01, scwyj wrote:
    I have the following IF Statement

    =IF(B9="STOP","0"),IF(B9>0,30,((B8/B2)*30))

    which is returning a #VALUE error message. I'm sure it's my over-liberal use of parentheses but I can't seem to wrap my head around this one. Can any of you resident geniuses shed some light on this for me?

    Thanks,
    sc
    Quite right young man:

    =IF(B9="STOP",0,IF(B9>0,30,(B8/B2)*30))

    should do the trick, and no need for the 0 round the zero.
    "Have a good time......all the time"
    Ian Mac

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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