quick help

ehsas

Board Regular
Joined
Sep 17, 2002
Messages
200
=SUMPRODUCT((HPACB=1)*(HPNINS<24)*(RATE={4.50055})*BAL)

In above formula I am trying to give the rate range between 4.500 to 5.500 but it giving me zero outstanding where there is outstanding.I believe there is problem In range.Could any please help.Regards,
 
Book1
ABCDEF
1BALRATEHPACBHPNINSRATEFormula
210800051154.5000
32984472182.500
47261271224.591
5294127.55365.500
63420073244.960
7421447.521485.550
8428767.51204.916
910200051195.512
Sheet1


above is the excel file sample.
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
That's better - now you have expressed your problem clearly. The formula is:

=SUMPRODUCT((HPACB=1)*(HPNINS<24)*(RATE>=4.5)*(RATE<=5.5),BAL)

You have 2 columns headed RATE. This formula assumes RATE refers to column E.
 
Upvote 0
Thanks a lot.

=SUMPRODUCT((HPACB=1)*(HPNINS<24)*(RATE>=4.5)*(RATE<=5.5),BAL)

=SUMPRODUCT((HPACB=1)*(HPNINS>24)*(RATE>=6.5)*(RATE<=7.5),BAL)

Can i put the above two condition in one formula.If yes could help.
Regards,
 
Upvote 0
You can only have one range named RATE, so rename cell B1 to RATE1, then you can use:

=SUMPRODUCT((HPACB=1)*(HPNINS<24)*(RATE>=4.5)*(RATE<=5.5)*(RATE1>=6.5)*(RATE1<=7.5),BAL)
 
Upvote 0
can I change above formula to if function.The if function need to be perform at each row.I want to have result at each row.Regards
 
Upvote 0
All your criteria are hard coded eg HPACB=1. Which ones do you want to change when you copy the formula down and to what should they be referring?
 
Upvote 0

Forum statistics

Threads
1,224,802
Messages
6,181,054
Members
453,014
Latest member
Chris258

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