PC Review


Reply
Thread Tools Rate Thread

Defining a name

 
 
TwEaKFrEaK
Guest
Posts: n/a
 
      30th Aug 2004
Whats up everyone. Can I have a table array that is dynamic based on a
input sheet.

For example I have a lookup table that

=VLOOKUP(Reference!$E6,CompanyDataQ3,Reference!$F6,FALSE)

I would like CompanyDataQ3 to change based on the input sheet.

On the input sheet I have
Quarter


so if quarter on the input sheet is Q3 the lookup table will have
=VLOOKUP(Reference!$E6,CompanyDataQ3,Reference!$F6,FALSE)

if the quarter on the input sheet is Q4 than the lookup table will hav
=VLOOKUP(Reference!$E6,CompanyDataQ4,Reference!$F6,FALSE)

Please let me know if this is possible and how to best achieve thi
goal. I have some vb in the project so if I need to add more its n
problem. Thank you all in advance

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
 
 
 
Frank Kabel
Guest
Posts: n/a
 
      30th Aug 2004
Hi
if your qurater in the format Qx is in cell A1 try:
=VLOOKUP(Reference!$E6,INDIRECT("CompanyData" &
A1),Reference!$F6,FALSE)


--
Regards
Frank Kabel
Frankfurt, Germany


> Whats up everyone. Can I have a table array that is dynamic based on
> an input sheet.
>
> For example I have a lookup table that
>
> =VLOOKUP(Reference!$E6,CompanyDataQ3,Reference!$F6,FALSE)
>
> I would like CompanyDataQ3 to change based on the input sheet.
>
> On the input sheet I have
> Quarter
>
>
> so if quarter on the input sheet is Q3 the lookup table will have
> =VLOOKUP(Reference!$E6,CompanyDataQ3,Reference!$F6,FALSE)
>
> if the quarter on the input sheet is Q4 than the lookup table will
> have =VLOOKUP(Reference!$E6,CompanyDataQ4,Reference!$F6,FALSE)
>
> Please let me know if this is possible and how to best achieve this
> goal. I have some vb in the project so if I need to add more its no
> problem. Thank you all in advance.
>
>
> ---
> Message posted from http://www.ExcelForum.com/


 
Reply With Quote
 
TwEaKFrEaK
Guest
Posts: n/a
 
      30th Aug 2004
THe only issue is that indirect requires the workbooks to be opened.
The results document has links to 25 workbooks. Any advice?


Thanks for helping me. I appreciate it a lot

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
Frank Kabel
Guest
Posts: n/a
 
      30th Aug 2004
Hi
no chance with INDIRECT. Also most other alternatives (as shown in this
link: http://tinyurl.com/2c62u) won't work. You may use Harlan Grove's
PULL function in this case (also described in this link)

--
Regards
Frank Kabel
Frankfurt, Germany


> THe only issue is that indirect requires the workbooks to be opened.
> The results document has links to 25 workbooks. Any advice?
>
>
> Thanks for helping me. I appreciate it a lot.
>
>
> ---
> Message posted from http://www.ExcelForum.com/


 
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
Name Defining =?Utf-8?B?Q2hyaXM=?= Microsoft Excel Misc 2 10th Aug 2006 03:06 PM
Defining last entry =?Utf-8?B?SmF5ZHVicw==?= Microsoft Excel Misc 4 1st Aug 2006 01:19 PM
Defining =?Utf-8?B?TWF0dA==?= Microsoft Excel Misc 1 26th Jul 2005 08:13 PM
Defining a name TwEaKFrEaK Microsoft Excel Worksheet Functions 1 17th Aug 2004 10:57 PM
Defining name howiechc Microsoft Excel Discussion 2 26th Feb 2004 07:02 AM


Features
 

Advertising
 

Newsgroups
 


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