Results 1 to 9 of 9

Matching dates and returning another column

Threaded View

jmoorc Matching dates and returning... 11-29-2011, 08:58 PM
jeffreybrown Re: Matching dates and... 11-29-2011, 09:03 PM
jmoorc Re: Matching dates and... 11-29-2011, 09:53 PM
jeffreybrown Re: Matching dates and... 11-29-2011, 10:20 PM
jmoorc Re: Matching dates and... 11-29-2011, 11:50 PM
jmoorc Re: Matching dates and... 11-29-2011, 11:51 PM
jeffreybrown Re: Matching dates and... 11-30-2011, 07:41 PM
jmoorc Re: Matching dates and... 11-30-2011, 07:46 PM
jeffreybrown Re: Matching dates and... 11-30-2011, 07:49 PM
  1. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Matching dates and returning another column

    This seems to do it. I introduced the use of Indirect into the formula so you can just enter the formula in E3 (confirmed with Ctrl + Shift + Enter) and then drag over to F3 and then drag down.

    The Indirect part of the formula looks at E2 and F2 for the sheet name which makes the formula dynamic. The one draw back, the Indirect function is volatile so you want to use it sparingly in your spreadsheet.

    If you happen to have 2007+ you can invoke the IFERROR in lieu of ISNA which would reduce the formula to...

    CSE
    =IFERROR(INDEX(INDIRECT("'" & E$2 & "'!$G$4:$G$138"),MATCH(1,IF(INDIRECT("'" & E$2 & "'!$C$4:$C$138")=$B3,IF(INDIRECT("'" & E$2 & "'!$D$4:$D$138")=$C3,1))),0),"")

    Could be a smarter way, but this is the route I would go...
    Attached Files Attached Files

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