+ Reply to Thread
Results 1 to 4 of 4

Help Need formula based on two conditions - a valve and a date

  1. #1
    Registered User
    Join Date
    10-10-2010
    Location
    Hawaii
    MS-Off Ver
    Excel 2003
    Posts
    2

    Help Need formula based on two conditions - a valve and a date

    Hello,

    I need a formula that can return the valve based on two conditions. The first condition is a date array and the second condition is a numerical valve array. For example, on my attached spreadsheet, my formual needs to find the valve that is associated with cell E2 (2) and E3 (7/31/14). It should return 3 (in cell C7).

    Thank you,

    Work Orders.xlsx

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Help Need formula based on two conditions - a valve and a date

    Hi, welcome to the forum :0

    Try this...
    =INDEX($C$6:$N$12,MATCH($E$2,$B$6:$B$12,0),MATCH($E$3,$C$5:$N$5,0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-10-2010
    Location
    Hawaii
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Help Need formula based on two conditions - a valve and a date

    It worked great, thank you

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Help Need formula based on two conditions - a valve and a date

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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: 11-15-2013, 09:24 AM
  2. Conditions based on Today date.
    By Greenspank in forum Excel General
    Replies: 19
    Last Post: 05-16-2013, 11:55 AM
  3. Return Valve based on Range
    By bigroo1958 in forum Excel General
    Replies: 4
    Last Post: 03-25-2011, 12:14 PM
  4. Proof/Safety Valve formula
    By ExcelNewby in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-17-2007, 08:48 PM
  5. [SOLVED] Is it possible to choose a macro based upon a valve of a variable??
    By Rob947 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2005, 01:05 PM

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