Results 1 to 3 of 3

Thread: How to use multiple if conditions in one cell and set priorities to them

  1. #1

    How to use multiple if conditions in one cell and set priorities to them



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hi Gurus,

    I want to have multiple IF statements in a Particular cell, and I want to set priority to the IF statements, so that if one meets other statements should stop working. can u please let me know.


    this is the first time am posting in this forum,don't where to upload screen shot for reference.
    Please let me know if you need more clarification on my question

    Thanks,
    Pavan

  2. #2
    You can have nested IF statements, but not multiples.

  3. #3
    Super Moderator p45cal's Avatar
    Join Date
    Dec 2012
    Posts
    1,512
    Articles
    0
    Excel Version
    365
    Let's say A, B, C, D and E are conditions that you want to give priority to in that order; so if both A and D are true, you want priority given to A.
    In the formula itself, A might really be something like W22>P13, which returns TRUE or FALSE.

    So a formula might look like (air-code/formula):
    =IF(A,"1st Priority",IF(B,"2nd Priority",IF(C,"3rd Priority",IF(D,"4th Priority",IF(E,"5th Priority","All false")))))

Tags for this Thread

Posting Permissions

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