excelNewbie22
Well-known Member
- Joined
- Aug 4, 2021
- Messages
- 528
- Office Version
- 365
- Platform
- Windows
hi,
i placed on dozens of cells an if formula, with or,
but it return the wrong result,
i checked several times,
and all conditions for returning "0" - the wanted result, are met,
but it keep returning "1",
at first i thought there's too many "if",
so i delete half to them, just to check,
and still
please tell me where i'm wrong...
=IF(OR(BA2=1,BB2=1,BC2=1,BD2=1,BE2=1,BF2=1,BG2=1,BH2=1,BI2=1,BJ2=1,BK2=1,BL2=1,BM2=1,BN2=1,BO2=1,BP2=1,BQ2=0,BR2=0,BS2>1,BT2>4,BU2=1,BV2=1,BW2=6,BW2=0,BX2=0,AK2+BY2=2,BZ2=1,CA2=1,CB2>0,CC2=1,CD2>1,CE2>2,CF2>3,CG2>4,CH2>4,CI2>3,CJ2>3,CK2>2,CL2>2,CM2>1,CN2>2,CO2=0,CP2=0,CQ2=5,CR2=5,CS2=5,CT2=5,CT2=0,CU2>0,CV2=1,CW2=1,CX2=1,DG2>0,DH2>0,DI2>0,DA2>3,DB2>4,DC2>5,DD2>0,DE2>0,DF2=0,CY2=1,DK2>2,DL2>1,DM2=0,DN2+DO2=0,DQ2+DR2+DS2=0,DT2=0,DU2=1,DV2=1,DW2=1,DX2=1,DY2>4,DZ2>4),1,0)
i placed on dozens of cells an if formula, with or,
but it return the wrong result,
i checked several times,
and all conditions for returning "0" - the wanted result, are met,
but it keep returning "1",
at first i thought there's too many "if",
so i delete half to them, just to check,
and still
please tell me where i'm wrong...
=IF(OR(BA2=1,BB2=1,BC2=1,BD2=1,BE2=1,BF2=1,BG2=1,BH2=1,BI2=1,BJ2=1,BK2=1,BL2=1,BM2=1,BN2=1,BO2=1,BP2=1,BQ2=0,BR2=0,BS2>1,BT2>4,BU2=1,BV2=1,BW2=6,BW2=0,BX2=0,AK2+BY2=2,BZ2=1,CA2=1,CB2>0,CC2=1,CD2>1,CE2>2,CF2>3,CG2>4,CH2>4,CI2>3,CJ2>3,CK2>2,CL2>2,CM2>1,CN2>2,CO2=0,CP2=0,CQ2=5,CR2=5,CS2=5,CT2=5,CT2=0,CU2>0,CV2=1,CW2=1,CX2=1,DG2>0,DH2>0,DI2>0,DA2>3,DB2>4,DC2>5,DD2>0,DE2>0,DF2=0,CY2=1,DK2>2,DL2>1,DM2=0,DN2+DO2=0,DQ2+DR2+DS2=0,DT2=0,DU2=1,DV2=1,DW2=1,DX2=1,DY2>4,DZ2>4),1,0)