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
 63.6K Get Help
 405 Global Discussions
 215 Industry Talk
 456 Announcements
 4.7K Ideas & Feature Requests
 141 Brandfolder
 136 Just for fun
 57 Community Job Board
 459 Show & Tell
 31 Member Spotlight
 1 SmartStories
 297 Events
 37 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!