Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
KenRamoska
 
Posts: n/a
Default How do I throw in an ISERROR function on a complicated VVLOOKUP?

Hi, I have a working VLOOKUP below. Of course the desitination cell says #N/A
until I put something in A6. I tried ISERROR but it says too many arguments.
Did I do this wrong? Can anyone help? Thanks.


=IF(VLOOKUP(A6,CSM,8)="X","X",IF(VLOOKUP(A6,NPM,8) ="X","X",IF(VLOOKUP(A6,PM,8)="X","X"," ")))
  #3   Report Post  
swatsp0p
 
Posts: n/a
Default


Try this:

=IF(A6="","",IF(VLOOKUP(A6,CSM,8)="X","X",IF(VLOOK UP(A6,NPM,8)="X","X",IF(VLOOKUP(A6,PM,8)="X","X","
"))))

when A6 is blank, your target cell will return a blank, when A6 is not
blank, the remainder of your formula is processed.

Note: I notice you have the formula return a space (" ") if none of
the ranges contain "X". If you want simply to return a blank cell, use
"" (without the space between the quote marks).

HTH

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=380513

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



All times are GMT +1. The time now is 02:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"