ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   N/A (https://www.excelbanter.com/excel-worksheet-functions/117114-n.html)

Steved

N/A
 
Hello from Steved

Please if a cell has in it "N/A" What is require in the bootom formula to
reconize thia please as at it is at the moment it returns value in the sum
column, meaning I have to change it from N/A to 0 for the formula to work
thanks.

=SUMPRODUCT(--('From Charters'!$A$9=$A$41)*'From Charters'!$D$9:$E$9)

Bob Phillips

N/A
 
If you actually mean #N/A, then it is ISNA or ISERROR, or maybe conversely
test for ISNUMBER for validity.

You formula will not work

=SUMPRODUCT(--('From Charters'!$A$9=$A$41)*'From Charters'!$D$9:$E$9)

as the ranges must be the same size, perhaps you really mean

=SUMPRODUCT(--('From Charters'!$A$9:$B$9=$A$41)*'From Charters'!$D$9:$E$9)

and you don't need the first --

Test that with

=SUMPRODUCT(('From Charters'!$A$9:$B$9=$A$41))*(ISNUMBER('From
Charters'!$D$9:$E$9))

But this is all guesswork.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Steved" wrote in message
...
Hello from Steved

Please if a cell has in it "N/A" What is require in the bootom formula to
reconize thia please as at it is at the moment it returns value in the sum
column, meaning I have to change it from N/A to 0 for the formula to work
thanks.

=SUMPRODUCT(--('From Charters'!$A$9=$A$41)*'From Charters'!$D$9:$E$9)




Biff

N/A
 
Try this:

=('From Charters'!$A$9=$A$41)*SUM('From Charters'!$D$9:$E$9)

Biff

"Steved" wrote in message
...
Hello from Steved

Please if a cell has in it "N/A" What is require in the bootom formula to
reconize thia please as at it is at the moment it returns value in the sum
column, meaning I have to change it from N/A to 0 for the formula to work
thanks.

=SUMPRODUCT(--('From Charters'!$A$9=$A$41)*'From Charters'!$D$9:$E$9)




Steved

N/A
 
Thankyou both It works as I intended.

Cheers

"Biff" wrote:

Try this:

=('From Charters'!$A$9=$A$41)*SUM('From Charters'!$D$9:$E$9)

Biff

"Steved" wrote in message
...
Hello from Steved

Please if a cell has in it "N/A" What is require in the bootom formula to
reconize thia please as at it is at the moment it returns value in the sum
column, meaning I have to change it from N/A to 0 for the formula to work
thanks.

=SUMPRODUCT(--('From Charters'!$A$9=$A$41)*'From Charters'!$D$9:$E$9)






All times are GMT +1. The time now is 12:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com