Excel vlookup and s...
 

Subscribe now and choose from over 30 free gifts worth up to £49 - Plus get £25 to spend in our shop

[Closed] Excel vlookup and summing results

8 Posts
7 Users
0 Reactions
75 Views
Posts: 13418
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 12:29 pm
 Nick
Posts: 607
Full Member
 

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


 
Posted : 14/09/2020 12:31 pm
Posts: 1324
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 12: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 12:32 pm
Posts: 3659
Full Member
 

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


 
Posted : 14/09/2020 12:38 pm
 IHN
Posts: 19861
Full Member
 

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


 
Posted : 14/09/2020 12:51 pm
Posts: 13418
Full Member
Topic starter
 

Pivot Table works. Thanks


 
Posted : 14/09/2020 12: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 1:22 pm
 db
Posts: 1926
Free Member
 

SUMPRODUCT if you want something other than a pivot table?


 
Posted : 14/09/2020 3:09 pm