Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Vlookup to Equal Zero?

Hello,

I am doing several lookups to several sheets and have attached an example
below. How can I get it to display as zero as opposed to N/A if it can't find
the item looked up?

=VLOOKUP(A2, '9-7Turnover'!$A$1:$F$32, 6, FALSE)

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Vlookup to Equal Zero?

Something like this should do

=if(countif('9-7Turnover'!$A$1:$A$32, A2) = 0, 0, VLOOKUP(A2,
'9-7Turnover'!$A$1:$F$32, 6, FALSE))
--
HTH...

Jim Thomlinson


"57Caddy" wrote:

Hello,

I am doing several lookups to several sheets and have attached an example
below. How can I get it to display as zero as opposed to N/A if it can't find
the item looked up?

=VLOOKUP(A2, '9-7Turnover'!$A$1:$F$32, 6, FALSE)

Thank you

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,081
Default Vlookup to Equal Zero?

Pre-2007

=if(isna(your vlookup formula),0,your vlookup formula)

In v2007 it's

=iferror(your vlookup,0)


"57Caddy" wrote:

Hello,

I am doing several lookups to several sheets and have attached an example
below. How can I get it to display as zero as opposed to N/A if it can't find
the item looked up?

=VLOOKUP(A2, '9-7Turnover'!$A$1:$F$32, 6, FALSE)

Thank you

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Vlookup to Equal Zero?

Try this:

=If(ISNA(Match(A2,'9-7Turnover'!$A$1:$A$32,0)),"",VLOOKUP(A2,
'9-7Turnover'!$A$1:$F$32, 6, 0))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"57Caddy" wrote in message
...
Hello,

I am doing several lookups to several sheets and have attached an example
below. How can I get it to display as zero as opposed to N/A if it can't
find
the item looked up?

=VLOOKUP(A2, '9-7Turnover'!$A$1:$F$32, 6, FALSE)

Thank you



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Vlookup to Equal Zero?

Worked perfect, thank you!

"Jim Thomlinson" wrote:

Something like this should do

=if(countif('9-7Turnover'!$A$1:$A$32, A2) = 0, 0, VLOOKUP(A2,
'9-7Turnover'!$A$1:$F$32, 6, FALSE))
--
HTH...

Jim Thomlinson


"57Caddy" wrote:

Hello,

I am doing several lookups to several sheets and have attached an example
below. How can I get it to display as zero as opposed to N/A if it can't find
the item looked up?

=VLOOKUP(A2, '9-7Turnover'!$A$1:$F$32, 6, FALSE)

Thank you

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
can I make cell "yes" equal 1, "no" equal 0 can I make cell yes equal 1, no equa Excel Discussion (Misc queries) 4 April 22nd 23 06:09 AM
Does not equal phil2006 Excel Discussion (Misc queries) 3 June 21st 06 09:58 AM
sorting with RANK/VLOOKUP (problem with equal ranks) hip Excel Worksheet Functions 2 February 28th 06 06:39 AM
#ref to equal zero cherrynich Excel Worksheet Functions 2 February 6th 06 09:31 PM
Vlookup but also equal to and greater than? dazman Excel Worksheet Functions 1 August 7th 05 05:59 PM


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