Multiple If Situation
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5

Thread: Multiple If Situation

  1. #1
    New Member
    Join Date
    Apr 2002
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I am needing to use a function similiar to IF (which returns one value if a condition is True, and another value if the same condition is False), but have more than 2 conditions (requiring more than just True or False). Is there a function that will help me?

  2. #2
    MrExcel MVP Al Chara's Avatar
    Join Date
    Feb 2002
    Location
    Newark, Delaware
    Posts
    1,701
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    You can try some nested IF statements or IF with SUMPRODUCT. Maybe you need to use COUNTIF or COUNTA. Really hard to tell without an example or more information.
    Best regards,
    Allan Chara
    http://www.mrspreadsheets.com

  3. #3
    MrExcel MVP Mark O'Brien's Avatar
    Join Date
    Feb 2002
    Location
    Columbus, OH, USA
    Posts
    3,530
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    An example is definitely in order.

    You could need to OR or AND some IF statements.

  4. #4
    MrExcel MVP lenze's Avatar
    Join Date
    Feb 2002
    Location
    Helena, MT
    Posts
    13,690
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    If your test can be represented as a number instead of true or false, you can use the CHOOSE function. This will give you 31 options. If it can't, you might be able to combine VLOOKUP to get the desired result (ie A number from 1 -31)and then use CHOOSE.

  5. #5
    MrExcel MVP Al Chara's Avatar
    Join Date
    Feb 2002
    Location
    Newark, Delaware
    Posts
    1,701
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    On 2002-04-18 09:40, lenze wrote:
    If your test can be represented as a number instead of true or false, you can use the CHOOSE function. This will give you 31 options. If it can't, you might be able to combine VLOOKUP to get the desired result (ie A number from 1 -31)and then use CHOOSE.
    In XL2000 you only have index numbers 1-29.

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
  •  

 

 
DMCA.com