+ Reply to Thread
Results 1 to 2 of 2

Lookup multiple column data

  1. #1
    Registered User
    Join Date
    09-10-2015
    Location
    Caringbah, NSW, Australia
    MS-Off Ver
    Office 365
    Posts
    43

    Lookup multiple column data

    I have a problem that hopefully someone can assist in solving.

    I need to calculate tem number of days between two dates - no problems there but....

    I an effort to "automate" the process I wish to draw in the start and end dates from a table into which these dates have been saved.

    A sample of part of the worksheet is:

    Cell B9 - School Year : 2015 (This is entered by the user)
    Cell B10 - Term : 1 (This is entered by the user

    Cell B11 - Enter Term Start Date : 29-January-2015 This data I need to import from the data table that exists in cells e17:h105 but related to the correct year from the value in B9 in column E AND the correct associated value from
    B10 in column F and the corresponding value for THAT result from column G

    Cell B12 - Enter Term End Date : 12-April-2015 This data I need to import from the data table that exists in cells e17:e105 but related to the correct year from the value in B9 in column E AND the correct associated value from
    B10 in column F and the corresponding value for THAT result from column H

    Cell B13 - Elapsed Week Days (less Holidays) = 54 The formula I have here works correctly of I manually enter the start and end dates - =NETWORKDAYS($B$11,$B$12,$A$17:$A$302)
    but I want to eliminate the manual date entry and have the dates drawn in from the data table automatically based on the year and term dates I manually enter in cells b9 and B10


    Column A Column E:G
    Holidays School Terms
    01-Jan-15 New Years Day Year Term Term Begins Term Ends Weeks Rows 17:300 (including heading row)
    26-Jan-15 Australia Day 2015 1 28-Jan-15 03-Apr-15 9 Rows 17:
    03-Apr-15 Good Friday 2015 2 21-Apr-15 26-Jun-15 9.5
    04-Apr-15 Easter Saturday 2015 3 14-Jul-15 18-Sep-15 9.5
    05-Apr-15 Easter Sunday 2015 4 06-Oct-15 16-Dec-15 10


    Can anyone assist is advising how to perform this function?
    Thanks in advance.

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

    Re: Lookup multiple column data

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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

+ 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. Replies: 7
    Last Post: 07-26-2015, 04:02 PM
  2. Replies: 3
    Last Post: 04-08-2014, 03:11 AM
  3. Replies: 4
    Last Post: 04-20-2012, 06:17 AM
  4. Replies: 0
    Last Post: 08-17-2011, 11:16 AM
  5. Lookup Data in One Column, Find Multiple Entries in Next, Copy to Multiple Columns
    By nzxt1234 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-16-2010, 01:17 AM
  6. Lookup multiple values in same column with same column heading
    By kcasey1318 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-10-2010, 05:13 PM
  7. Lookup adjacent column to multiple lookup columns.
    By JAMES4228 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-13-2009, 03:19 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