Sum based on multiple changing criteria

markch

New Member
Joined
Apr 27, 2017
Messages
10
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi Everybody,

I'm not sure how to phrase this one, so please bare with me whilst I do my best to explain!

I've got a complicated spreadsheet for tracking project expenditure by stage, time, type of spend etc. In this spreadsheet you can choose which months you will be in which particular stages. In the detail, you can list certain spend types against each month.

I want to be able to pull the stage-based spend in to a summary report to show how much is spent in each stage broken down by spend type, such as this:
ConceptInitiationDelivery Close
Team 1
Team 2
Team 3
Team 4

<tbody>
</tbody>

The source table looks something like this:
ConceptInitiationDeliveryClose
Jan-17Feb-17Mar-17Apr-17May-17Jun-17
Type 1100
Type 2200100
Type 350
Type 150
Type 150
Type 35050

<tbody>
</tbody>

The stages across the top (Concept, Initiation, etc.) are set from a 'Setup' worksheet earlier in the workbook where you choose which stage you will be in during each month. There can be multiples of each type, as there could be different spends under each type. In the most complicated sheet we have eight spend types and five stages.

I could use formulas to individually add up all scenarios, i.e. Concept-Type 1, Concept-Type 2, Initiation-Type 1, Initiation-Type 2, etc. and pick the correct value for the relevant summary cell, but this seems a very long-winded way of doing it.

Is there a formula to look and summarise these spend types per stage? It needs to sum cells where a cell to the left equals a certain value as well a cell above. I've tried searching but I'm not sure how to search for the correct thing.

Thanks in advance for any help,

Mark.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
"Team 1" for example only appears in your first table.
It does not appear in your second table nor does the word Team appear anywhere in your description.

So how will Excel know how to identify data belonging to Team 1?
Or any Team for that matter?
 
Last edited:
Upvote 0
Apologies, that was a typo, it will be the same in both tables. I'll edit the post to show this.
 
Upvote 0
Unfortunately I don't seem to be able to edit the post..
 
Upvote 0
Corrected as requested.

I want to be able to pull the stage-based spend in to a summary report to show how much is spent in each stage broken down by spend type, such as this:

ConceptInitiationDeliveryClose
Type 1
Type 2
Type 3
Type 4

<tbody>
</tbody>


The source table looks something like this:
ConceptInitiationDeliveryClose
Jan-17Feb-17Mar-17Apr-17May-17Jun-17
Type 1100
Type 2200100
Type 350
Type 150
Type 150
Type 35050

<tbody>
</tbody>


Thanks,

Mark.
 
Upvote 0
Mm, having trouble with this.
Started doing a SUMPRODUCT but the ranges need to be the same size.

Still looking at this...
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,843
Members
449,193
Latest member
MikeVol

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top