Forum Discussion

rach1345's avatar
rach1345
Brass Contributor
Feb 25, 2023
Solved

IFS FORMULA

Good Afternoon,

Could someone please help me with the following formula? The formula reads =IFS(a3="OUTSIDE GRID","OUTSIDE GRID",b3="G1DG","G1DG",c3="GSPECIAL","GSPECIAL") which works but i would like to further add to the formula by asking it to return the text that is in d3. Please note there are a variety of answers in d3 such as gdhl, dascher etc which is what i want it to return. i have tried adding some of the fields in like D2="DASCHER","DASCHER",D2="GDHL","GDHL" but just bringing up n/a.  What can I do to resolve this error please?

 

6 Replies

  • rach1345 

    Does this do what you want? In E2:

     

    =INDEX(A2:D2, MATCH(1, ISTEXT(A2:D2)*(A2:D2<>"N/A"), 0))

     

    Fill down.

    • rach1345's avatar
      rach1345
      Brass Contributor
      Hi Hans Vogelaar, unfortunately it didn't work :(. It brought up #VALUE error message. Thank you for trying though 🙂
    • rach1345's avatar
      rach1345
      Brass Contributor
      Hi Hans Vogelaar unfortunately the formula didn't work it brought up #VALUE! error message. thanks for trying to help me 🙂