Excel help - find m...
 

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

[Closed] Excel help - find my best customer!

10 Posts
8 Users
0 Reactions
217 Views
Posts: 3271
Full Member
Topic starter
 

I've got a list of projects, with customer name and value.
I want to produce a list which has the total value per customer which I can then sort to find who spends most (who doesn't?).

Is there a straightforward way to do this via formula, something along the lines of a sumif, but without having to create a list which only contains each customer name once?

If not, how can I consolidate the original list of customer names (with many duplicates) to contain each customer name once?

Ta!


 
Posted : 12/09/2013 2:14 pm
Posts: 2
Free Member
 

Sounds like a pivot table to me...


 
Posted : 12/09/2013 2:16 pm
Posts: 166
Free Member
 

you tried making a pivot table from your data sheet?


 
Posted : 12/09/2013 2:16 pm
Posts: 3271
Full Member
Topic starter
 

Never done that before - I'll have a play!


 
Posted : 12/09/2013 2:21 pm
 baby
Posts: 0
Free Member
 

Making a list of unique names is really is with the Remove Duplicates function.


 
Posted : 12/09/2013 2:21 pm
Posts: 0
Free Member
 

SUMIF will work,

=SUMIF(B2:B12,"Customer Name",C2:C12)

Where B2:B12 contains your customer names, the quotes contains the name you're looking for, and C2:C12 contains the value of the projects. It doesn't matter how many times each customer appears in the list.


 
Posted : 12/09/2013 2:23 pm
Posts: 0
Full Member
 

Pivot table will do it, just make sure that you have consistent spellings or a unique code for each customer.


 
Posted : 12/09/2013 2:23 pm
Posts: 71
Free Member
 

Pivot table far easier assuming you've always spelt them the same way.


 
Posted : 12/09/2013 2:53 pm
Posts: 3271
Full Member
Topic starter
 

Took a bit of fiddling but worked a treat with a pivot table! Impressed the rest of the office too 😀

Could have done it with sumif, but would have to create a seperate client list first removing all the duplicates as we have a lot of repeat clients, so pivot saved a lot of effort!

Cheers all


 
Posted : 12/09/2013 2:53 pm
Posts: 166
Free Member
 

god wait till you see flash fill..... 🙂


 
Posted : 12/09/2013 3:21 pm
Posts: 0
Free Member
 

so pivot saved a lot of effort!

Getting a unique list is easier than you might think. Sort A>Z. In the adjacent col e.g. B2 enter =if(A2=A1,"0","1"). Double click to extend the formula. Copy and paste B col as values, all the 1s will be unique so just sort by that col.


 
Posted : 12/09/2013 4:44 pm

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