Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Northern ireland postcodes 1

Status
Not open for further replies.

SQLScholar

Programmer
Joined
Aug 21, 2002
Messages
2,127
Location
GB
Hey,

Excel problem -

One thing that would make my life easier is if i had a peice of code that would look through a list of addresses and if the postcode colomn has a PC begining with BT then in another colomn write "northern Ireland". If it doesnt then write "United Kingdom".

Also how would i make this available from any new document i made!

TIA

Dan ----------------------------------------
There are 2 types of computer, the prototype and the obsolete!!
 
Which kind do you have? Prototype or Obsolete?

Anyway, will this work for you?
=if(left(cell_ref,2)="BT", "Northern Ireland","United Kingdom")

 
obsolete, cause prototypes probably dont work very well cause of all the bugs.... then when they have sorted them, there released and then obsolete.

Thanx for the code mate.... cheers STAR
----------------------------------------
There are 2 types of computer, the prototype and the obsolete!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top