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

Thread: General logic question...

  1. #1
    Board Regular
    Join Date
    Feb 2002
    Location
    Stockton, California
    Posts
    281
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    just a general question:

    I variables A, B, and C. I want to test if they are >0. I would like to return ALL that are greater than 0. There is a total of 8 situations that could be returned:

    None, A, AB, AC, B, BC, C,or All (CB would count as BC)

    My question is: Is it more correct or easy (it doesnt seem so) to make a nested IF statement, or use a Case statement? or is it a matter of taste? Ive tried writing a nested IF, but its gotten very messy . Just wondering thanks

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    Northern Ireland
    Posts
    113
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi there

    Most people I know would use case statements.

    Better readability I guess.

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
  •