+ Reply to Thread
Results 1 to 2 of 2

Complex If Condition

  1. #1
    Registered User
    Join Date
    09-08-2008
    Location
    India
    Posts
    7

    Exclamation Complex If Condition

    Dear friends, kindly give me the solution to fulfill following condition.

    Worksheet Example : This is for one employee record

    A B C D
    1 Subject Need Status Trg Impart
    2 ISO ISO/QMS (Here i 9103 (our rec.no.)
    want cond.)
    3 IT Tools Advance P903
    4 Process Trg. 0 0
    5 Behav. Soft Skill 0

    Now i want the condition like : 1) if column D is having rec.no than display "Completed", (2) Column D is starting with "P" or is having "S" then display "Planned", (3) Column D is having 0 or Column B & D having 0 than display "NA".
    In above Column B & Column D is calling by Index function from another sheet.
    plz solved this.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Complex If Condition

    Please Login or Register  to view this content.
    Crossposting between forums requires that you provide a link to the other site.
    http://www.mrexcel.com/forum/showthread.php?t=373615

    I suggested this formula on that site. Did you even try it?
    =IF(AND(ISNUMBER(D2),D2>0),"Completed",IF(OR(ISNUMBER(FIND("P",D2)),ISNUMBER(FIND("S",D2))),"Planned",IF(OR(D2=0,B2=0),"NA")))
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1