+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Using an if statement combined with a networkdays function

  1. #1
    Registered User
    Join Date
    08-19-2009
    Location
    WA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Using an if statement combined with a networkdays function

    Hi -

    I am trying to use an if statement in combination with a networkdays statement. the if statment tells me whether to multiple by 8 (hours) for an external vendor versus 6 (hours) for an internal resource. I think the statement below is close, but not working. Any help is appreciated.


    =IF(E6="External",(networkdays((h6,i6)*8),(networkdays((h6,i6)*6)))

    Brandon
    Last edited by bingo7; 09-24-2009 at 06:41 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Using an if statement combined with a networkdays function

    Maybe =NETWORKDAYS(H6, I6) * IF(E6="External", 8, 6)

    Edit: I doubt it. What's in H6 and I6?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    08-19-2009
    Location
    WA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Using an if statement combined with a networkdays function

    Quote Originally Posted by shg View Post
    Maybe =NETWORKDAYS(H6, I6) * IF(E6="External", 8, 6)

    Edit: I doubt it. What's in H6 and I6?
    sorry, H6, I6 are the date fields

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Using an if statement combined with a networkdays function

    You marked this Solved -- is it?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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