Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
nba nba is offline
external usenet poster
 
Posts: 11
Default vlookup returning #value!

I have dates in on table and prices in another
using the formula
VLOOKUP(H9,VLOOKUP(F11,Dates,2,FALSE),WEEKDAY(D11) +2,FALSE)

table names are "low" "mid" and "high"

VLOOKUP(F11,Dates,2,FALSE) returns "low"
but when nested within the vlookup I get #value!

please help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default vlookup returning #value!

Hi,
could you give a sample of your data and what exactly you want to achieve,
the second part of the formula make no sense as it

"nba" wrote:

I have dates in on table and prices in another
using the formula
VLOOKUP(H9,VLOOKUP(F11,Dates,2,FALSE),WEEKDAY(D11) +2,FALSE)

table names are "low" "mid" and "high"

VLOOKUP(F11,Dates,2,FALSE) returns "low"
but when nested within the vlookup I get #value!

please help

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default vlookup returning #value!

As a first step, your outside VLOOKUP() is missing the column to return data
from parameter. It should be something like:

VLOOKUP(H9,VLOOKUP(F11,Dates,2,FALSE),WEEKDAY(D11) +2, ##, FALSE)
the missing part is the ##, that I added, which of course should be a column
number from the table whose name is being returned by the nested VLOOKUP().





"nba" wrote:

I have dates in on table and prices in another
using the formula
VLOOKUP(H9,VLOOKUP(F11,Dates,2,FALSE),WEEKDAY(D11) +2,FALSE)

table names are "low" "mid" and "high"

VLOOKUP(F11,Dates,2,FALSE) returns "low"
but when nested within the vlookup I get #value!

please help

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default vlookup returning #value!

Oops - actually I misread your formula, and I see that
WEEKDAY(D11)+2
is filling the requirement that I thought was missing.

Instead!! Wrap the nested VLOOKUP with INDIRECT(), as
VLOOKUP(H9,INDIRECT(VLOOKUP(F11,Dates,2,FALSE)),WE EKDAY(D11)+2, FALSE)

I believe it'll work for you then.

"JLatham" wrote:

As a first step, your outside VLOOKUP() is missing the column to return data
from parameter. It should be something like:

VLOOKUP(H9,VLOOKUP(F11,Dates,2,FALSE),WEEKDAY(D11) +2, ##, FALSE)
the missing part is the ##, that I added, which of course should be a column
number from the table whose name is being returned by the nested VLOOKUP().





"nba" wrote:

I have dates in on table and prices in another
using the formula
VLOOKUP(H9,VLOOKUP(F11,Dates,2,FALSE),WEEKDAY(D11) +2,FALSE)

table names are "low" "mid" and "high"

VLOOKUP(F11,Dates,2,FALSE) returns "low"
but when nested within the vlookup I get #value!

please help

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 always returning the same value! Jennifer Cali Excel Discussion (Misc queries) 10 April 23rd 23 09:08 AM
Vlookup returning a YES or NO Rob Excel Worksheet Functions 6 September 18th 08 02:30 AM
Vlookup returning #n/a TRYIN Excel Worksheet Functions 2 February 8th 08 07:56 PM
vlookup returning a #N/A value Ian Excel Worksheet Functions 5 May 17th 06 02:58 PM
vlookup returning sum Rose Excel Worksheet Functions 1 July 14th 05 10:47 PM


All times are GMT +1. The time now is 11:11 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"