+ Reply to Thread
Results 1 to 5 of 5

Index match dates and mult criteria

  1. #1
    Forum Contributor
    Join Date
    05-05-2014
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2013
    Posts
    103

    Index match dates and mult criteria

    Hello,

    I am trying to find the correct corresponding value on the Baseline forecast sheet for cells C9:C13 on Sheet5. I believe index match is correct, but I am producing and error. The criteria is that cell B9 on Sheet5 should match the value in row 1 on Baseline Forecast. In addition the month and year in cell B6 on sheet five should match Column A on Sheet5. So the correct value for C9 on Sheet5 would be cell B27 ( $5,104,124 ) on the Baseline forecast because it matches the month and year and is the gross revenue. I have the following formulas (both) and they are both producing errors. Your time is always appreciated!!
    =INDEX('Baseline Forecast'!B1:O37,MATCH(Sheet5!B9,'Baseline Forecast'!B1:O1,0),MATCH((MONTH(B7)&YEAR(B7)),(MONTH('Baseline Forecast'!A2:A37)&YEAR('Baseline Forecast'!A2:A37)),0),)
    =INDEX('Baseline Forecast'!B2:O37,MATCH(1,('Baseline Forecast'!B1:O1=Sheet5!B9)*((MONTH('Baseline Forecast'!A2:A37)&YEAR('Baseline Forecast'!A2:A37))=(MONTH(Sheet5!B7)&YEAR(Sheet5!B7))),0),)

    Thanks!
    Attached Files Attached Files

  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,933

    Re: Index match dates and mult criteria

    You had things a bit mixed around there, try this...
    =INDEX('Baseline Forecast'!$B$2:$O$37,MATCH(EDATE($B$6,1)-1,'Baseline Forecast'!$A$2:$A$37,0),MATCH($B9,'Baseline Forecast'!$B$1:$O$1,0))

    Not sure where the other formula is pointing, but see if my suggestion will help with that 1 too?
    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
    Forum Contributor
    Join Date
    05-05-2014
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2013
    Posts
    103

    Re: Index match dates and mult criteria

    Yes! Thank you! I used this formula that worked as well, but I didn't want an additive formula, so I appreciate you help very much!
    =SUMPRODUCT(('Baseline Forecast'!$B$1:$O$1=Sheet5!$B10)*(MONTH('Baseline Forecast'!$A$2:$A$37)=MONTH(Sheet5!$B$6))*(YEAR('Baseline Forecast'!$A$2:$A$37)=YEAR(Sheet5!$B$6)),'Baseline Forecast'!$B$2:$O$37)

  4. #4
    Forum Contributor
    Join Date
    05-05-2014
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2013
    Posts
    103

    Re: Index match dates and mult criteria

    Yes! Thank you! I used this formula that worked as well, but I didn't want an additive formula, so I appreciate you help very much!
    =SUMPRODUCT(('Baseline Forecast'!$B$1:$O$1=Sheet5!$B10)*(MONTH('Baseline Forecast'!$A$2:$A$37)=MONTH(Sheet5!$B$6))*(YEAR('Baseline Forecast'!$A$2:$A$37)=YEAR(Sheet5!$B$6)),'Baseline Forecast'!$B$2:$O$37)

  5. #5
    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,933

    Re: Index match dates and mult criteria

    Happy to help, thanks for the feedback

+ 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. [SOLVED] Inderx match with MIN and mult criteria
    By lejanco in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-24-2015, 06:22 PM
  2. [SOLVED] Index Match with dates and multiple criteria
    By lejanco in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-22-2014, 12:43 PM
  3. Lookup with criteria / Index match (?) / Using dates
    By RenanCip in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-28-2014, 11:23 AM
  4. [SOLVED] Sum Index Match Dates Between Multiple Date Criteria
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-30-2014, 08:54 PM
  5. Index with Mult Match Critiria
    By day92 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-12-2013, 03:23 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