Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default vlookup isn't working correctly?

I have a VLOOKUP formula, which, so far as I can tell, is formatted correctly:

=IF(E$376=VLOOKUP($B$366,'Model Inputs'!$B$3:$M$18,11),"BAU starts","")

But it's not returning the correct answer. When I manually look for the
value in B366 in the Model Inputs tab in the range B3:M18, and go over 11
columns I should find the value 11/30/2007, however, it's returning 7/31/2007.

Now there is another VLOOKUP formula in this workbook, which DOES return
7/31/2007, correctly, and which I copied to use for this second VLOOKUP.
However, I have changed the cell references in this copied formula. Yet it's
still returning the 7/31/2007 value.

Calculation is set to automatic. Am I missing something here? If I copy a
VLOOKUP formula, paste it somewhere else, and then change its cell
references, it should pick up a different value, not the value in the
original VLOOKUP, correct?
--
Brevity is the soul of wit.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default vlookup isn't working correctly?

Well I answered my question...the lookup table is not sorted alphabetically,
so adding the FALSE argument returns the correct value.

Duh.
--
Brevity is the soul of wit.


"Dave F" wrote:

I have a VLOOKUP formula, which, so far as I can tell, is formatted correctly:

=IF(E$376=VLOOKUP($B$366,'Model Inputs'!$B$3:$M$18,11),"BAU starts","")

But it's not returning the correct answer. When I manually look for the
value in B366 in the Model Inputs tab in the range B3:M18, and go over 11
columns I should find the value 11/30/2007, however, it's returning 7/31/2007.

Now there is another VLOOKUP formula in this workbook, which DOES return
7/31/2007, correctly, and which I copied to use for this second VLOOKUP.
However, I have changed the cell references in this copied formula. Yet it's
still returning the 7/31/2007 value.

Calculation is set to automatic. Am I missing something here? If I copy a
VLOOKUP formula, paste it somewhere else, and then change its cell
references, it should pick up a different value, not the value in the
original VLOOKUP, correct?
--
Brevity is the soul of wit.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 207
Default vlookup isn't working correctly?

Sometimes we can't see the forrest, because there is too many trees in the
way....

btdt

"Dave F" wrote:

Well I answered my question...the lookup table is not sorted alphabetically,
so adding the FALSE argument returns the correct value.

Duh.
--
Brevity is the soul of wit.


"Dave F" wrote:

I have a VLOOKUP formula, which, so far as I can tell, is formatted correctly:

=IF(E$376=VLOOKUP($B$366,'Model Inputs'!$B$3:$M$18,11),"BAU starts","")

But it's not returning the correct answer. When I manually look for the
value in B366 in the Model Inputs tab in the range B3:M18, and go over 11
columns I should find the value 11/30/2007, however, it's returning 7/31/2007.

Now there is another VLOOKUP formula in this workbook, which DOES return
7/31/2007, correctly, and which I copied to use for this second VLOOKUP.
However, I have changed the cell references in this copied formula. Yet it's
still returning the 7/31/2007 value.

Calculation is set to automatic. Am I missing something here? If I copy a
VLOOKUP formula, paste it somewhere else, and then change its cell
references, it should pick up a different value, not the value in the
original VLOOKUP, correct?
--
Brevity is the soul of wit.

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
Arrow keys are no longer working correctly jwachs Excel Discussion (Misc queries) 0 September 30th 06 03:44 AM
Autofilter not working correctly... Emily Excel Discussion (Misc queries) 0 January 11th 06 10:37 PM
My control toolbox functions are not working correctly. NUMBnut Excel Discussion (Misc queries) 0 January 10th 06 03:36 PM
Vlookup not working in 2000 - worked in 97! [email protected] Excel Discussion (Misc queries) 3 September 7th 05 11:30 AM
Vlookup no working Rose Davis New Users to Excel 6 August 27th 05 06:18 PM


All times are GMT +1. The time now is 06:10 PM.

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

About Us

"It's about Microsoft Excel"