+ Reply to Thread
Results 1 to 6 of 6

[SOLVED] Lookup Specific Date from a List of Date Ranges & Return Related Data

  1. #1
    Registered User
    Join Date
    01-09-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    3

    [SOLVED] Lookup Specific Date from a List of Date Ranges & Return Related Data

    Hi all,

    I need some help with the problem below. I am using Excel 2007. I have tried searching for a similar problem that someone elase may have already asked, but none seem to help with my particular problem, so here goes:

    Please see the arrached spreadsheet file.


    I need some sort of lookup formula to go in column B of the "Weeks" sheet that will:
    - look at the date in column A of the "Weeks" sheet.
    - find that date in the appropriate range (column E - F) on the "Clinics" sheet.
    - return a value of (Col A x Col B) from the row in question.

    For example:
    In row 2 of the "Weeks" sheet we are looking for the date 28/5/12. Looking on the "Clinics" sheet, that date falls in the date range on row 2. So A2xB2 = 165 and this is the figure I need to be displayed in cell B2 on the "Weeks" sheet.


    I hope I have made myself clear and that I have posted this query in the correct place. As you will see, I am new to the forum. Thanks in advance for any help you could offer,
    mrmessy.
    Attached Files Attached Files
    Last edited by mrmessy; 02-10-2012 at 12:53 PM. Reason: Better Title

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Help Required with a Tricky Lookup Type Formula

    Forum Rules
    Please read and adhere to these simple rules!

    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more hours have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.

  3. #3
    Registered User
    Join Date
    01-09-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Help Required with a Tricky Lookup Type Formula

    Title changed. Hope this is OK.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Lookup Specific Date from a List of Date Ranges & Return Related Data

    Now.. Why 28.5.2012 is returned between: 27.5.2011 and 19.10.2011?

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Lookup Specific Date from a List of Date Ranges & Return Related Data

    See here does any of those solutions give you what you need:

    B and C. Last product between dates
    D: Sum of all values between period
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-09-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Lookup Specific Date from a List of Date Ranges & Return Related Data

    I think that you may have the answer! I will look at it more closely later. Sorry for my mix up with the year in my example.

    Thanks,
    mrmessy

+ Reply to Thread

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