Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default vlookup returns formula instead of value

When I enter vlookup formula, why does the formula appear in the cell as
opposed to the value that is returned?
for example, I entered in the cell =VLOOKUP(C2,stock,3,false); when I hit
enter, the cell still shows =VLOOKUP(C2,stock,3,false), when it should so the
looked up value of "S".
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default vlookup returns formula instead of value

Cell is probably formatted as Text. Right-click the cell then go to Format
Cells. Number Tab.
Set to General. Click OK. Press F2. Press Enter.

HTH,
Paul
--

"mmurph" wrote in message
...
When I enter vlookup formula, why does the formula appear in the cell as
opposed to the value that is returned?
for example, I entered in the cell =VLOOKUP(C2,stock,3,false); when I hit
enter, the cell still shows =VLOOKUP(C2,stock,3,false), when it should so
the
looked up value of "S".



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default vlookup returns formula instead of value

The cell was formatted to Text before the VLOOKUP formula was typed in.
Clear the cell. Then set the format to General. Then type the VLOOKUP
formula again.



Also make sure the display mode is not Equation....Toggle CNTRL-`
--
Gary''s Student - gsnu200777


"mmurph" wrote:

When I enter vlookup formula, why does the formula appear in the cell as
opposed to the value that is returned?
for example, I entered in the cell =VLOOKUP(C2,stock,3,false); when I hit
enter, the cell still shows =VLOOKUP(C2,stock,3,false), when it should so the
looked up value of "S".

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default vlookup returns formula instead of value

I didn't realize that I needed to format the cell before entering the
formula...I just kept trying to format it with the formula already entered.
Thank you for your help...it worked.

"Gary''s Student" wrote:

The cell was formatted to Text before the VLOOKUP formula was typed in.
Clear the cell. Then set the format to General. Then type the VLOOKUP
formula again.



Also make sure the display mode is not Equation....Toggle CNTRL-`
--
Gary''s Student - gsnu200777


"mmurph" wrote:

When I enter vlookup formula, why does the formula appear in the cell as
opposed to the value that is returned?
for example, I entered in the cell =VLOOKUP(C2,stock,3,false); when I hit
enter, the cell still shows =VLOOKUP(C2,stock,3,false), when it should so the
looked up value of "S".

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default vlookup returns formula instead of value

Normally you don't need to format the cell as General before entering a formula.

Excel tries to help you if you have ToolsOptionsEditExtend Data Range Formats
and Formulas.

The cell gets formatted as Text due to formatting around it in other cells..


Gord Dibben MS Excel MVP

On Thu, 3 Apr 2008 13:44:01 -0700, mmurph
wrote:

I didn't realize that I needed to format the cell before entering the
formula...I just kept trying to format it with the formula already entered.
Thank you for your help...it worked.

"Gary''s Student" wrote:

The cell was formatted to Text before the VLOOKUP formula was typed in.
Clear the cell. Then set the format to General. Then type the VLOOKUP
formula again.



Also make sure the display mode is not Equation....Toggle CNTRL-`
--
Gary''s Student - gsnu200777


"mmurph" wrote:

When I enter vlookup formula, why does the formula appear in the cell as
opposed to the value that is returned?
for example, I entered in the cell =VLOOKUP(C2,stock,3,false); when I hit
enter, the cell still shows =VLOOKUP(C2,stock,3,false), when it should so the
looked up value of "S".




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 320
Default vlookup returns formula instead of value

You're either looking at the FORMULA layer of Excel (toggle is ctrl/~) or the
cell is formatted as Text - try Format/Cells, change to General, then
re-enter the formula ({F2}/enter)

"mmurph" wrote:

When I enter vlookup formula, why does the formula appear in the cell as
opposed to the value that is returned?
for example, I entered in the cell =VLOOKUP(C2,stock,3,false); when I hit
enter, the cell still shows =VLOOKUP(C2,stock,3,false), when it should so the
looked up value of "S".

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup returns #N/A Joe M. Excel Discussion (Misc queries) 4 February 8th 08 10:03 PM
An #N/A returns in Vlookup formula Mike Excel Worksheet Functions 12 August 21st 07 07:12 PM
VLookup occasionally returns formula with no data Ted Jillett Excel Discussion (Misc queries) 3 August 9th 07 01:48 PM
Vlookup returns #N/A correctly...but...need formula in another col Linda Excel Worksheet Functions 0 July 26th 07 02:54 PM
@vlookup returns the formula instead of the value - why? Barb Excel Worksheet Functions 3 June 5th 06 10:36 PM


All times are GMT +1. The time now is 02:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"