Excel vlookup and s...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Excel vlookup and summing results

8 Posts
7 Users
0 Reactions
71 Views
Posts: 13369
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: 1318
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: 3652
Full Member
 

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


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

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


 
Posted : 14/09/2020 12:51 pm
Posts: 13369
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: 1922
Free Member
 

SUMPRODUCT if you want something other than a pivot table?


 
Posted : 14/09/2020 3:09 pm

6 DAYS LEFT
We are currently at 95% of our target!