+ Reply to Thread
Results 1 to 3 of 3

Using IF, And, OR, functions Together

  1. #1
    Registered User
    Join Date
    03-22-2017
    Location
    US
    MS-Off Ver
    Office 2010
    Posts
    2

    Lightbulb Using IF, And, OR, functions Together

    I am trying to create an if statement that will determine if the hire date occurred during the period date range and mark the cell with a 1. If the termination occurred during the same period, the NEXT period will be marked with a 0. If there is no termination date then all periods should be marked with a 1. If there is an easier way for me to do this please let me know, any help with this will be greatly appreciated, please see the example below of how the formula should work.
    -ThanksExample.JPG

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Using IF, And, OR, functions Together

    Assuming C4:hirie date; D4: Term date; F1: start; F2: End

    In F4 then drag down and accross:

    =(MIN($D4,F$2)-MAX($C4,F$1)>0)+0
    Quang PT

  3. #3
    Registered User
    Join Date
    03-22-2017
    Location
    US
    MS-Off Ver
    Office 2010
    Posts
    2

    Re: Using IF, And, OR, functions Together

    Thanks so much this seems to work perfectly!

+ 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. Replies: 6
    Last Post: 03-17-2015, 01:35 AM
  2. Replies: 1
    Last Post: 02-25-2013, 04:25 PM
  3. Replies: 1
    Last Post: 02-10-2012, 05:27 PM
  4. AddIn With custom functions - Functions not working in Excel2010
    By brum17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2011, 08:25 AM
  5. Replies: 0
    Last Post: 11-15-2007, 05:24 AM
  6. [SOLVED] efficiency: database functions vs. math functions vs. array formula
    By nickname in forum Excel General
    Replies: 2
    Last Post: 07-13-2006, 11:30 PM
  7. Replies: 0
    Last Post: 06-05-2006, 05:20 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