+ Reply to Thread
Results 1 to 1 of 1

Function to search Column for a range of values and return TRUE or FALSE

  1. #1
    Registered User
    Join Date
    02-04-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    25

    Function to search Column for a range of values and return TRUE or FALSE

    Hello All,

    I've attached my Sample Code.

    I need a function that's going to search my Column E, based on the Min and Max numbers entered by the user.

    If the value in Column E falls between the range, I want the function to return TRUE. (=IF (E:E >= Min AND E:E <= Max, 1, 0))

    If the value is True, I want it to look at Column A of that row, and determine if that column displays a DATE or a TIME.

    - If the value displays a TIME, return Column A, C, and E of that Row and the Row before it (the DATE row or Row - 1)
    - If the value displays a DATE, return Column A, C, and E of that Row and the Row after it (the TIME row or Row + 1)

    I'm trying to use the INDEX and MATCH functions to accomplish this:

    Please Login or Register  to view this content.
    Thanks for reading, and for your help if possible.
    Attached Files Attached Files

+ 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