View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Eduardo Eduardo is offline
external usenet poster
 
Posts: 2,276
Default How do I find specific words and reference it

Hi,
=if(or(J1="B",J1="CV",J1="W"),"Westmidlands","Scot land")

"Shaz" wrote:

I want Excel to say "Westmidlands" if Postcode in column J starts with "B or
CV or W" and "Scotland" if the postcode starts with "AB or G". How do I do
that?