snhandle
asked on
Excel 2013
I want to create formula to check that in each row if the data is all the same in each cell then it should say "all Ok" if not then should say need attention. I want to check cell from column D through N in each row. Example
2 2 2 2 2 2 2 2 2 All ok
S I S S S S S S S Need attention
How I can do that. thanks
2 2 2 2 2 2 2 2 2 All ok
S I S S S S S S S Need attention
How I can do that. thanks
ASKER
When there is blank cell in between cells it gives me error #N/A. If there is any blank cell it should still say "need attention". But if all the cells are blank then it should say "Ok".
thanks
thanks
Just add Iferror
=IFERROR(IF((SUMPRODUCT(--(FREQUENCY(MATCH(D2:N2,D2:N2,0),COLUMN(D2:N2)-COLUMN(D2)+1)>0)))=1,"OK","Need attention"),"")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You may try this Array Formula which requires confirmation with Ctrl+Shift+Enter instead of Enter alone.
EE20170131.xlsx
=IF((SUM(--(FREQUENCY(IF(D1:N1<>"",MATCH(D1:N1,D1:N1,0)),COLUMN(D1:N1)-COLUMN(D1)+1)>0)))<=1,"OK","to be examined")
Confirm with Ctrl+Shift+Enter.EE20170131.xlsx
Disregard my solution, I didn't read your later post.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Surely simple as:
=IF(AND(D1=E1,E1=F1,F1=G1, G1=H1,H1=I 1,J1=K1,K1 =L1,L1=M1, M1=N1),"OK ","Needs attention")
Thanks
Rob
=IF(AND(D1=E1,E1=F1,F1=G1,
Thanks
Rob
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This seems to work. It's an array formula so use CTL-SHIFT-ENTER after entering.
=IF(AND(D1:M1=E1:N1),"All OK","Needs Attention")
~bp
To allow for case sensitivity:
=IF(AND(EXACT(D2,E2),EXACT (E2,F2),EX ACT(F2,G2) ,EXACT(G2, H2),EXACT( H2,I2),EXA CT(I2,J2), EXACT(J2,K 2),EXACT(K 2,L2),EXAC T(L2,M2),E XACT(M2,N2 )),"OK","N eeds attention")
=IF(AND(EXACT(D2,E2),EXACT
Here's another solution:
=IF(EXACT(CONCATENATE(D1,E 1,F1,G1,H1 ,I1,J1,K1, L1,M1,N1), CONCATENAT E(D1,D1,D1 ,D1,D1,D1, D1,D1,D1,D 1,D1)),"Al l ok","Need Attention")
=IF(EXACT(CONCATENATE(D1,E
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
pls try
Open in new window
RegardsEE20170131.xlsx