Forum menu
Excel vlookup and s...
 

[Closed] Excel vlookup and summing results

Posts: 13572
Full Member
Topic starter
 

I have a spreadsheet with a list of about projects in column A, Resource name in column B, Days Allocated for Oct, Nov and Dec in columns C, D & E. Where there are multiple resources for a single project the project name is repeated for each one. Each resource can work on multiple projects.

I need to add a project Summary sheet that shows one row per project with the sum of the days allocated for each month.

I also need a resource summary spreadsheet that shows one row per resource with the sum of the days allocated for each month.

So far I have tried vlookup but only get the first occurrence brought back as a match rather than the sum of all occurances


 
Posted : 14/09/2020 1:29 pm
 Nick
Posts: 3693
Full Member
 

Pivot Table would be the easiest way, you could use DSUM as well


 
Posted : 14/09/2020 1:31 pm
Posts: 1332
Full Member
 

SUMIF sounds like the function you want? You can filter/select on one column and add the number in another column.

SUMIFS can use multiple conditions if you need that (I think)


 
Posted : 14/09/2020 1:32 pm
Posts: 0
Free Member
 

Sounds like a pivot table job if I understand it correctly

If not I'd add another Column and sum it in there - it's a pretty simple sumif statemen


 
Posted : 14/09/2020 1:32 pm
Posts: 3675
Full Member
 

Sumifs is exactly what you want. Or a pivot table.


 
Posted : 14/09/2020 1:38 pm
 IHN
Posts: 20102
Full Member
 

Sounds like SUMIFS to me, cos pivot tables are evil.


 
Posted : 14/09/2020 1:51 pm
Posts: 13572
Full Member
Topic starter
 

Pivot Table works. Thanks


 
Posted : 14/09/2020 1:55 pm
Posts: 0
Free Member
 

cos pivot tables are evil

Like most things in excel, they're great for what they're supposed to do, they're shocking for what they're used for 90% of the time.


 
Posted : 14/09/2020 2:22 pm
 db
Posts: 1927
Free Member
 

SUMPRODUCT if you want something other than a pivot table?


 
Posted : 14/09/2020 4:09 pm