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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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