B bines53 Active Member Dec 6, 2020 #1 Hello friends, Does anyone know a way to avoid calculating #N/A cells? =SUM(INDEX(COUNTIF(B1:B11,D1:D11&"<>#N/A"),0)) ,does not work , The correct result is 12 Thanks for the helpers David Attachments COUNTIF not containing error.xlsb 8.3 KB · Views: 16
Hello friends, Does anyone know a way to avoid calculating #N/A cells? =SUM(INDEX(COUNTIF(B1:B11,D1:D11&"<>#N/A"),0)) ,does not work , The correct result is 12 Thanks for the helpers David
B bines53 Active Member Dec 6, 2020 #3 Hi @Fluff13 , I know that, it's possible too =SUM(INDEX(COUNTIF(B1:B11 ,IFERROR(D1:D11 ," ")),0)) or with IFNA. Thank you
Hi @Fluff13 , I know that, it's possible too =SUM(INDEX(COUNTIF(B1:B11 ,IFERROR(D1:D11 ," ")),0)) or with IFNA. Thank you
F Fluff13 Active Member Dec 6, 2020 #4 bines53 said: I know that, Click to expand... Then why did you ask?
B bines53 Active Member Dec 6, 2020 #5 Hi @Fluff13 , To know where the mistake in the construction of &"<>#N/A"
R Rickbale Guest Dec 22, 2020 #7 bines53 said: Hello friends, Does anyone know a way to avoid calculating #N/A cells? =SUM(INDEX(COUNTIF(B1:B11,D1:D11&"<>#N/A"),0)) ,does not work , The correct result is 12 Thanks for the helpers David Click to expand... Try this formula =COUNTA(Z:Z)-SUM(IF(ISNA(Z:Z),1)) =SUMPRODUCT(--(TRIM(Z:Z)<>"#N/A")) Regards, Rick Bale
bines53 said: Hello friends, Does anyone know a way to avoid calculating #N/A cells? =SUM(INDEX(COUNTIF(B1:B11,D1:D11&"<>#N/A"),0)) ,does not work , The correct result is 12 Thanks for the helpers David Click to expand... Try this formula =COUNTA(Z:Z)-SUM(IF(ISNA(Z:Z),1)) =SUMPRODUCT(--(TRIM(Z:Z)<>"#N/A")) Regards, Rick Bale