SUMPRODUCT ISNUMBER Combination

paula_444

New Member
Joined
Apr 3, 2022
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hi there

I have a specific excel question and was hoping someone out there might please be able to help. I have this formula which is functioning:
=SUMPRODUCT((Income!$A$4:$A23>=B10)*(Income!$A$4:$A23<=C10)*(Income!$F$4:$F23))
However it doesn't work if there are any cells that aren't numbers. I have tried (in vain) to add an ISNUMBER clause into this but I just can't get it to function.

Please can anybody help?

Many thanks

Paula
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi,

Assuming you mean there may be Text within the range F4:F23, without any samples, try this:

Array formula to be confirmed with CSE (Control, Shift, Enter)

Excel Formula:
=SUM(IFERROR((Income!$A$4:$A23>=B10)*(Income!$A$4:$A23<=C10)*Income!$F$4:$F23,0))
 
Upvote 0
A clearer question would include an example with expected results.
I do not have your data sheet; the example that is below does not include reference to the other sheet.
The double negative -- coerces the True or False to a number.
The formula does not require array enter.
Try the following and review the formula with Excel Formula Evaluate.

SumProduct 2022a.xlsm
ABCDEFG
1
2
3
45-Apr-221,000
515-Apr-22ABC
625-Apr-221,020
75-May-221,030
815-May-221,040
9
1031-Mar-221-May-22Your formula#VALUE!
11Regular suntax2,020
12
1e
Cell Formulas
RangeFormula
A5:A8A5=A4+10
G10G10=SUMPRODUCT(($A$4:$A23>=B10)*(A$4:$A23<=C10)*($F$4:$F23))
G11G11=SUMPRODUCT(--($A$4:$A23>=B10),--(A$4:$A23<=C10),($F$4:$F23))
 
Last edited:
Upvote 0
Solution
Basically the same solution/suggestion as @Dave Patton above, except with 2 arrays, rather than 3.
So, just switch your 2nd * with a comma, Normally entered:

Excel Formula:
=SUMPRODUCT((Income!$A$4:$A23>=B10)*(Income!$A$4:$A23<=C10),Income!$F$4:$F23)
 
Upvote 0
Thank you both so so much for your answers. I apologise for my not very helpful question (e.g. not including examples etc) but the double minuses worked perfectly! I had tried messing around with them yesterday but I had put them in the wrong place I think so it hadn't worked very well. I hugely appreciate the time you have both taken to answer me. Many thanks and have a lovely evening!

All best wishes

Paula
 
Upvote 0

Forum statistics

Threads
1,224,737
Messages
6,180,653
Members
452,992
Latest member
TokugawaIesuma

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