A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

lookup formulas



 
 
Thread Tools Display Modes
  #1  
Old September 16th, 2003, 11:27 PM
Marian
external usenet poster
 
Posts: n/a
Default lookup formulas

I have a lookup formula working just fine as long as what
I want it to look up is there. My problem is that when
the number I want it to look for is not on the spreadsheet
it is still coming up with a number. Any ideas on why
this would be?
=LOOKUP($B$2,'J:\atp2003\10105079
GM\creports\[hourlyteampdb0911.xls]530 combo report'!
$E$2:$E$73,'J:\atp2003\10105079
GM\creports\[hourlyteampdb0911.xls]530 combo report'!
$K$2:$K$73)
As you can see here, I'm wanting it to find in column E of
my combo report the number that is in cell B2 of my
spreadsheet and give the corresponding number in column K
of my combo report. It's working except for the fact that
this number does not exist on this particular worksheet,
therefore it should be giving me an error, NA or nothing,
instead it is coming up with the number 4.
  #2  
Old September 17th, 2003, 12:39 AM
CLR
external usenet poster
 
Posts: n/a
Default lookup formulas

Add the "FALSE" option at the end of your VLOOKUP formula.....

=vlookup(B2,range,offset,FALSE)

Vaya con Dios,
Chuck, CABGx3


"Marian" wrote in message
...
I have a lookup formula working just fine as long as what
I want it to look up is there. My problem is that when
the number I want it to look for is not on the spreadsheet
it is still coming up with a number. Any ideas on why
this would be?
=LOOKUP($B$2,'J:\atp2003\10105079
GM\creports\[hourlyteampdb0911.xls]530 combo report'!
$E$2:$E$73,'J:\atp2003\10105079
GM\creports\[hourlyteampdb0911.xls]530 combo report'!
$K$2:$K$73)
As you can see here, I'm wanting it to find in column E of
my combo report the number that is in cell B2 of my
spreadsheet and give the corresponding number in column K
of my combo report. It's working except for the fact that
this number does not exist on this particular worksheet,
therefore it should be giving me an error, NA or nothing,
instead it is coming up with the number 4.



  #3  
Old September 17th, 2003, 12:06 PM
barb
external usenet poster
 
Posts: n/a
Default lookup formulas

You need to add 'FALSE' after the last number. ie =VLOOKUP
(A1,B110,2,FALSE)

This will return an error message. Hope this is what you
need

Barb

-----Original Message-----
I have a lookup formula working just fine as long as what
I want it to look up is there. My problem is that when
the number I want it to look for is not on the

spreadsheet
it is still coming up with a number. Any ideas on why
this would be?
=LOOKUP($B$2,'J:\atp2003\10105079
GM\creports\[hourlyteampdb0911.xls]530 combo report'!
$E$2:$E$73,'J:\atp2003\10105079
GM\creports\[hourlyteampdb0911.xls]530 combo report'!
$K$2:$K$73)
As you can see here, I'm wanting it to find in column E

of
my combo report the number that is in cell B2 of my
spreadsheet and give the corresponding number in column K
of my combo report. It's working except for the fact

that
this number does not exist on this particular worksheet,
therefore it should be giving me an error, NA or nothing,
instead it is coming up with the number 4.
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.