Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to apply vlookup formula dynamically to a worksheet

I want to apply vlookup formula to Range of cells, but data may not be static.
Help me to how to approach that...

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default How to apply vlookup formula dynamically to a worksheet

Use a dynamic range

http://www.contextures.com/xlNames01.html#Dynamic

--
__________________________________
HTH

Bob

"vardhan" wrote in message
...
I want to apply vlookup formula to Range of cells, but data may not be
static.
Help me to how to approach that...



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default How to apply vlookup formula dynamically to a worksheet

Hi,

What will change? Will the lookup value always be in the same column and
value brought back be in the same column, so just the "length" of the data
will be changing?

What is the dynamic part of the lookup?



"vardhan" wrote:

I want to apply vlookup formula to Range of cells, but data may not be static.
Help me to how to approach that...

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default How to apply vlookup formula dynamically to a worksheet

I usually define a range and use the range name as the source dat for the
pivot. Here is an example :

=OFFSET(Calendar!$A$1,0,0,MAX(2,COUNTA(Calendar!$A :$A)),4)

This is the defination of a range called CALENDAR which uses the a dynamic
range on a worksheet called calendar whcih stretches from A1 to Ax where x is
the last row in column A.

Hope this helps

"David" wrote:

Hi,

What will change? Will the lookup value always be in the same column and
value brought back be in the same column, so just the "length" of the data
will be changing?

What is the dynamic part of the lookup?



"vardhan" wrote:

I want to apply vlookup formula to Range of cells, but data may not be static.
Help me to how to approach that...

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
Add column # dynamically in row 1 of a particular worksheet Roger L[_2_] Excel Programming 7 September 5th 07 08:08 PM
I am not able to apply names in already created Vlookup formula. Mr. DP Excel Worksheet Functions 2 November 30th 06 06:32 AM
Dynamically adding a macro to a new worksheet Fred Russell Excel Programming 4 September 11th 05 10:31 PM
Dynamically adjusting Vlookup angusrocks Excel Programming 5 July 27th 05 06:43 PM
macro to apply worksheet event to active worksheet Paul Simon[_2_] Excel Programming 3 August 7th 03 02:50 AM


All times are GMT +1. The time now is 09:38 AM.

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"