PC Review


Reply
Thread Tools Rate Thread

Concat a parameter into a vlookup?

 
 
Stephen
Guest
Posts: n/a
 
      28th Nov 2007
Is is possible to say

=IF(ISNA(VLOOKUP($X996,Weights.xls!w"VALUE IN CELL C5"s,3,FALSE))

?
 
Reply With Quote
 
 
 
 
Niek Otten
Guest
Posts: n/a
 
      28th Nov 2007
Yes.

Look in HELP for the INDIRECT() function

Post again in this same thread if you can't get it done

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Stephen" <(E-Mail Removed)> wrote in message news:CCCE7DA8-1610-4A03-8685-(E-Mail Removed)...
| Is is possible to say
|
| =IF(ISNA(VLOOKUP($X996,Weights.xls!w"VALUE IN CELL C5"s,3,FALSE))
|
| ?


 
Reply With Quote
 
sebastienm
Guest
Posts: n/a
 
      28th Nov 2007
Almost. If the Weights.xls book is open, you can use the INDIRECT function:
syntax: INDIRECT(address_string)
with <address_String>: [book_name]sheet_name!range_address_or_name
So something like
ISNA(VLOOKUP($X996
, INDIRECT("[Weights.xls]worksheet_name!w" & C5 & "s")
,3,FALSE) )

--
Regards,
Sébastien
<http://www.ondemandanalysis.com>


"Stephen" wrote:

> Is is possible to say
>
> =IF(ISNA(VLOOKUP($X996,Weights.xls!w"VALUE IN CELL C5"s,3,FALSE))
>
> ?

 
Reply With Quote
 
Stephen
Guest
Posts: n/a
 
      28th Nov 2007
I see.

So even if I qualify the path to the Weights book, it simply won't work.
Damn.

Oh well.

Thanks.

"sebastienm" wrote:

> Almost. If the Weights.xls book is open, you can use the INDIRECT function:
> syntax: INDIRECT(address_string)
> with <address_String>: [book_name]sheet_name!range_address_or_name
> So something like
> ISNA(VLOOKUP($X996
> , INDIRECT("[Weights.xls]worksheet_name!w" & C5 & "s")
> ,3,FALSE) )
>
> --
> Regards,
> Sébastien
> <http://www.ondemandanalysis.com>
>
>
> "Stephen" wrote:
>
> > Is is possible to say
> >
> > =IF(ISNA(VLOOKUP($X996,Weights.xls!w"VALUE IN CELL C5"s,3,FALSE))
> >
> > ?

 
Reply With Quote
 
Niek Otten
Guest
Posts: n/a
 
      28th Nov 2007
<it simply won't work>

What does that mean? Error message? What message?
Wrong result? If so, supply the input values, the result you expected and what you got instead.


--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Stephen" <(E-Mail Removed)> wrote in message news:E9E03B39-E5C3-4A59-8F18-(E-Mail Removed)...
|I see.
|
| So even if I qualify the path to the Weights book, it simply won't work.
| Damn.
|
| Oh well.
|
| Thanks.
|
| "sebastienm" wrote:
|
| > Almost. If the Weights.xls book is open, you can use the INDIRECT function:
| > syntax: INDIRECT(address_string)
| > with <address_String>: [book_name]sheet_name!range_address_or_name
| > So something like
| > ISNA(VLOOKUP($X996
| > , INDIRECT("[Weights.xls]worksheet_name!w" & C5 & "s")
| > ,3,FALSE) )
| >
| > --
| > Regards,
| > Sébastien
| > <http://www.ondemandanalysis.com>
| >
| >
| > "Stephen" wrote:
| >
| > > Is is possible to say
| > >
| > > =IF(ISNA(VLOOKUP($X996,Weights.xls!w"VALUE IN CELL C5"s,3,FALSE))
| > >
| > > ?


 
Reply With Quote
 
Stephen
Guest
Posts: n/a
 
      28th Nov 2007
It returns a #REF error because my weights.xls will not be open all the time.
the kicker for this to work is to have that weights workbook always open
which is not feasible in my situation.



"Niek Otten" wrote:

> <it simply won't work>
>
> What does that mean? Error message? What message?
> Wrong result? If so, supply the input values, the result you expected and what you got instead.
>
>
> --
> Kind regards,
>
> Niek Otten
> Microsoft MVP - Excel
>
> "Stephen" <(E-Mail Removed)> wrote in message news:E9E03B39-E5C3-4A59-8F18-(E-Mail Removed)...
> |I see.
> |
> | So even if I qualify the path to the Weights book, it simply won't work.
> | Damn.
> |
> | Oh well.
> |
> | Thanks.
> |
> | "sebastienm" wrote:
> |
> | > Almost. If the Weights.xls book is open, you can use the INDIRECT function:
> | > syntax: INDIRECT(address_string)
> | > with <address_String>: [book_name]sheet_name!range_address_or_name
> | > So something like
> | > ISNA(VLOOKUP($X996
> | > , INDIRECT("[Weights.xls]worksheet_name!w" & C5 & "s")
> | > ,3,FALSE) )
> | >
> | > --
> | > Regards,
> | > Sébastien
> | > <http://www.ondemandanalysis.com>
> | >
> | >
> | > "Stephen" wrote:
> | >
> | > > Is is possible to say
> | > >
> | > > =IF(ISNA(VLOOKUP($X996,Weights.xls!w"VALUE IN CELL C5"s,3,FALSE))
> | > >
> | > > ?
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Concat + SQL Bill - ESAI Microsoft Access Forms 2 29th Aug 2008 03:55 PM
vlookup query - 2 parameter check.... =?Utf-8?B?RGF2aWQgQ3VtbWluZw==?= Microsoft Excel Programming 1 14th Nov 2007 09:11 PM
vlookup, add parameter, on error return user defined value =?Utf-8?B?amltczI5OTQ=?= Microsoft Excel Worksheet Functions 0 7th Jul 2006 02:56 PM
CONCAT fingermark@gmail.com Microsoft Access Queries 3 20th Jun 2006 09:18 PM
error STOP:0x0000007B (parameter, parameter, parameter, parameter) robert35 Microsoft Access Getting Started 1 15th Dec 2004 03:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:22 AM.