Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default lookup value in table

Hi everyone

I'm trying to populate C&D from values in a table in the same sheet once the
code is entered in A.
I'm trying VLOOKUP(A6,$1:$500,13,false) but it's not working. Is this enough
information to suggest anything?

thanks

Rob


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default lookup value in table

Yes, you need to change $1:$500 to the proper address of your table (for
example, $E$1:$Z$500)

Regards,
Fred.

"Rob" wrote in message
...
Hi everyone

I'm trying to populate C&D from values in a table in the same sheet once
the
code is entered in A.
I'm trying VLOOKUP(A6,$1:$500,13,false) but it's not working. Is this
enough
information to suggest anything?

thanks

Rob



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default lookup value in table

Your lookup table here is defined as all rows from 1 to 500,
presumably using column A as the lookup vector, yet you are using A6
as the lookup item and you want to return data from the 13th column
(M?). Where is your table located? (i.e. which columns?)

Pete

On Nov 13, 1:03*am, Rob wrote:
Hi everyone

I'm trying to populate C&D from values in a table in the same sheet once the
code is entered in A.
I'm trying VLOOKUP(A6,$1:$500,13,false) but it's not working. Is this enough
information to suggest anything?

thanks

Rob


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default lookup value in table

$1:$500, what sheet is this? What columns?
--
** John C **

"Rob" wrote:

Hi everyone

I'm trying to populate C&D from values in a table in the same sheet once the
code is entered in A.
I'm trying VLOOKUP(A6,$1:$500,13,false) but it's not working. Is this enough
information to suggest anything?

thanks

Rob


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default lookup value in table

I'm trying VLOOKUP(A6,$1:$500,13,false) but it's not working.

There's nothing wrong with the syntax of the formula so you'll have to tell
us what "it's not working" means. If A6 is a unique entry in column A then
the formula will return the value from M6.

--
Biff
Microsoft Excel MVP


"Rob" wrote in message
...
Hi everyone

I'm trying to populate C&D from values in a table in the same sheet once
the
code is entered in A.
I'm trying VLOOKUP(A6,$1:$500,13,false) but it's not working. Is this
enough
information to suggest anything?

thanks

Rob






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default lookup value in table

Brilliant! many thanks

I'm used to using lookup from another sheet where $1:$500 covers everything.

I appreciate your time.

Rob

"Fred Smith" wrote:

Yes, you need to change $1:$500 to the proper address of your table (for
example, $E$1:$Z$500)

Regards,
Fred.

"Rob" wrote in message
...
Hi everyone

I'm trying to populate C&D from values in a table in the same sheet once
the
code is entered in A.
I'm trying VLOOKUP(A6,$1:$500,13,false) but it's not working. Is this
enough
information to suggest anything?

thanks

Rob




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default lookup value in table

Hi,

First, as Biff stated this is technically a legal syntax, but what does it
mean?

VLOOKUP(A6,$1:$500,13,FALSE)

1:500 means all columns for 500 rows or it is the equivalent of A1:IV500.

But, here's the rub, it looks up the info in the first column of the table
which is A. And you lookup value is in A6, there a problem with overlap.
This would not be a problem if you were refering to another sheet in the
workbook. So the VLOOKUP goes across row 6 to column 13 - M and brings back
the data form M6. Probably not the thing you wanted?

If this helps, please click the Yes button

Cheers,
Shane Devenshire

"Rob" wrote:

Hi everyone

I'm trying to populate C&D from values in a table in the same sheet once the
code is entered in A.
I'm trying VLOOKUP(A6,$1:$500,13,false) but it's not working. Is this enough
information to suggest anything?

thanks

Rob


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default lookup value in table

Thanks, group! I was trying to use the VLOOKUP functions for the first time.
This thread told me a lot better than the Excel Help did how to do it.
--
Für Elise - Support the Breast Cancer & Heart Foundations


"Shane Devenshire" wrote:

Hi,

First, as Biff stated this is technically a legal syntax, but what does it
mean?

VLOOKUP(A6,$1:$500,13,FALSE)

1:500 means all columns for 500 rows or it is the equivalent of A1:IV500.

But, here's the rub, it looks up the info in the first column of the table
which is A. And you lookup value is in A6, there a problem with overlap.
This would not be a problem if you were refering to another sheet in the
workbook. So the VLOOKUP goes across row 6 to column 13 - M and brings back
the data form M6. Probably not the thing you wanted?

If this helps, please click the Yes button

Cheers,
Shane Devenshire

"Rob" wrote:

Hi everyone

I'm trying to populate C&D from values in a table in the same sheet once the
code is entered in A.
I'm trying VLOOKUP(A6,$1:$500,13,false) but it's not working. Is this enough
information to suggest anything?

thanks

Rob


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
Table lookup Richard[_2_] Excel Worksheet Functions 3 October 30th 08 08:55 AM
Lookup data in a variable table & retrieve data from a pivot table Shawna Excel Worksheet Functions 3 October 10th 08 11:11 PM
Lookup value in table BONITA Excel Worksheet Functions 5 October 24th 06 07:16 PM
lookup table Brian Excel Discussion (Misc queries) 2 December 2nd 05 06:15 PM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM


All times are GMT +1. The time now is 04:47 AM.

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"