EXCEL2013 - If cell contains text...

I have a long list of cities and I need to add a column next to it with a corresponding numeric code. For example:

New York4013-601

Vancouver4013-602

Hong Kong4013-603

I have over 900 rows, with 85 difference cities. I typically add the numeric code manually, but I don't usually have this many rows. Is there a way I can have it recognize the text and add the code?

Thank you in advance for saving me hours of work.

1 answer

1 accepted

0 votes
Accepted answer

If you have a list 85 cities and their code you can use vlookup macro of excel . BTW this is not the right place to ask such questions :) you should ask it to the MS office forum/support .

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

162 views 3 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you