Sum up rows within the VLOOKUP formula
Hi everyone!
I have several projects in my time tracking sheet and would like to use the VLOOKUP formula to save only the times per project in a monthly cost table. For that I used the following formula:
=VLOOKUP([Project Number]12, {Sheet  Time Tracker (10October) Range 1}, 8, false).
Unfortunately, I only got one labor cost entry (for project number 9150), although there are two more (see screenshot attached).
Does anyone know how to get the sum of the costs (sortetd by project number) through this formula? The entries are made via Web Form and so all working hours of all projects are in one table. Do I have to create an individual time tracking sheet and web form for each project? Would be awkward, doesn´t it?
Would be great if someone has an idea how I could solve this a little more elegant.
Thanks!
Anneke
Comments

I think you may want to look into SUMIFS. It will allow you to sum a specific range based on criteria that you establish and cross sheet references can be used.
It will probably end up looking something like this...
=SUMIFS({Column on other sheet to sum}, {Project column from other sheet}, [Project Number]12)

Okay, I´ll try it.
Thanks.
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 10.8K Get Help
 65 Global Discussions
 69 Industry Talk
 385 Announcements
 3.6K Ideas & Feature Requests
 56 Brandfolder
 125 Just for fun
 50 Community Job Board
 464 Show & Tell
 40 Member Spotlight
 44 Power Your Process
 28 Sponsor X
 234 Events
 7.3K Forum Archives
Check out the Formula Handbook template!