+ Reply to Thread
Results 1 to 4 of 4

V Look up for 2 sets of criteria

  1. #1
    Forum Contributor
    Join Date
    02-26-2010
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    164

    V Look up for 2 sets of criteria

    File attached.

    My ultimate goal here is the ability to have a "timeline" of past dates based off the year & date I'm referencing. I have converted the actual date to just a day/month. I removed the year because that keeps me from doing what I want.

    In the 2017 Final tab you'll see Cell A3 showing 2017 (that is the year). Cell E3 is the date (11/28). And column T has information that I want to populate into the "timeline" tab.

    In the timeline tab I want B3 to populate column T because A3 says 2017 & B1 says 11/28.

    This is just to get me started. What I'd like to do is always have the years going down in column A. But I always change the date in B1. This way I can always reference back to a previous day from different years. I call this a timeline similar to facebook timeline program where each day you see what you posted from prior years.

    Thanks
    Attached Files Attached Files
    Last edited by Statz; 11-28-2018 at 03:34 PM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,127

    Re: V Look up for 2 sets of criteria

    How about
    =INDEX('2017 Final'!T3:T5,MATCH(A3&"|"&B1,'2017 Final'!A3:A5&"|"&'2017 Final'!E3:E5,0))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

  3. #3
    Forum Contributor
    Join Date
    02-26-2010
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    164

    Re: V Look up for 2 sets of criteria

    Thank you!

    Anyway to briefly explain in lamens terms what array does? I've used it before years ago but never understood it.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,127

    Re: V Look up for 2 sets of criteria

    Glad to help & thanks for the feedback.

    The formula is concatenating A3 & B1 on "Timeline" line sheet & then columns A & E on the "Final" sheet.
    For more info on array formulae have a look here https://www.ablebits.com/office-addi...nctions-excel/

+ 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. meeting 2 sets of criteria to enter value
    By mheinmiller in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-03-2015, 12:05 PM
  2. [SOLVED] COUNTIFS with 3 sets of criteria.
    By In a pickle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-12-2015, 04:45 PM
  3. SUM column if two sets of criteria are met
    By swamptr1ck in forum Excel General
    Replies: 5
    Last Post: 07-15-2012, 08:39 PM
  4. [SOLVED] Lookup two sets of criteria
    By stumann in forum Excel General
    Replies: 3
    Last Post: 05-12-2012, 03:07 AM
  5. Need to get a sum from 3 sets of criteria
    By Statz in forum Excel General
    Replies: 4
    Last Post: 10-23-2010, 01:20 AM
  6. Sum If with two sets of criteria
    By bigbavarian in forum Excel General
    Replies: 5
    Last Post: 02-13-2009, 02:01 PM
  7. [SOLVED] SUMIF with two sets of criteria
    By luvthavodka in forum Excel General
    Replies: 5
    Last Post: 05-29-2006, 03:10 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