Hello everyone,
I have a formula that works for me but I think there should be a way to simplify it.
=if(isblank(if($A8<>0, if($F8<>0, (IF($G8=False,"Ok to Allocate", if(isna(FILTER(TRANSPOSE(indirect($B8)), (indirect("App_"&TO_TEXT(B8)&"_True_False!"&row($A8)&":"&row($A8))=false))), "Contractor", FILTER(TRANSPOSE(indirect($B8)), (indirect("App_"&TO_TEXT(B8)&"_True_False!"&row($A8)&":"&row($A8))=false))))), "Contractor"), "No Project selected")), "Contractor", if($A8<>0, if($F8<>0, (IF($G8=False, "Ok to Allocate", if(isna(FILTER(TRANSPOSE(indirect($B8)), (indirect("App_"&TO_TEXT(B8)&"_True_False!"&row($A8)&":"&row($A8))=false))), "Contractor", FILTER(TRANSPOSE(indirect($B8)), (indirect("App_"&TO_TEXT(B8)&"_True_False!"&row($A8)&":"&row($A8))=false))))), "Contractor"), "No Project selected"))
As you can see, do to different IF functions, I am repeating the following 4 times
FILTER(TRANSPOSE(indirect($B8)), (indirect("App_"&TO_TEXT(B8)&"_True_False!"&row($A8)&":"&row($A8))=false)))
Is there a way to simplify this formula?
Thank you
I have a formula that works for me but I think there should be a way to simplify it.
=if(isblank(if($A8<>0, if($F8<>0, (IF($G8=False,"Ok to Allocate", if(isna(FILTER(TRANSPOSE(indirect($B8)), (indirect("App_"&TO_TEXT(B8)&"_True_False!"&row($A8)&":"&row($A8))=false))), "Contractor", FILTER(TRANSPOSE(indirect($B8)), (indirect("App_"&TO_TEXT(B8)&"_True_False!"&row($A8)&":"&row($A8))=false))))), "Contractor"), "No Project selected")), "Contractor", if($A8<>0, if($F8<>0, (IF($G8=False, "Ok to Allocate", if(isna(FILTER(TRANSPOSE(indirect($B8)), (indirect("App_"&TO_TEXT(B8)&"_True_False!"&row($A8)&":"&row($A8))=false))), "Contractor", FILTER(TRANSPOSE(indirect($B8)), (indirect("App_"&TO_TEXT(B8)&"_True_False!"&row($A8)&":"&row($A8))=false))))), "Contractor"), "No Project selected"))
As you can see, do to different IF functions, I am repeating the following 4 times
FILTER(TRANSPOSE(indirect($B8)), (indirect("App_"&TO_TEXT(B8)&"_True_False!"&row($A8)&":"&row($A8))=false)))
Is there a way to simplify this formula?
Thank you