#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default If condition error

Hi,

I am not getting the result for the below mentioned formula. I request any
one of you to help me in resolving the error.

Error : "You have entered too many arguments for this function"

Formula : =IF(ISERROR(VLOOKUP(CB2,Master!$G:$H,2,0)),IF(VLOO KUP('Base
Data'!G2,Master!$E:$F,2,0)="AS",VLOOKUP('Base
Data'!I2,Master!$A:$C,3,0),IF(VLOOKUP('Base
Data'!G2,Master!$E:$F,2,0)="CS",VLOOKUP('Base
Data'!I2,Master!$A:$D,4,0)),VLOOKUP(CB2,Master!$G: $H,2,0))

Also pls tell me I have 3 nested if conditions here. So I will have 3 false
values accordingly. 1st false value shud be closed at first or last (at the
end of the formual)

Ex : if(1,X,2,Y,3,Z,3,1) or if(1,X,2,Y,3,Z,1,3)

-Christ
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default If condition error

5 row formula which has Data'!I2,Master!$A:$D,4,0)) remove one
bracket...and add two more bracket (closing bracket) at the end.

I think u will be able to get the result




On Mar 28, 12:44*pm, Christopher Naveen
wrote:
Hi,

I am not getting the result for the below mentioned formula. I request any
one of you to help me in resolving the error.

Error : "You have entered too many arguments for this function"

Formula : =IF(ISERROR(VLOOKUP(CB2,Master!$G:$H,2,0)),IF(VLOO KUP('Base
Data'!G2,Master!$E:$F,2,0)="AS",VLOOKUP('Base
Data'!I2,Master!$A:$C,3,0),IF(VLOOKUP('Base
Data'!G2,Master!$E:$F,2,0)="CS",VLOOKUP('Base
Data'!I2,Master!$A:$D,4,0)),VLOOKUP(CB2,Master!$G: $H,2,0))

Also pls tell me I have 3 nested if conditions here. So I will have 3 false
values accordingly. 1st *false value shud be closed at first or last (at the
end of the formual)

Ex : if(1,X,2,Y,3,Z,3,1) or if(1,X,2,Y,3,Z,1,3)

-Christ


  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default If condition error

Try pasting this revision into your formula bar:
=IF(ISERROR(VLOOKUP(CB2,Master!$G:$H,2,0)),
IF(VLOOKUP('Base Data'!G2,Master!$E:$F,2,0)="AS",
VLOOKUP('Base Data'!I2,Master!$A:$C,3,0),
IF(VLOOKUP('Base Data'!G2,Master!$E:$F,2,0)="CS",
VLOOKUP('Base Data'!I2,Master!$A:$D,4,0),
VLOOKUP(CB2,Master!$G:$H,2,0))))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Christopher Naveen" wrote:
Hi,

I am not getting the result for the below mentioned formula. I request any
one of you to help me in resolving the error.

Error : "You have entered too many arguments for this function"

Formula : =IF(ISERROR(VLOOKUP(CB2,Master!$G:$H,2,0)),IF(VLOO KUP('Base
Data'!G2,Master!$E:$F,2,0)="AS",VLOOKUP('Base
Data'!I2,Master!$A:$C,3,0),IF(VLOOKUP('Base
Data'!G2,Master!$E:$F,2,0)="CS",VLOOKUP('Base
Data'!I2,Master!$A:$D,4,0)),VLOOKUP(CB2,Master!$G: $H,2,0))

Also pls tell me I have 3 nested if conditions here. So I will have 3 false
values accordingly. 1st false value shud be closed at first or last (at the
end of the formual)

Ex : if(1,X,2,Y,3,Z,3,1) or if(1,X,2,Y,3,Z,1,3)

-Christ

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
Error in the IF condition Mahesh[_2_] Excel Discussion (Misc queries) 2 April 9th 07 08:37 AM
IF condition Nesting limit error vandenberg p New Users to Excel 0 June 23rd 06 03:52 AM
IF condition Nesting limit error CLR New Users to Excel 0 June 21st 06 01:09 PM
IF condition Nesting limit error VBA Noob New Users to Excel 0 June 21st 06 08:27 AM
Condition now returns error Pat Excel Worksheet Functions 2 February 20th 05 09:18 PM


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