Sum values based on condition, multiple conditions

amolvijay

Board Regular
Joined
Nov 13, 2012
Messages
102
Office Version
  1. 365
Platform
  1. Windows
Hi Experts,
I am working on large data, where in the quarter wise summation has to be carried out for various project.
I wish to have a formula in summary table, which upon drag will return values for various projects for various quarters.

A1:E5 is the summary table and A10:N23 is actual data...

Please help

ABCDEFGHIJKLMN
1SummaryFY21-Q1FY21-Q2FY21-Q3FY21-Q4
2Project 1
303​
303​
303​
303​
3Project 2
3003​
3003​
3003​
3003​
4Project 3
3006​
3006​
3006​
3006​
5Project 4
3039​
3039​
3039​
3039​
6
7
8
9
10FY21-Q1FY21-Q1FY21-Q1FY21-Q2FY21-Q2FY21-Q2FY21-Q3FY21-Q3FY21-Q3FY21-Q4FY21-Q4FY21-Q4
11Project 1Rev
101​
101​
101​
101​
101​
101​
101​
101​
101​
101​
101​
101​
12
13
14FY21-Q1FY21-Q1FY21-Q1FY21-Q2FY21-Q2FY21-Q2FY21-Q3FY21-Q3FY21-Q3FY21-Q4FY21-Q4FY21-Q4
15Project 2Rev
1001​
1001​
1001​
1001​
1001​
1001​
1001​
1001​
1001​
1001​
1001​
1001​
16
17
18FY21-Q1FY21-Q1FY21-Q1FY21-Q2FY21-Q2FY21-Q2FY21-Q3FY21-Q3FY21-Q3FY21-Q4FY21-Q4FY21-Q4
19Project 3Rev
1002​
1002​
1002​
1002​
1002​
1002​
1002​
1002​
1002​
1002​
1002​
1002​
20
21
22FY21-Q1FY21-Q1FY21-Q1FY21-Q2FY21-Q2FY21-Q2FY21-Q3FY21-Q3FY21-Q3FY21-Q4FY21-Q4FY21-Q4
23Project 4Rev
1013​
1013​
1013​
1013​
1013​
1013​
1013​
1013​
1013​
1013​
1013​
1013​
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi Experts... I got the solution...(The rows and column reference differ from example)

=SUMIFS(INDEX($D11:$Q44,MATCH($B3,$B11:$B44,0),0),INDEX($D$9:$Q$9,1,0),D$2)
 
Upvote 0
Solution
Looks like you have changed the layout a bit from post #1, but this should also work for you.

Excel Formula:
=SUM(FILTER(FILTER($D$11:$Q$44,$D$9:$Q$9=C$2),$B$11:$B$44=$B3))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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