LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default look up table problem

Thanks for the BJ

I do not fully understand though. How can I enter a unique label? Are you
suggesting label range needs to be an array aswell such as

a
b
c
d

as well as the normal array?

DaveF: I wasn't using Look up as the array. It was the just the name i gave
it in the example.

Thanks

Nathan
"bj" wrote:

let the new cells be in the lookup array, the only thing whihc is neccessary
to have a dynamic vlookup
is to make sure there is a unique label above each column
for example
aa bb cc dd ee
change the vlookup to something like
=vlookup(lookup_value,Lookup_range,match(dd,lable_ range,0),0)
you can insert as many columns as you like befiore dd and the Vlookup will
give the correct answer.


"NathanG" wrote:

Hi,

I have a look up on a form which is working perfectly well. I havw to enter
another column inbetween the array. I tried selected the cells that contain
the values I need by holding ctrl and giving the highlighted cells a name. It
appears that if there is a gap in the array, in this case a column, it
doesn't work.

For example

=vlookup(a1,d1:f3,2,false) is OK

but =vlookup(a1,lookup,2,false) is not working where 'lookup' are cells
d1:e3 and cells g1:g3 as I am ignorning column F.

Is there a workaround?

Thanks

Nathan

 
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
Pivot Table Problem John Calder New Users to Excel 13 January 25th 07 12:37 AM
Pivot Table Problem [email protected] Excel Worksheet Functions 1 November 12th 06 05:03 PM
Pivot table problem seantera Excel Discussion (Misc queries) 1 January 26th 06 03:41 PM
Pivot table problem Ross Excel Discussion (Misc queries) 1 November 24th 05 05:07 PM
Problem with pivot table 85225 Excel Discussion (Misc queries) 2 October 11th 05 07:00 PM


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