Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 371
Default Using IF Formula for Vlookup

Thanks very helpful


"David Biddulph" wrote:

I think that for Excel 2007, Stefi intended to suggest
=IFERROR(VLOOKUP(yourarguments),"") as an alternative to Excel 2003's
=IF(ISERROR(VLOOKUP(yourarguments)),"",VLOOKUP(you rarguments))

If you want a zero as the result in the error condition, replace "" in the
formula by 0.
--
David Biddulph

"Geoff" wrote in message
...
Thanks

the value is coming up "TRUE" rather than zero.

Is there a way of excel putting zero instead.
Cheers

"Stefi" wrote:

In Excel2003:
=IF(ISERROR(VLOOKUP(yourarguments)),"",VLOOKUP(you rarguments))
In Excel2007 there is a more compact solution.

For highlighting apply
=ISERROR(VLOOKUP(yourarguments)) as conditional formatting formula!

Regards,
Stefi

"Geoff" ezt Ã*rta:

Hi

I am using Vlookup formula refering to a 2 column table of which the
left is
a code and the right colmn is the amount. if the code is not found I
want it
to come up zero rather than N/A, so if the table is updated in future
with
different codes it will still come up correctly. Maybe it can highlight
the
cell a different colour if it cannot find that code in the table?




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
Alternative formula to the vlookup formula? Victor Excel Worksheet Functions 2 May 12th 08 04:38 PM
convert vlookup formula to link formula AFA Excel Worksheet Functions 0 February 20th 08 04:24 AM
VLOOKUP best formula to use? Rich K. Excel Discussion (Misc queries) 2 August 15th 07 07:20 PM
Excel 2002 VLOOKUP formula or other formula Serge Excel Discussion (Misc queries) 4 February 26th 07 03:56 PM
HELP!!! VLOOKUP Formula Help wnfisba Excel Discussion (Misc queries) 11 June 23rd 06 06:29 PM


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