#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Anna
 
Posts: n/a
Default LOOKUP FUNCTION

Hello,
I'm working in Excel 2000. I'm using the vector lookup function in my
current worksheet to find a specific item number in column A and the quantity
on order in column C in another worksheet. Everything is working fine except
that if the lookup can't find the item number and quantity I'm looking for,
it returns the highest quantity value it finds. How I do get the lookup to
return a 0 in the cell if the item number and quantity are not listed in the
external worksheet?

In summary, I want excel to tell me that it can't find the infomation that
I'm looking for and return a 0. Thank you for your help.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default LOOKUP FUNCTION

If you are talking about vlookup which another poster has concluded, then use
his logic but also add the false argument; if it doesn't find an exact match,
it normally returns #n/a but the if(isna part tests for that and returns what
you put for the true part of the if test instead.
--
Kevin Vaughn


"Anna" wrote:

Hello,
I'm working in Excel 2000. I'm using the vector lookup function in my
current worksheet to find a specific item number in column A and the quantity
on order in column C in another worksheet. Everything is working fine except
that if the lookup can't find the item number and quantity I'm looking for,
it returns the highest quantity value it finds. How I do get the lookup to
return a 0 in the cell if the item number and quantity are not listed in the
external worksheet?

In summary, I want excel to tell me that it can't find the infomation that
I'm looking for and return a 0. Thank you for your help.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Anna
 
Posts: n/a
Default LOOKUP FUNCTION

Ok, I'm not sure what I'm doing wrong. Here is my formula.
=LOOKUP(K10,'C:\Documents and Settings\All Users.HARTMANS\My
Documents\Anna''s Stuff\Breakdown sheet test\Excel Stuff\[Current
Backorders.xls]Backorder Rpt Summary ANNA'!$A:$A,'C:\Documents and
Settings\All Users.HARTMANS\My Documents\Anna''s Stuff\Breakdown sheet
test\Excel Stuff\[Current Backorders.xls]Backorder Rpt Summary
ANNA'!$C:$C)+IF(ISNA(K10))

Please let me know how I can change my formula to make it work. When I
enter variations of this formula the cell comes up blank, which is what I
want, but the cells that contain values that are correct are also turning
blank. If you need more information, please let me know.

Thank you for all your help!

"Gary L Brown" wrote:

If(Isna(vlookup(......),0,vlookup(......))

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"Anna" wrote:

Hello,
I'm working in Excel 2000. I'm using the vector lookup function in my
current worksheet to find a specific item number in column A and the quantity
on order in column C in another worksheet. Everything is working fine except
that if the lookup can't find the item number and quantity I'm looking for,
it returns the highest quantity value it finds. How I do get the lookup to
return a 0 in the cell if the item number and quantity are not listed in the
external worksheet?

In summary, I want excel to tell me that it can't find the infomation that
I'm looking for and return a 0. Thank you for your help.

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
Lookup Function help marlea Excel Discussion (Misc queries) 2 August 23rd 05 07:30 PM
Lookup Function Problems FFW Excel Worksheet Functions 2 August 21st 05 04:22 PM
Complicated lookup function chrisrowe_cr Excel Worksheet Functions 4 July 19th 05 05:52 PM
lookup function 1 Colboyfx Excel Worksheet Functions 4 July 15th 05 09:15 AM
How do I use 3 cells to create the string for a lookup function? Bencomo Excel Worksheet Functions 1 May 15th 05 07:17 AM


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

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"