Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Errors encountered when using If & Vlookup formulas

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Errors encountered when using If & Vlookup formulas


Can you post sample file so that it will be easy to sort out problem


--
mubashir aziz
------------------------------------------------------------------------
mubashir aziz's Profile: http://www.thecodecage.com/forumz/member.php?userid=237
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=86726

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Errors encountered when using If & Vlookup formulas

Sorry, it should be calling out Col J and if Col J is blank, then return the
value in Col I..

If Col J = blank, then reflect the value in Col I
If COl I = direct, then reflect "-"

With below formula, even though my Column J has got text info, it's
reflecting the value in Col I

IF(ISBLANK(VLOOKUP($J$2,'Opp
Summary'!$A$1:$N$9996,10,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)),VLOOKUP($J$2,'Opp
Summary'!$A$1:$N$9996,9,FALSE))
--
nikko


"Luke M" wrote:

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

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
Hiding Errors for formulas Kati Excel Worksheet Functions 3 October 15th 08 04:03 AM
VLOOKUP AND N/A ERRORS amy howell Excel Discussion (Misc queries) 6 March 31st 08 02:46 AM
Inexplicable VBA errors in formulas Dallman Ross Excel Discussion (Misc queries) 7 August 11th 07 12:32 AM
errors using Vlookup BLW Excel Worksheet Functions 1 May 19th 05 06:18 PM
Errors in copying formulas Frequent_User Excel Discussion (Misc queries) 1 December 12th 04 12:00 AM


All times are GMT +1. The time now is 12:57 PM.

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"