#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default VLookup Query

Hi everyone

Still rather new to vlookup but loving it so far! I have one question please
I have the following formula but if it the info does not fit into the
request it brings up #N/A how do I change it so that in this situation it
brings up 0% instead?

=VLOOKUP(A4,'ASSESSMENT 3'!$A$4:$BP$1993,2,0)


Thanks as always

Kiwi
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default VLookup Query

You will need some extra formula to build up something like this:
=IF(ISERROR(VLOOKUP(A4,'ASSESSMENT
3'!$A$4:$BP$1993,2,0)),0%,VLOOKUP(A4,'ASSESSMENT 3'!$A$4:$BP$1993,2,0))

Hope it helps
eksh

"Kiwi" wrote:

Hi everyone

Still rather new to vlookup but loving it so far! I have one question please
I have the following formula but if it the info does not fit into the
request it brings up #N/A how do I change it so that in this situation it
brings up 0% instead?

=VLOOKUP(A4,'ASSESSMENT 3'!$A$4:$BP$1993,2,0)


Thanks as always

Kiwi

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default VLookup Query

If you're using Excel 2007:

=IFERROR(VLOOKUP(A4,'ASSESSMENT 3'!$A$4:$BP$1993,2,0),0)

This will work in any version:

=IF(COUNTIF('ASSESSMENT 3'!$A$4:$A$1993,A4),VLOOKUP(A4,'ASSESSMENT
3'!$A$4:$BP$1993,2,0),0)

--
Biff
Microsoft Excel MVP


"Kiwi" wrote in message
...
Hi everyone

Still rather new to vlookup but loving it so far! I have one question
please
I have the following formula but if it the info does not fit into the
request it brings up #N/A how do I change it so that in this situation it
brings up 0% instead?

=VLOOKUP(A4,'ASSESSMENT 3'!$A$4:$BP$1993,2,0)


Thanks as always

Kiwi



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default VLookup Query

Thanks Eksh but I must still be doing something wrong - this does work for
that cell however if I drag the formula down it brings me back with 0% for
everything which is not correct - am I missing a step??

Thanks for your patience

Kiwi


"eksh" wrote:

You will need some extra formula to build up something like this:
=IF(ISERROR(VLOOKUP(A4,'ASSESSMENT
3'!$A$4:$BP$1993,2,0)),0%,VLOOKUP(A4,'ASSESSMENT 3'!$A$4:$BP$1993,2,0))

Hope it helps
eksh

"Kiwi" wrote:

Hi everyone

Still rather new to vlookup but loving it so far! I have one question please
I have the following formula but if it the info does not fit into the
request it brings up #N/A how do I change it so that in this situation it
brings up 0% instead?

=VLOOKUP(A4,'ASSESSMENT 3'!$A$4:$BP$1993,2,0)


Thanks as always

Kiwi

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default VLookup Query

Thank you both this is great.
--
Thanks as always

Kiwi


"T. Valko" wrote:

If you're using Excel 2007:

=IFERROR(VLOOKUP(A4,'ASSESSMENT 3'!$A$4:$BP$1993,2,0),0)

This will work in any version:

=IF(COUNTIF('ASSESSMENT 3'!$A$4:$A$1993,A4),VLOOKUP(A4,'ASSESSMENT
3'!$A$4:$BP$1993,2,0),0)

--
Biff
Microsoft Excel MVP


"Kiwi" wrote in message
...
Hi everyone

Still rather new to vlookup but loving it so far! I have one question
please
I have the following formula but if it the info does not fit into the
request it brings up #N/A how do I change it so that in this situation it
brings up 0% instead?

=VLOOKUP(A4,'ASSESSMENT 3'!$A$4:$BP$1993,2,0)


Thanks as always

Kiwi



.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default VLookup Query

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Kiwi" wrote in message
...
Thank you both this is great.
--
Thanks as always

Kiwi


"T. Valko" wrote:

If you're using Excel 2007:

=IFERROR(VLOOKUP(A4,'ASSESSMENT 3'!$A$4:$BP$1993,2,0),0)

This will work in any version:

=IF(COUNTIF('ASSESSMENT 3'!$A$4:$A$1993,A4),VLOOKUP(A4,'ASSESSMENT
3'!$A$4:$BP$1993,2,0),0)

--
Biff
Microsoft Excel MVP


"Kiwi" wrote in message
...
Hi everyone

Still rather new to vlookup but loving it so far! I have one question
please
I have the following formula but if it the info does not fit into the
request it brings up #N/A how do I change it so that in this situation
it
brings up 0% instead?

=VLOOKUP(A4,'ASSESSMENT 3'!$A$4:$BP$1993,2,0)


Thanks as always

Kiwi



.



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
VLOOKUP query [email protected] Excel Worksheet Functions 6 November 10th 06 09:38 AM
VLookup query mr_teacher Excel Discussion (Misc queries) 1 May 25th 06 08:19 AM
Vlookup query Tester Excel Worksheet Functions 2 December 2nd 05 11:39 PM
Vlookup or If query sydolly Excel Discussion (Misc queries) 1 September 10th 05 03:13 PM
Vlookup query gb_S49 Excel Worksheet Functions 3 January 22nd 05 12:25 PM


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