If and ISText formula

%3CLINGO-SUB%20id%3D%22lingo-sub-1583386%22%20slang%3D%22en-US%22%3EIf%20and%20ISText%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1583386%22%20slang%3D%22en-US%22%3E%3CP%3Ehello%20everyone%3C%2FP%3E%3CP%3EGood%20day.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-ERR%3AREF-NOT-FOUND-test%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20currently%20stuck%20in%20my%20formula%2C%20And%20i%20need%20to%20incorporate%20logics%20%234%20to%20%236%20to%20this%20formula%20set.%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3DIF(ISBLANK(A3)%2C%22new%22%2CIF(A3%3D%22invalid%22%2C%22closed%22%2CIF(AND(ISTEXT(B3)%2CA3%3D%22Valid%22)%2C%22In-Progress%22%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Elogics%3A%3C%2FP%3E%3CP%3E1.%20if%20a2%20is%20blank%20value%20is%20%22%20new%22%3CBR%20%2F%3E2.%20if%20a2%3Dinvalid%2C%20value%20is%20%22closed%22%3CBR%20%2F%3E3.%20if%20a2%3Dvalid%20%2B%20b2%20(istext)%20%3D%20%22in%20progress%22%3CBR%20%2F%3E4.%20if%20a2%3Dvalid%2Bb2(istext)%2Bc2(istext)%3D%22assigned%22%3CBR%20%2F%3E5.%20if%20a2%3Dvalid%2Bb2(istext)%2Bc2(istext)%2Bd3(istext)%20%3D%20%22reopen%22%3CBR%20%2F%3E6.%20if%20a2%3Dvalid%2Bb2(istext)%2Bc2(istext)%2Bd3(istext)%2Be4(istext)%20%3D%20%22closed%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethank%20you%20for%20your%20assistance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1583386%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1583609%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20ISText%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1583609%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F756671%22%20target%3D%22_blank%22%3E%40Archie077%3C%2FA%3E%26nbsp%3BYou%20need%20to%20build%20your%20formula%2C%20starting%20with%20the%20last%20criteria.%20If%20%22valid%22%20and%20all%20other%20cells%20contain%20text%2C%20then%20%22Closed%22%20and%20so%20on.%20If%20you%20don't%20do%20that%2C%20once%20the%20third%20condition%20is%20met%20it%20will%20always%20%26nbsp%3Breturns%20%22in%20progress%22%20and%20never%20evaluate%20the%20last%20three%20IF%20statements.%20You%20may%20also%20consider%20using%20IFS.%20That%20would%20then%20look%20something%20like%20this%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DIFS(logic6%2C%22closed%22%2Clogic5%2C%22reopen%22%2Clogic4%2C%22assigned%22%2Clogic3%2C%22in%20progress%22%2Clogic2%2C%22closed%22%2Clogic1%2C%22new%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3ENot%20convinced%20though%20that%20this%20is%20the%20most%20effective%20way%20to%20achieve%20your%20ultimate%20goal.%20Would%20need%20to%20see%20your%20actual%20schedule%20to%20recommend%20possible%20alternatives.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1583626%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20ISText%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1583626%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F756671%22%20target%3D%22_blank%22%3E%40Archie077%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPerhaps%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DIF(%20ISBLANK(A2)%2C%20%22%20new%22%2C%0A%20%20IF(A2%3D%22invalid%22%2C%20%22closed%22%2C%0A%20%20IF(%20(A2%3D%22valid%22)%2C%0A%20%20IF(%20ISTEXT(B2)%2C%0A%20%20IF(%20ISTEXT(C2)%2C%0A%20%20IF(%20ISTEXT(D3)%2C%0A%20%20IF(%20ISTEXT(E4)%2C%0A%20%20%20%20%22closed%22%2C%0A%20%20%20%20%22reopen%22)%2C%0A%20%20%20%20%22assigned%22)%2C%0A%20%20%20%20%22in%20progress%22)%0A))))%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1626885%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20ISText%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1626885%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3Bthank%20you%2C%20i%20was%20able%20to%20get%20it%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

hello everyone

Good day.

 

test 

 

I'm currently stuck in my formula, And i need to incorporate logics #4 to #6 to this formula set.

=IF(ISBLANK(A3),"new",IF(A3="invalid","closed",IF(AND(ISTEXT(B3),A3="Valid"),"In-Progress"

 

logics:

1. if a2 is blank value is " new"
2. if a2=invalid, value is "closed"
3. if a2=valid + b2 (istext) = "in progress"
4. if a2=valid+b2(istext)+c2(istext)="assigned"
5. if a2=valid+b2(istext)+c2(istext)+d3(istext) = "reopen"
6. if a2=valid+b2(istext)+c2(istext)+d3(istext)+e4(istext) = "closed"

 

thank you for your assistance

3 Replies

@Archie077 You need to build your formula, starting with the last criteria. If "valid" and all other cells contain text, then "Closed" and so on. If you don't do that, once the third condition is met it will always  returns "in progress" and never evaluate the last three IF statements. You may also consider using IFS. That would then look something like this:

=IFS(logic6,"closed",logic5,"reopen",logic4,"assigned",logic3,"in progress",logic2,"closed",logic1,"new")

Not convinced though that this is the most effective way to achieve your ultimate goal. Would need to see your actual schedule to recommend possible alternatives.

 

@Archie077 

Perhaps

 

=IF( ISBLANK(A2), " new",
  IF(A2="invalid", "closed",
  IF( (A2="valid"),
  IF( ISTEXT(B2),
  IF( ISTEXT(C2),
  IF( ISTEXT(D3),
  IF( ISTEXT(E4),
    "closed",
    "reopen"),
    "assigned"),
    "in progress")
))))

 

@Riny_van_Eekelen thank you, i was able to get it