Hello!
Trying to get this if statement to work,
=IF(AND LEFT(A2,1)="L", LEFT(A2,2)="V"),Z2="Furniture", IF(AND LEFT(A2,1)="D",LEFT(A2,2)="E"),Z2="Decor",IF(AND LEFT(A2,1)="D", LEFT(A2,2)="N"),Z2="Furniture", IF(AND LEFT(A2,1)="B", LEFT(A2,2)="D"),Z2="Bed",IF(AND LEFT(A2,1)="L", LEFT(A2,2)="T"),Z2="Lighting", IF(AND LEFT(A2,1)="B" ,LEFT(A2,2)="A"),Z2="Bath", IF(AND LEFT(A2,1)="K" ,LEFT(A2,2) = "T"), Z2 = "Kitchen", IF(AND LEFT(A2,1)="H",LEFT(A2,2) = "W"), Z2 = "Hardware", IF(AND LEFT(A2,1)="F", LEFT(A2,2) = "L"), Z2 = "Flooring", Z2 = "NOPE")))))))))
So, IF the first letter in cell A2 is "L" AND the second letter in cell A2 is "V" then Z2 should equal "Furniture" in its cell.
I think I'm missing bracket or a comma or something silly, if you guys can please let me know what I need to do to get this working that would be awesome!
Bookmarks