Sumifs or Sumproduct

uswyne

Board Regular
Joined
Jul 27, 2017
Messages
78
Office Version
  1. 2019
  2. 2016
  3. 2013
  4. 2010
Platform
  1. Windows
Entry

[TABLE="width: 500"]
<tbody>[TR]
[TD]Admission Fee[/TD]
[TD]Security Deposit[/TD]
[TD]Tution Fee[/TD]
[TD]Computer Fee[/TD]
[TD]Total Amount[/TD]
[TD]Paid Date[/TD]
[/TR]
[TR]
[TD]25000[/TD]
[TD]25000[/TD]
[TD]20000[/TD]
[TD]2000[/TD]
[TD]72000[/TD]
[TD]2/25/18[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]25000[/TD]
[TD]11000[/TD]
[TD]1000[/TD]
[TD]37000[/TD]
[TD]3/1/18[/TD]
[/TR]
[TR]
[TD]25000[/TD]
[TD]25000[/TD]
[TD]22000[/TD]
[TD]2000[/TD]
[TD]74000[/TD]
[TD]2/15/18[/TD]
[/TR]
</tbody>[/TABLE]

Report

[TABLE="width: 500"]
<tbody>[TR]
[TD]Head[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[/TR]
[TR]
[TD]Admission Fee[/TD]
[TD]50000[/TD]
[TD]formula required[/TD]
[/TR]
[TR]
[TD]Security Deposit[/TD]
[TD]50000[/TD]
[TD]formula required[/TD]
[/TR]
[TR]
[TD]Tution Fee[/TD]
[TD]42000[/TD]
[TD]formula required[/TD]
[/TR]
[TR]
[TD]Computer Fee[/TD]
[TD]4000[/TD]
[TD]formula required[/TD]
[/TR]
</tbody>[/TABLE]

Kindly help me on this.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
You may have to adjust dome of the ranges depending on where your data is, but this formula seems to do what you are looking for.

Code:
=SUMPRODUCT(($A$2:$E$4)*(TEXT($F$2:$F$4,"mmm")=B$7)*($A$1:$E$1=$A8))
 
Upvote 0
Thanks for your reply.

what if i need report yearwise. Like Feb-18

You may have to adjust dome of the ranges depending on where your data is, but this formula seems to do what you are looking for.

Code:
=SUMPRODUCT(($A$2:$E$4)*(TEXT($F$2:$F$4,"mmm")=B$7)*($A$1:$E$1=$A8))
 
Upvote 0
moreover this formula works on sample file but not in original file i am looking whats going wrong.
 
Upvote 0

Forum statistics

Threads
1,226,730
Messages
6,192,708
Members
453,748
Latest member
akhtarf3

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