Computing.Net > Forums > Office Software > help with VLookup

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

help with VLookup

Reply to Message Icon

Name: HB Hays
Date: January 6, 2005 at 09:46:26 Pacific
OS: xp
CPU/Ram: cpu 2.93 mhz/ram 1024
Comment:

Here's my existing formula (Thanks to all of your help) =VLOOKUP(A1,'Zone 1'!$C$4:$D$1288,2,FALSE)

If it looks up A1 and doesn't find it on the 'zone 1' sheet, can I have it:
a. return a zero?
b. return a word that will allow me to sum the column and the word won't screw up the formula?

If so, what would the formulas look like?



Sponsored Link
Ads by Google

Response Number 1
Name: Grok Lobster
Date: January 6, 2005 at 10:13:40 Pacific
Reply:

=IF(ISERROR(VLOOKUP(A1,F7:F12,1,FALSE)),"not found","found")

Change the references as needed


0

Response Number 2
Name: HB Hays
Date: January 6, 2005 at 11:07:55 Pacific
Reply:

Grok,
I can't thank you enough. It works perfectly! Thanks again.


0

Response Number 3
Name: HB Hays
Date: January 6, 2005 at 11:24:36 Pacific
Reply:

Grok,
It worked fine on ones that had an error, but now the lookups that should return a value, say "false" ????

I'm using:

=IF(ISERROR(VLOOKUP(A1,'Zone 1'!$C$4:$D$1288,2,FALSE)),"EMPTY")


0

Response Number 4
Name: ps-acc-320
Date: January 6, 2005 at 12:32:25 Pacific
Reply:


=IF(ISERROR(VLOOKUP(A1,'Zone 1'!$C$4:$D$1288,2,FALSE)),"EMPTY",VLOOKUP(A1,'Zone 1'!$C$4:$D$1288,2,FALSE))


0

Response Number 5
Name: Bryco
Date: January 6, 2005 at 12:40:47 Pacific
Reply:

Or
=IF(ISERROR(VLOOKUP(A1,'Zone 1'!$C$4:$D$1288,2,FALSE)),0,VLOOKUP(A1,'Zone 1'!$C$4:$D$1288,2,FALSE))
Meaning if error is found then zero else vlookup.
so you can have a workable value.

Bryan



0

Related Posts

See More



Response Number 6
Name: Grok Lobster
Date: January 6, 2005 at 13:38:11 Pacific
Reply:

The gist of it is that you need another response in your formula after "empty" for the condition where it is not empty. You can enter the vlookup formula as ps-acc and Bryan did or you can enter text or the result of another formula.

=IF(ISERROR(VLOOKUP(A1,'Zone 1'!$C$4:$D$1288,2,FALSE)),"EMPTY","NOT EMPTY")


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: help with VLookup

Need help with IF statement in Exce www.computing.net/answers/office/need-help-with-if-statement-in-exce/5152.html

Help With Excel Please. www.computing.net/answers/office/help-with-excel-please/4289.html

Help with strange Excel Formula www.computing.net/answers/office/help-with-strange-excel-formula/4244.html