What is wrong with SUMPRODUCT formula

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
719
Office Version
  1. 2010
Platform
  1. Windows
Hi:

I have in sheet named PT balances laid out as:

Col C Col D Col E

Oct 2017 $1,200.00

Nov 2017 1,000.00




I want to sum data into sheet 2 I8


=SUMPRODUCT(('PT balances'!$C$4:$C$23={"Oct","Nov","Dec"})*('PT balances'!$D$4:$D$23="2017")*'PT balances'!$E$4:$E$23)

is returning 0. Could you help me fix formula?

I had a similar formula that an OP fixed yesterday so I can't understand why this one is not returning required value.


Regards,

Sean
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
I think maybe "2017" doesn't need the quotes - ColumnD contains numbers, not text, no doubt.
 
Upvote 0
Try rather...

=SUMPRODUCT('PT balances'!$E$4:$E$23,--ISNUMBER(MATCH('PT balances'!$C$4:$C$23,{"Oct","Nov","Dec"},0)),--('PT balances'!$D$4:$D$23=2017))
 
Upvote 0
You're welcome. I'm glad to have provided assistance.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

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