A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
=IF(OR(A2="",B2=""),0,IF(A2=0,1,IF(LEFT(B2,1)<>"7",1,0)))
Or
=IF(OR(A2="",B2=""),"",IF(A2=0,1,IF(LEFT(B2,1)<>"7",1,0)))
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, I am using below formula, if the item starts with "7" than result should be "0" if not "1" for level 0 & 1 but I am getting an error, please help me to fix it. Thanks in advance.
=if(And(A2="0","1",if(left(B2,1)<>"7)"),"1","0"))
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more