View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Murph Murph is offline
external usenet poster
 
Posts: 37
Default Multiple IF values

Trying to assign values to certain text in a column

K2 =City
I want L2 to show a number reference for that city.

If K2 = Columbus then L2 = 1
If K2 = Denver then L2 = 2

I went to this.. and it failed
=IF(K2="Toledo",1,0):IF(K2="Columbus",2,0): IF(K2="Cleveland",3,0)

Help?