Results 1 to 2 of 2

IF statement with varying Logical_Test value

Threaded View

yaddles IF statement with varying... 01-14-2015, 08:15 AM
newdoverman Re: IF statement with varying... 01-14-2015, 12:55 PM
  1. #1
    Registered User
    Join Date
    01-14-2014
    Location
    perth
    MS-Off Ver
    Excel 2010
    Posts
    10

    IF statement with varying Logical_Test value

    Hello,

    I have the following formula:
    {=SUM(NETWORKDAYS($A$2:$B$10+0,$B$2:$C$10+0)*IF($D$2:$D$10=F2,G2:H2))}

    The NETWORKDAYS formula compares two 2-column sets, and then results the product of this and a single row 2-column table.

    I would like to make the IF statement's logical-test to allow for the set $D$2:$D$10 to be equal to either to F2, F3 or F4 (not just F2), with the value-if-true value equalling G2:G4 (not just G2:H2).

    This resulting formula will need to refer to the possibilities F2, F3, F4 as a set, and not as individual references. I have attached the spreadsheet for your perusal.

    Any help resolving this issue would be much appreciated,

    -Yaddles
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trying to create an IF statement that reads the logical_test from a range
    By kaleahbaker09 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-21-2014, 01:27 AM
  2. [SOLVED] Understanding logical_test entry in IF statement
    By AndyL446 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2013, 10:30 PM
  3. Logical_Test
    By Snowmonster in forum Excel General
    Replies: 2
    Last Post: 01-29-2012, 09:16 AM
  4. If statement using date format as logical_test
    By daveeeo in forum Excel General
    Replies: 5
    Last Post: 05-30-2010, 10:52 PM
  5. [SOLVED] Can't find logical_test for "if"statement
    By John Grossman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-05-2005, 01:06 AM

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