excel sum two conditions column

manojxls

New Member
Joined
Dec 21, 2017
Messages
24
Office Version
  1. 365
  2. 2007
  3. 2003 or older
Platform
  1. Windows
ABCD
1bill norateamountrequired sum
210012300
310012245
41005334
510312456
61035166
71055321
81055766
910512776
1010512978

<colgroup><col span="4"><col></colgroup><tbody>
</tbody>

<colgroup><col span="3"><col></colgroup><tbody></tbody>

I want the required sum =SUMIF(A2:A10,A2 andb2,C2:C10) condition which check the bill and rate wise sum like result on d2 will 545 , d3 will 545, d4 will be 334.

i have a large data but want formula to solve.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Have a nice day ;)

=SUMIFS($C$2:$C$10,$A$2:$A$10,$A2,$B$2:$B$10,$B2)
 
Last edited by a moderator:
Upvote 0
A
B
C
D
E
F
G
1
bill norateamount
2
100​
12​
300​
12​
5​
3
100​
12​
245​
100​
545​
334​
4
100​
5​
334​
103​
456​
166​
5
103​
12​
456​
105​
1754​
1087​
6
103​
5​
166​
7
105​
5​
321​
8
105​
5​
766​
9
105​
12​
776​
10
105​
12​
978​

<tbody>
</tbody>

f3=SUMIFS($C$2:$C$10,$A$2:$A$10,$E3,$B$2:$B$10,F$2) copy across and down

PIVOT TABLE IS BEST SOLUTION


 
Upvote 0

Forum statistics

Threads
1,213,486
Messages
6,113,932
Members
448,533
Latest member
thietbibeboiwasaco

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