Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2007

Tip: Looking for answers? Try searching our database.

Using Formulas

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
creachter - 01 Feb 2007 22:11 GMT
I am trying to use the VLOOKUP formula to automatically select the
corresponding region when a state is selected.  I have a State drop
down in col D.  And in col E I have the formula
=VLOOKUP(D2,RegionMap,2,false).  In the formula editor it shows the
correct result, but the formula is displaying in the cell, not the
result.  How do I get the result to display?

Also, how do I copy this formula down my column and have the references
adapt correctly?

Any help would be greatly appreciated.  Thanks!

Signature

creachter

Pete_UK - 02 Feb 2007 00:58 GMT
The cell is probably formatted as text if yo see the formula rather
than the result. Select the cell and Format | Cells | Number (tab) and
then choose General and OK. Then double-click the formula bar as if to
edit the formula and then press Enter in order to activate the change
in format.

Your cell references will automatically adjust when you copy the
formula down - a quick way is to double-click the fill-handle. This is
the small black square in the bottom right corner of the cursor.

Hope this helps.

Pete

On Feb 1, 10:11 pm, creachter <creachter.2lc...@news.excelbanter.com>
wrote:
> I am trying to use the VLOOKUP formula to automatically select the
> corresponding region when a state is selected.  I have a State drop
[quoted text clipped - 10 lines]
> --
> creachter
Elkar - 02 Feb 2007 01:00 GMT
In answer to your first question, there are 2 likely possibilities why the
formula is displaying instead of the result.  Either the cell has been
formatted as text, or the View Formulas setting has been turned on.

If formatted as text, then select the cell, then choose "Cells" from the
FORMAT Menu.  Change the number format to "General".  Click OK.  Now,
re-enter your formula (just hit F2 then Enter).

If the format isn't the problem, then goto TOOLS, then OPTIONS, then under
the View Tab, uncheck the box labeled "Formulas".

Now, as for your second question, I don't see any reason why the cell
reference in your formula wouldn't copy correctly.  Since you're using the
Named Range "RegionMap", the only reference is to cell D2.  If the formula is
entered into cell E2, then when copied down to E3, the reference should be to
D3.  Is that not right?

HTH,
Elkar

> I am trying to use the VLOOKUP formula to automatically select the
> corresponding region when a state is selected.  I have a State drop
[quoted text clipped - 7 lines]
>
> Any help would be greatly appreciated.  Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.