View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default Errors encountered when using If & Vlookup formulas

You've got your True/False conditions swapped, and you're calling out columns
J, then I, opposite of what you say in example.

What you asked in example:

=IF(ISBLANK(VLOOKUP($J$2,'Opp
Summary'!$A$1:$N$9996,9,FALSE)),IF(VLOOKUP($J$2,'O pp
Summary'!$A$1:$N$9996,10,FALSE)="Direct", "-",VLOOKUP($J$2,'Opp
Summary'!$A$1:$N$9996,10,FALSE)),VLOOKUP($J$2,'Opp
Summary'!$A$1:$N$9996,9,FALSE))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"nikko" wrote:

Hi
Need some help here..

Trying to have the formula to lookup J2 field in the Opp Summary spreadsheet
and return Col I value. If Col I value is blank, then return the value in Col
J.
If Col J value = direct, then show "-"

encountered #Name error for below formula ... any help / advice
appreciated. thanks!

IF(ISBLANK(VLOOKUP($J$2,'Opp Summary'!$A$1:$N$9996,10,FALSE)),
VLOOKUP($J$2,'Opp Summary'!$A$1:$N$9996,9,FALSE), IF(VLOOKUP($J$2,'Opp
Summary'!$A$1:$N$9996,9,FALSE)="Direct", "-", VLOOKUP($J$2,'Opp
Summary'!$A$1:$N$9996,9,FALSE)))
--
nikko