Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JLH
 
Posts: n/a
Default Help on Lookup feature


I am having difficulty getting a lookup function to work properly. In a
worksheet using 165 rows looking up data from another worksheet using
165 rows, looking at a unique number, some rows return correct data,
and others return the #N/A error message. Any suggestions?

Thanks much.

Joe


--
JLH
------------------------------------------------------------------------
JLH's Profile: http://www.excelforum.com/member.php...o&userid=29940
View this thread: http://www.excelforum.com/showthread...hreadid=496410

  #2   Report Post  
Posted to microsoft.public.excel.misc
Jacob_F_Roecker
 
Posts: n/a
Default Help on Lookup feature

I've gotten this before

Go to the first row where you get you "N/A" and look at the cell range of
the Vlookup. Compare that to the first cell with the formula and you may
notice a difference in the cell ranges for the lookup.

How this happened is you used the copy--paste method of putting your
formula in each cell without making the range reference absolute.

To fix the problem put a $ before the row and column reference of your range
your looking up.

=VLOOKUP($A$2,Sheet3!$G18:$V$28,8,FALSE)

I would also recommend Allen Wyatt's explanation of the feature he
http://exceltips.vitalnews.com/Pages..._Function.html

The only other way I've gotten N/A is if the data just simply isn't there.
I don't want to be printing N/A's on my final report and so I usually use the
=IF(ISERROR() formula method.

=IF(ISERROR(VLOOKUP($A$2,Sheet3!$G18:$V$28,8,FALSE )),"
",VLOOKUP($A$2,Sheet3!$G18:$V$28,8,FALSE))


I hope this helps!


"JLH" wrote:


I am having difficulty getting a lookup function to work properly. In a
worksheet using 165 rows looking up data from another worksheet using
165 rows, looking at a unique number, some rows return correct data,
and others return the #N/A error message. Any suggestions?

Thanks much.

Joe


--
JLH
------------------------------------------------------------------------
JLH's Profile: http://www.excelforum.com/member.php...o&userid=29940
View this thread: http://www.excelforum.com/showthread...hreadid=496410


  #3   Report Post  
Posted to microsoft.public.excel.misc
JLH
 
Posts: n/a
Default Help on Lookup feature


Jacob:

Thanks very much!

Joe


--
JLH
------------------------------------------------------------------------
JLH's Profile: http://www.excelforum.com/member.php...o&userid=29940
View this thread: http://www.excelforum.com/showthread...hreadid=496410

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
Another way to lookup data David Vollmer Excel Worksheet Functions 1 September 23rd 05 05:16 AM
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


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