Excel Help - when v...
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

[Closed] Excel Help - when vlookup is not quite enough

20 Posts
12 Users
0 Reactions
63 Views
Posts: 13418
Full Member
Topic starter
 

On one tab we have a list of names with the amount they are allocated to a particular project. One name may appear several times if they are working on many projects. Many people can work on the same project but that doesn't matter for this bit. See below

Alan 100 Admin
Barry 50 Project 1
Barry 25 Project 2
Clare 20 Admin
Clare 20 Project 1
Clare 20 Project 2

On another tab we have a list of the people and I want to know their total allocation. See below

Alan 100
Barry 75
Clare 60
Darren 0

I can use vlookup but that only finds me the first value and sumif doesn't seem suitable either.

Any suggestions?

Paste the formula if you can.

Thanks


 
Posted : 03/11/2016 10:34 am
Posts: 8876
Free Member
 

Pivot table?
Sumif? =(columnA,name,columnB)


 
Posted : 03/11/2016 10:36 am
Posts: 0
Free Member
 

SUMIFS? but as above this is classic pivot table stuff.


 
Posted : 03/11/2016 10:41 am
Posts: 1781
Free Member
 

Sumifs


 
Posted : 03/11/2016 10:41 am
Posts: 453
Free Member
 

emailed you solution, pivot works as does sumif


 
Posted : 03/11/2016 10:52 am
Posts: 17
Free Member
 

Power bi 😉 pivot tables on steroids and pie charts to die for (and free)


 
Posted : 03/11/2016 10:53 am
Posts: 13418
Full Member
Topic starter
 

Thanks all!


 
Posted : 03/11/2016 10:54 am
Posts: 71
Free Member
 

Pie charts should die. Not to die for. Useless way of displaying data.


 
Posted : 03/11/2016 11:15 am
Posts: 17
Free Member
 

Pie charts should die. Not to die for. Useless way of displaying data.

I missed the ironic part but why so bad, they are spot on for lots of stuff (anything that is % for a start)


 
Posted : 03/11/2016 11:36 am
Posts: 2
Free Member
 

Match and Index? And then Pivot the results?


 
Posted : 03/11/2016 11:39 am
Posts: 1781
Free Member
 

Pie charts

they are spot on for lots of stuff

They're really not.

[url=

Few's thoughts[/url]


 
Posted : 03/11/2016 11:40 am
Posts: 0
Free Member
 

sumproduct will do what you want. I use it all the time for the the very same thing


 
Posted : 03/11/2016 12:57 pm
Posts: 71
Free Member
 

See [url= http://www.businessinsider.com/pie-charts-are-the-worst-2013-6?IR=T ]here[/url] too on why pie charts are utterly useless.

They're just about acceptable when there are only 2 pieces of data, but when there's any more you can't judge the relative size of each, so people add data labels, so you just read those. Which is retarded.


 
Posted : 03/11/2016 12:59 pm
Posts: 1781
Free Member
 

sumproduct will do what you want. I use it all the time for the the very same thing

Unnecessary overhead vs sumifs when used over two like vectors.

Although Sumproduct [i]is[/i] a great function 🙂


 
Posted : 03/11/2016 1:20 pm
Posts: 1781
Free Member
 

so people add data labels, so you just read those. Which is retarded.

See also: gauges. Horrendous waste of space/colour


 
Posted : 03/11/2016 1:21 pm
Posts: 71
Free Member
 

*high fives Rob Hilton*


 
Posted : 03/11/2016 1:28 pm
Posts: 699
Full Member
 

Sumproduct might be overkill for your exact need here but it's very versatile and I've found it hugely useful for applications like this. So it's a great one to learn.


 
Posted : 03/11/2016 2:40 pm
Posts: 1781
Free Member
 

njee20 - Member - Quote
*high fives Rob Hilton*

"But that's what they want" said many managers to me.

No it isn't - they don't know what they want until I give them some ideas about what's possible... Apparently I come across as aggrogant - it's not true; I just know my subject well :mrgreen:


 
Posted : 03/11/2016 2:44 pm
Posts: 13418
Full Member
Topic starter
 

Thanks for the input. SUMIF worked as per the lovely detailed email I received* and so I have now sacked Darren for not doing any useful work 🙂

*This is why I love STW over Excel help


 
Posted : 03/11/2016 2:56 pm
Posts: 7869
Full Member
 

Over on singletrackroad.com Darren is now starting a rant about cyclists not stopping at red lights because they're too busy answering excel questions that have got him the sack. 😉


 
Posted : 04/11/2016 7:53 am
Posts: 2412
Free Member
 

Now answered, this thread needs more Pie chart referencing.
[img] [/img]


 
Posted : 04/11/2016 8:34 am