+ Reply to Thread
Results 1 to 8 of 8

Formula with multiple if conditions

  1. #1
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    296

    Formula with multiple if conditions

    Hi,

    Need formula with multiple conditions.

    Excel file attached with necessary details.

    Pl. help.

    Thanks,
    Nagesh.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,038

    Re: Formula with multiple if conditions

    in F4
    =IF(AND(OR(B4="G",B4="B"),C4>=100,C4<=109,ISNUMBER(SEARCH(D4,"PCNF"))<>0,LEFT(L4,1)>="1",LEFT(L4,1)<="4"),E4,"")
    and copy down the column

    Not sure what you mean about Stage 2 formula (Column G).
    Last edited by Special-K; 04-19-2018 at 07:04 AM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    20,221

    Re: Formula with multiple if conditions

    In F4

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    296

    Re: Formula with multiple if conditions

    Thank you Special-K & Topley

    Seems everything perfect with both the formulas but while checking the condition Sl. No.4, it should check / match the order numbers in Columns A Vs. K and then reference should be entire L column.

    Pl. do the needful.

    Nothing to do with Stage 2 formula.

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,038

    Re: Formula with multiple if conditions

    I dont understand this, it doesnt say anything about column L in the spreadsheet?

    but while checking the condition Sl. No.4, it should check / match the order numbers in Columns A Vs. K and then reference should be entire L column.
    Last edited by AliGW; 04-20-2018 at 01:22 AM. Reason: Quote tags added.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    20,221

    Re: Formula with multiple if conditions

    Try

    =IF(ISNUMBER(LEFT(VLOOKUP(A4,$K$4:$L$29,2,0))+0),IFERROR(IF(AND(OR(B4="B",B4="G"),AND(C4>=100,C4<=109),ISNUMBER(SEARCH("PCNF",D4)),AND(LEFT(VLOOKUP(A4,$K$4:$L$29,2,0))+0>=1,LEFT(VLOOKUP(A4,$K$4:$L$29,2,0))+0<=4)),E4,""),""),"")

    OR Special-k's:

    =IFERROR(IF(AND(OR(B4="B",B4="G"),AND(C4>=100,C4<=109),ISNUMBER(SEARCH("PCNF",D4)),AND(LEFT(VLOOKUP(A4,$K$4:$L$29,2,0))>="1",LEFT(VLOOKUP(A4,$K$4:$L$29,2,0))<="4")),E4,""),"")
    Last edited by JohnTopley; 04-19-2018 at 10:10 AM.

  7. #7
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    296

    Re: Formula with multiple if conditions

    Thanks a Ton Topley. Both the above formulas are working as required.

    Will keep working and let you know if i have any issue.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11)
    Posts
    52,050

    Re: Formula with multiple if conditions

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. IF formula with multiple conditions
    By chrisellis250 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-19-2017, 09:31 AM
  2. [SOLVED] If formula with multiple conditions
    By raider573 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-25-2017, 11:06 AM
  3. Replies: 2
    Last Post: 01-14-2016, 03:53 PM
  4. [SOLVED] Formula with multiple if conditions
    By PM1985 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-10-2015, 03:03 PM
  5. 3 multiple conditions with multiple criteria formula help
    By rmnk101190 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-29-2013, 04:37 PM
  6. [SOLVED] Syntax for formula that uses multiple conditions inside of multiple IF statements
    By njmiller31 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2013, 11:55 AM
  7. multiple conditions formula
    By Tom Ogilvy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 06:05 AM

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