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

Admission FeeSecurity DepositTution FeeComputer FeeTotal AmountPaid Date
2500025000200002000720002/25/18
025000110001000370003/1/18
2500025000220002000740002/15/18

<tbody>
</tbody>

Report

HeadFebMar
Admission Fee50000formula required
Security Deposit50000formula required
Tution Fee42000formula required
Computer Fee4000formula required

<tbody>
</tbody>

Kindly help me on this.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,216,187
Messages
6,129,396
Members
449,508
Latest member
futureskillsacademy

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