vlookup - #N/A
From: chappy88 (chappy88_at_discussions.microsoft.com)
Date: 07/28/04
- Next message: CoRrRan: "Re: Address Function"
- Previous message: JulieD: "Re: help with macro please !!!"
- Next in thread: CoRrRan: "Re: vlookup - #N/A"
- Reply: CoRrRan: "Re: vlookup - #N/A"
- Reply: Frank Kabel: "vlookup - #N/A"
- Reply: Gbonda: "Re: vlookup - #N/A"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Jul 2004 05:54:03 -0700
I have a worksheet that I am building for home budgeting. I am using the vlookup function to find a certain category in a 2-column array (unsorted) and return the value in the 2nd column. Everything works fine, I have a fair amount of experience with this, however I want to get rid of the #N/A return when there is no match found.
The reason is: if you have several of these functions in a coulmn returning various data and say 2 of them are returning #N/A, then any simple function referencing the column such as sum will return #N/A also.
Here is my function: =VLOOKUP($B14,$BO$10:$BP$201,2,FALSE)
I use the false in Range_Lookup so I do not have to sort the array each time.
Any ideas on how I can get the function to return a zero instead of the #N/A when there is no match found?? Is there some other function I can nest such as IF??
I greatly appreciate any suggestions.
Thanks,
-- Jeff
- Next message: CoRrRan: "Re: Address Function"
- Previous message: JulieD: "Re: help with macro please !!!"
- Next in thread: CoRrRan: "Re: vlookup - #N/A"
- Reply: CoRrRan: "Re: vlookup - #N/A"
- Reply: Frank Kabel: "vlookup - #N/A"
- Reply: Gbonda: "Re: vlookup - #N/A"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|