SUMPRODUCT giving #VALUE error with input of text

addydata

New Member
Joined
Jan 16, 2025
Messages
2
Office Version
  1. Prefer Not To Say
Platform
  1. Windows
Please help - how can I ignore cells with text in for the below formula??

=SUMPRODUCT(--($P13:$AN13/$P$7:$AN$7>=0.75))+SUMPRODUCT(--($AR13:$BP13/$AR$7:$BP$7>=0.75))+SUMPRODUCT(--($BT13:$CQ13/$BT$7:$CQ$7>=0.75))
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi and welcome to MrExcel

This is an array formula:
Excel Formula:
=SUM(--(IFERROR(($P13:$AN13/$P$7:$AN$7),0)>=0.75))+SUM(--(IFERROR(($AR13:$BP13/$AR$7:$BP$7),0)>=0.75))+SUM(--(IFERROR(($BT13:$CQ13/$BT$7:$CQ$7),0)>=0.75))
Press CTRL+SHIFT+ENTER to enter array formulas.

🤗
 
Last edited:
Upvote 0
Amazing thank you!
If tried adding an IFERROR to the below but failing. Any idea?

=COUNTA($P13:$AP13)+COUNTA($AT13:$BR13)+COUNTA(BV13:CV13)-(SUM($A13,$C13))
 
Upvote 0
If tried adding an IFERROR to the below but failing. Any idea?

=COUNTA($P13:$AP13)+COUNTA($AT13:$BR13)+COUNTA(BV13:CV13)-(SUM($A13,$C13))
This formula is different from your original post. You must create a thread for each topic.

However, what I can see in your formula is that Counta and Sum do not return an error if there are texts.

Examples:
Dante Amor
ABCD
1Example 1
2A
32<-- It has 2 cells with data, it doesn't matter if they are numbers or texts.
42
5
6
7Example 2
837<-- Add 3 + 4, ignore empty cells or cells with text
9x
10
114
12
13Example 3
14A
15#¡DIV/0!3<-- It has 3 cells with data, it doesn't matter if they are numbers or texts even error
162
17
18Example 4
193
20x7To check errors it must be array formula
21#¡DIV/0!
224
Sheet2
Cell Formulas
RangeFormula
C3,C15C3=COUNTA(A2:A4)
C8C8=SUM(A8:A11)
A15,A21A15=2/0
C20C20=SUM(IFERROR(A19:A22,0))
Press CTRL+SHIFT+ENTER to enter array formulas.


Only in case of error in the cell, you could use the IFERROR function.
If you need more help you should explain what problem you have, what data you have in the cells and what you expect as a result.

Use the XL2BB tool to put a minisheet in the post.

😇
 
Upvote 0

Forum statistics

Threads
1,226,101
Messages
6,188,929
Members
453,511
Latest member
Refugar

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