+ Reply to Thread
Results 1 to 5 of 5

VLookup to add up hours within departments and for certain project numbers

  1. #1
    Registered User
    Join Date
    09-06-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    69

    VLookup to add up hours within departments and for certain project numbers

    Hi,

    I posted this query a few weeks ago, but it wasn't fully resolved. I have a data source spreadsheet, called 'WorkSchedule' and within that, a spreadsheet where data is entered called 'Data' (image below and attached within post):

    r.JPG

    end.JPG


    I am trying to figure a V Look up to count up the number of hours in columns M, Q, U, Y and AB as long as certain criteria is met:

    (1) Within each separate Department (eg Electrical department total hours counted separate from painting total hours)

    (2) With a specific project number within the destination workbook, found in column B (eg Electrical department total hours for the project with project number '2016110050' , painting department hours for project number '2016110050')

    The destination workbook I am looking to apply the VLookUp from is here (in the yellow boxes):

    Vlookup.JPG


    The project number I would like the VLookup criteria to apply to is in the B Column in the destination workbook in the destination workbook '' ____ ''

    I have been offered several different versions of formula, but am having difficulties getting it to work:

    Please Login or Register  to view this content.
    and

    Please Login or Register  to view this content.
    My sample workbook, destination file is attached. The source file is too big a file type however... but both files are both attached here and within my Onedrive:

    https://1drv.ms/u/s!Ag-WnkpUjiS9hzQhvm9B9lUrP0XD

    Thanks
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by excelconditional; 03-17-2017 at 07:28 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: VLookup to add up hours within departments and for certain project numbers

    Hi,

    First of all you can probably easily delete more than a Millions rows of dead space in your Work Schedule file. All those excess rows with a formula in them is making your file so large and unwieldy.

    To return the data you want you can use a group of SUMIFS formulas.

    Attached is a version of your data.

    Hope this is helpful.

    Cheers
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-06-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    69

    Re: VLookup to add up hours within departments and for certain project numbers

    Southward, thanks! Point taken about deleting empty space.

    I noticed that you put put both worksheets together however. The issue is that both sheets will need to be in separate workbooks and 2 different computers. And so I would like the Project Hours sheet to total the hours in the Work Schedule Workbook (Data spreadsheet).

    This is where links to external workbooks get messy....

  4. #4
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: VLookup to add up hours within departments and for certain project numbers

    I put the two together just for simplicity. The formulas will be similar, just have to figure out how to get the data from a file on another computer.
    Might be easier if you can put them on a network drive.

    Unfortunately, I don't know how to help with that.

    Cheers

  5. #5
    Registered User
    Join Date
    09-06-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    69

    Re: VLookup to add up hours within departments and for certain project numbers

    Thanks Southward, you've been a real help

+ 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. Purchase Order Form needs incrementing numbers for three separate departments
    By Narchynna in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-07-2016, 08:18 PM
  2. Sum Daily Project Hours based on Project Priority to 8 per day
    By junoon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-17-2016, 01:39 PM
  3. Find out how many man hours is spent in each project
    By skhari in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-25-2015, 11:31 AM
  4. Devide total project hours randomly
    By oddy73 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2015, 05:48 PM
  5. Replies: 3
    Last Post: 04-18-2013, 04:17 PM
  6. Need help calculating project hours
    By udm1989 in forum Excel General
    Replies: 4
    Last Post: 10-05-2006, 11:47 AM
  7. Replies: 8
    Last Post: 10-24-2005, 07:05 AM

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