+ Reply to Thread
Results 1 to 3 of 3

Lookup based on month

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Lookup based on month

    I have a list of items with values for different months in tab 2. In tab 1, I have just the values and then a lookup where I can put the month. Can somebody show me how to write a lookup formula for the items? Different methods welcome. Spreadsheet attached.
    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
    53,049

    Re: Lookup based on month

    Im sure this has been said before, but it is always easier if you keep your formats the same. You are looking for a date - keep it in date format, not text format. Apr is text, 4/1/14 is date/numeric.

    Then use this, copied down...
    =INDEX(Sheet1!$B$4:$M$9,MATCH(Sheet2!$A7,Sheet1!$A$4:$A$9,0),MATCH(Sheet2!$D$3,Sheet1!$B$3:$M$3,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
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Lookup based on month

    Try this one

    =SUMPRODUCT((Sheet1!$A$4:$A$9=A7)*(TEXT(Sheet1!$B$3:$M$3,"mmmm")=$D$3)*(Sheet1!$B$4:$M$9))


    A
    B
    6
    Return values
    7
    ACCRUED WAGES
    $ -
    8
    REGULAR WAGES - SALARY
    $ 2,451.18
    9
    EXECUTIVE SALARY ALLOCATION
    $ 35.00
    10
    PTO
    $ -
    11
    HOLIDAY
    $ -
    12
    OTHER TIME BASED COMP
    $ -
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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] Lookup data based on month criteria
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-05-2014, 11:22 AM
  2. Input based on three values and lookup the corresponding month number.
    By sha123 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-03-2014, 12:07 PM
  3. [SOLVED] Lookup a cell based on a month on another sheet
    By safisam in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-18-2013, 05:37 PM
  4. Lookup and Counting Data based on Month
    By wheatgrass in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-09-2012, 11:41 AM
  5. [SOLVED] Lookup name(s) based on birthday month
    By healthier in forum Excel General
    Replies: 0
    Last Post: 09-27-2008, 12:06 AM

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