0

I've a table where I use countif and if combination and it is working absolutely fine, but when i try to use it arrayformula in breaks.

Formula:

=IF(COUNTIF(A1:D1,"#N/A")-COUNTIF(A1:D1,"")>0,"Ok","No Ok")

Table :-

enter image description here

Is there any way i can use arrayformula with it, I don't want to drag data everytime data increase

Here is the sheet for your reference :- https://docs.google.com/spreadsheets/d/1DXbsvG8kxqGfNAEWgrvHwIwTsJC2GLX_CG3ol2s0ATo/edit#gid=0

2 Answers 2

1

Here is a formula that should work for you:

=arrayformula(if(ArrayFormula(dcount(transpose({row(A1:A),ifna(A1:D,1)}),sequence(rows(A1:A)),{if(,,);if(,,)})-columns(A1:D))>-2, "Ok", "Not Ok"))

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

1

Try

=arrayformula(if(mmult(if(iserror(A1:D),1,0)-iferror(if(A1:D="",1,0),0),sequence(columns(A:D),1,1,0))>0,"Ok","No Ok"))

reference : MMULT

I have added some rows that produce OK

enter image description here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.