Q: Sum total income for each unique client and chart it!?
Greetings from sunlit Athens! I have been scouring for the past 5 hours for an elegant solution to the following:
I would like to sum the total amount of income for each unique client and chart it to visualise which customers bring in the most cash.
For example from this to this:
| Clients | Invoiced € |
|---|---|
| A | 100 |
| B | 200 |
| C | 250 |
| A | 130 |
| A | 120 |
| B | 100 |
Clients | € Total |
|---|---|
| A | 350 |
| B | 300 |
| C | 250 |
How can this be implemented in Numbers? As elegantly as possible?
MacBook Pro (Retina, 15-inch, Mid 2015), OS X El Capitan (10.11.6)
Posted on Sep 3, 2016 4:38 PM
Hi menick,
Here is an approach that uses an index column in your invoiced table. This can be hidden.
C2= IF(COUNTIF(A$2:A2,A2)=1,C1+1,C1)
Filled down.
You can use INDEX/MATCH to bring your unique clients over to a second table.
A2= INDEX(Table 1::A,MATCH(ROW(cell)−1,Table 1::C,-1))
Filled down.
You can hide the error cells (included for when your client list expands) with a filter or by wrapping the formula with IFERROR() once you get it working.
quinn
Posted on Sep 6, 2016 7:17 AM



