A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formulas?



 
 
Thread Tools Display Modes
  #1  
Old August 13th, 2008, 09:25 PM posted to microsoft.public.excel.worksheet.functions
YanksRock
external usenet poster
 
Posts: 1
Default Formulas?

If anyone can help me with this or try to point me in the right direction I
would be grateful. I am trying to type a specific number in one cell and then
have text appear in the cell below. Example cell c8 I type 3113 and in cell
c10 have Chicago, IL appear. Thing is I have about 200 different numbers
representing different city's and states, so next time cell c8 might be 3001
and then need cell c10 read New York, NY. Any suggestions, thanks in advance
  #2  
Old August 13th, 2008, 09:34 PM posted to microsoft.public.excel.worksheet.functions
Brad
external usenet poster
 
Posts: 943
Default Formulas?

Using help research vlookup()

You will need to create at table

This will get you what you want

Just remember that the false in the equation below would be important
=vlookup(c8,tablename,2,false)

the false will make sure that you will have a match

you may also want to use the following

=if(isna(vlookup(c8,tablename,2,false)),"",vlookup (c8,tablename,2,false))

to make sure that if a number is selected - you won't get the nasty N/A
showing up in the cell.

Hope that helps...
--
Wag more, bark less


"YanksRock" wrote:

If anyone can help me with this or try to point me in the right direction I
would be grateful. I am trying to type a specific number in one cell and then
have text appear in the cell below. Example cell c8 I type 3113 and in cell
c10 have Chicago, IL appear. Thing is I have about 200 different numbers
representing different city's and states, so next time cell c8 might be 3001
and then need cell c10 read New York, NY. Any suggestions, thanks in advance

  #3  
Old August 13th, 2008, 09:40 PM posted to microsoft.public.excel.worksheet.functions
FSt1
external usenet poster
 
Posts: 2,788
Default Formulas?

hi
you need to put your numbers and cities in table off to the side then use
VLookup in c10 to search the table and return the city based on what number
you entered in c8.

regards
FSt1

"YanksRock" wrote:

If anyone can help me with this or try to point me in the right direction I
would be grateful. I am trying to type a specific number in one cell and then
have text appear in the cell below. Example cell c8 I type 3113 and in cell
c10 have Chicago, IL appear. Thing is I have about 200 different numbers
representing different city's and states, so next time cell c8 might be 3001
and then need cell c10 read New York, NY. Any suggestions, thanks in advance

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.