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
 Smartsheet Customer Resources
 61.2K Get Help
 320 Global Discussions
 197 Industry Talk
 415 Announcements
 4.2K Ideas & Feature Requests
 126 Brandfolder
 153 Just for fun
 124 Community Job Board
 441 Show & Tell
 26 Member Spotlight
 1 SmartStories
 276 Events
 34 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!