Help with IF statement...Please?
Posted by Fred on January 10, 2001 2:29 PM
I need to make a zipcode lookup spreadsheet.
I have 5 zones in a state that all have groups of zipcodes in them. I want to be able to enter a zipcode and have it tell me what zone it is from and who it belongs to.
Problem is, with the IF statement, I can't find a way to do it without lots of repeating. Here is what I tried:
=IF(B3="07711, 07723, 07712, 07755, 07764, 07724, 07757, 07740, 07703, 07750, 07702, 07739, 07704, 07701, 07738, 07722, 07760, 07716, 07737, 07718, 07728, 07746, 07751, 07747, 07735, 07721, 08879, 08859, 08857, 08884, 07716, 07726, 08831, 08828, 08872","",True")
Yeah it would be nice if it worked but I KNOW it does not make sense. Anyone? Please?
Fred