Forum Discussion

YvetteGarza's avatar
YvetteGarza
Copper Contributor
Jul 24, 2020

Formula help needed; IF or IFS?

AF2, AF6, AF10 and AF16 have several zip codes separated by a comma. I know V2 is listed in AF16 but I keep getting False as the answer. How can I correct this formula? Using 365.

 

=IF(V2=AF2,"Coastal",IF(V2=AF6,"Zone A",IF(V2=AF10,"Zone B",(IF(V2=AF16,"Zone C")))))

6 Replies

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    YvetteGarza 

    In general formula is correct, something is with values. Try in any empty cell =V2=AF16 if it returns TRUE or FALSE

    • YvetteGarza's avatar
      YvetteGarza
      Copper Contributor

      SergeiBaklan 

      I have zip codes like this in those cells. 

      77414,77422,77465,77534,77541,77550,77551,77554,77563,77577,77623
      • YvetteGarza's avatar
        YvetteGarza
        Copper Contributor
        Nope didn't work. Thanks so much for trying though.

Resources