+ Reply to Thread
Results 1 to 3 of 3

update the IF condition with more conditions

  1. #1
    Forum Contributor
    Join Date
    06-05-2014
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    155

    update the IF condition with more conditions

    Hi Team,

    i am currently using the below formula and is trying to add a condition to this.

    =IF(NETWORKDAYS(MAX(BI2,DATE(2014,6,1)),MIN(BJ2,DATE(2014,6,30)))<0,0,NETWORKDAYS(MAX(BI2,DATE(2014,6,1)),MIN(BJ2,DATE(2014,6,30))))

    The condition i am trying to add is

    if the result of the above formula is less than the value in cell BK2, then look if the number in B2 is availaible in sheet2 (another sheet) coloumn B.

    If the number in B2 is available in sheet2 coloumn B,then the result should be BK2.
    If the number in B2 is not available in sheet2 coloumn B,then the result should be above mentioned formula which is =IF(NETWORKDAYS(MAX(BI2,DATE(2014,6,1)),MIN(BJ2,DATE(2014,6,30)))<0,0,NETWORKDAYS(MAX(BI2,DATE(2014,6,1)),MIN(BJ2,DATE(2014,6,30))))

    Please help

  2. #2
    Forum Contributor
    Join Date
    06-28-2004
    MS-Off Ver
    Home/Office 2016
    Posts
    246

    Re: update the IF condition with more conditions

    You mean like this?

    =IF(Sheet2!A1>0,Sheet2!A1,IF(NETWORKDAYS(MAX(BI2,DATE(2014,6,1)),MIN(BJ2,DATE(2014,6,30)))<0,0,NETWORKDAYS(MAX(BI2,DATE(2014,6,1)),MIN(BJ2,DATE(2014,6,30)))))

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: update the IF condition with more conditions

    You can do it some helper cells...
    that would be easier to understand later on..
    making it a single and big formula... is not advisable....



    Regards....
    Vikas Gautam


    Say thanks, click *

+ 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. Count if one condition and one of two other conditions are met
    By jessjo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-19-2014, 05:38 PM
  2. [SOLVED] Formula Query; If 2 out of 3 conditions plus further condition, Yes or No.
    By Phrick in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-13-2014, 01:18 PM
  3. [SOLVED] Complex if condition with 3 conditions
    By janagan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-10-2014, 01:12 AM
  4. [SOLVED] COUNTIF with 2 Conditions met UNTIL 2 Condition met
    By DnDXan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-29-2012, 02:20 PM
  5. If either condition is true (3 Or conditions)
    By Helpinghand in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-04-2008, 12:19 PM

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