+ Reply to Thread
Results 1 to 8 of 8

VLookup formula from schedule sheet

  1. #1
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Question VLookup formula from schedule sheet

    I am attaching the excel workbook here.

    TeamSchedule.xlsx

    I want to create a formula in the cells in column C to retrieve information from the master schedule sheet depending on the date in the "time in schedule" sheet. There are different minutes for each day of the week and Week #. Any help would be greatly appreciated.

    Thank you for your assistance.

    Newb

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

    Re: VLookup formula from schedule sheet

    I know this can be simplified, but try this...
    =INDEX('Master Schedule'!$C$3:$G$23,MATCH(TEXT(B2,"dddd")&A2,INDEX('Master Schedule'!$A$3:$A$23&'Master Schedule'!$B$3:$B$23,0),0),MATCH(WEEKNUM(B2-1)-WEEKNUM(B2-DAY(B2)-6),'Master Schedule'!$C$2:$G$2,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 Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Re: VLookup formula from schedule sheet

    Hi Ford,

    Thank you for the formula, but 9/21 in cell B2 falls on the third Monday of the month, which should show up as "200" or "E3" from the master schedule sheet. The tricky part is getting the date to match where the weekday will fall in.

    For example, in September - Monday will have 4 weeks, Tuesday 5 weeks, Wednesday 5 weeks, and Thursday - Sun 4 weeks. Not all months will have this arrangement.

    I appreciate your help with this.

    Thanks, -Newb
    Last edited by newbie4; 09-26-2015 at 03:15 PM. Reason: clarification on weeks

  4. #4
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Re: VLookup formula from schedule sheet

    Hello Ford,

    I tweaked the formula a bit to get it working.

    Please Login or Register  to view this content.
    Thank you for your help,

    -Newb

  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
    53,048

    Re: VLookup formula from schedule sheet

    Awesome, happy you got it working

  6. #6
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Re: VLookup formula from schedule sheet

    Do you know how I can add the league name to a new formula in the Time in Schedule sheet, column A, if there is no date, but there are scheduled minutes available from the master schedule?

    For example, if toddler league had minutes scheduled on the master schedule, but there is no date on the "time in schedule sheet" - how can I make the "REMAINING/BALANCE" minutes populate along with the league name. I have set up the total time box where the remaining names should go.


    Thanks for your help.

    newb
    Last edited by newbie4; 09-28-2015 at 09:28 PM. Reason: Edit logic a I will need remaining minutes or balance

  7. #7
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Re: VLookup formula from schedule sheet

    Please see attachment.TeamSchedule.xlsx

    this is the code I created, but it doesn't add up. Am I missing something?

    Please Login or Register  to view this content.
    I believe it is the last part of this formula to find the balance. Where do I fit in the sum of the index and match for C1:C10?

    Please Login or Register  to view this content.
    Last edited by newbie4; 09-28-2015 at 10:26 PM.

  8. #8
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Re: VLookup formula from schedule sheet

    For those of you looking for a way to calculate the sum using 2 way lookup, use this calculation.

    Please Login or Register  to view this content.
    Both header text in the match function must be the same.

+ 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. Vlookup Formula use sheet name from cell A1
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2014, 10:52 AM
  2. [SOLVED] Production Schedule multiple values list (vlookup, match, other?)
    By richslack in forum Excel General
    Replies: 4
    Last Post: 12-18-2012, 03:30 AM
  3. Vlookup in Schedule
    By todmac in forum Excel General
    Replies: 2
    Last Post: 01-19-2011, 02:35 PM
  4. Replies: 1
    Last Post: 08-25-2010, 10:17 AM
  5. VLOOKUP Formula For Price Sheet
    By destinybrandon in forum Excel General
    Replies: 4
    Last Post: 01-29-2010, 12:55 PM
  6. Time Sheet Schedule
    By manickmj1 in forum Excel General
    Replies: 6
    Last Post: 11-23-2009, 11:51 PM
  7. Work Schedule sign-in sheet formula
    By bacarat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-30-2007, 12:30 PM

Tags for this Thread

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