Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JAB
 
Posts: n/a
Default vlookup with linked cell references

vlookup is returning incorrect information some of the time. The initial cell
it is looking up is a linked word. Is this what is causing the problem? If
so, can it be fixed?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers
 
Posts: n/a
Default vlookup with linked cell references

Can you post your code?

"JAB" wrote:

vlookup is returning incorrect information some of the time. The initial cell
it is looking up is a linked word. Is this what is causing the problem? If
so, can it be fixed?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JAB
 
Posts: n/a
Default vlookup with linked cell references

The formula is:
vlookup(d2,'Summary Data'!$b$15:$c$45,2)

D2 is a cell that contains data that is linked from another sheet and is a
word, e.g. Finance, Corporate Admin.

The Summary Data sheet has the words typed in column B (and they match
exactly what is in the source document for D2), and an amount in column C.

I am not getting "N/A", I am getting incorrect results returned for the
majority, but not all, of the cells.

"Toppers" wrote:

Can you post your code?

"JAB" wrote:

vlookup is returning incorrect information some of the time. The initial cell
it is looking up is a linked word. Is this what is causing the problem? If
so, can it be fixed?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default vlookup with linked cell references

Is your Summary table sorted? the VLOOKUP function expects the table to be
sorted unless you add a final argument of FALSE or 0. If not sorted you'll
get incorrect results. If it IS sorted, change your formula to

=vlookup(d2,'Summary Data'!$b$15:$c$45,2,0)

and it will throw an #N/A error if the value in D2 isn't in the table. That
will allow you to figure out why you're getting the error



"JAB" wrote:

The formula is:
vlookup(d2,'Summary Data'!$b$15:$c$45,2)

D2 is a cell that contains data that is linked from another sheet and is a
word, e.g. Finance, Corporate Admin.

The Summary Data sheet has the words typed in column B (and they match
exactly what is in the source document for D2), and an amount in column C.

I am not getting "N/A", I am getting incorrect results returned for the
majority, but not all, of the cells.

"Toppers" wrote:

Can you post your code?

"JAB" wrote:

vlookup is returning incorrect information some of the time. The initial cell
it is looking up is a linked word. Is this what is causing the problem? If
so, can it be fixed?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers
 
Posts: n/a
Default vlookup with linked cell references

Try:

=vlookup(d2,'Summary Data'!$b$15:$c$45,2,false)

This should give exact match.

"JAB" wrote:

The formula is:
vlookup(d2,'Summary Data'!$b$15:$c$45,2)

D2 is a cell that contains data that is linked from another sheet and is a
word, e.g. Finance, Corporate Admin.

The Summary Data sheet has the words typed in column B (and they match
exactly what is in the source document for D2), and an amount in column C.

I am not getting "N/A", I am getting incorrect results returned for the
majority, but not all, of the cells.

"Toppers" wrote:

Can you post your code?

"JAB" wrote:

vlookup is returning incorrect information some of the time. The initial cell
it is looking up is a linked word. Is this what is causing the problem? If
so, can it be fixed?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JAB
 
Posts: n/a
Default vlookup with linked cell references

Problem Solved - I will use False in the future!

"Toppers" wrote:

Try:

=vlookup(d2,'Summary Data'!$b$15:$c$45,2,false)

This should give exact match.

"JAB" wrote:

The formula is:
vlookup(d2,'Summary Data'!$b$15:$c$45,2)

D2 is a cell that contains data that is linked from another sheet and is a
word, e.g. Finance, Corporate Admin.

The Summary Data sheet has the words typed in column B (and they match
exactly what is in the source document for D2), and an amount in column C.

I am not getting "N/A", I am getting incorrect results returned for the
majority, but not all, of the cells.

"Toppers" wrote:

Can you post your code?

"JAB" wrote:

vlookup is returning incorrect information some of the time. The initial cell
it is looking up is a linked word. Is this what is causing the problem? If
so, can it be fixed?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers
 
Posts: n/a
Default vlookup with linked cell references

Good news.

"JAB" wrote:

Problem Solved - I will use False in the future!

"Toppers" wrote:

Try:

=vlookup(d2,'Summary Data'!$b$15:$c$45,2,false)

This should give exact match.

"JAB" wrote:

The formula is:
vlookup(d2,'Summary Data'!$b$15:$c$45,2)

D2 is a cell that contains data that is linked from another sheet and is a
word, e.g. Finance, Corporate Admin.

The Summary Data sheet has the words typed in column B (and they match
exactly what is in the source document for D2), and an amount in column C.

I am not getting "N/A", I am getting incorrect results returned for the
majority, but not all, of the cells.

"Toppers" wrote:

Can you post your code?

"JAB" wrote:

vlookup is returning incorrect information some of the time. The initial cell
it is looking up is a linked word. Is this what is causing the problem? If
so, can it be fixed?

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
Adding a row to worksheet does not update cell references in another. blausen Excel Worksheet Functions 5 February 25th 06 09:14 PM
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
Vlookup for data contained in a cell Garbunkel Excel Worksheet Functions 5 September 14th 05 06:47 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Cell references change when entering new data [email protected] New Users to Excel 2 May 6th 05 07:48 PM


All times are GMT +1. The time now is 01:50 PM.

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"