Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 360
Default nested if still has too many arguments

It still has too many arguments. Is it the ending "" null values? I tried
it without and with i.e. ,""),""),""),"").

=IF(LEFT(C2,4),"ur01","88.89.251.188",IF(LEFT(C2,4 ),"ur02","88.89.251.189",IF(LEFT(C2,4),"ur03","88. 89.251.192",if(left(C2,4),"ur04","88.89.251.193")) ))

tia,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,081
Default nested if still has too many arguments

Please don't start a new thread - re-post to the first thread.

Your syntax is wrong

=IF(LEFT(C2,4),"ur01" has to be changed to

=IF(LEFT(C2,4)="ur01"

"Janis" wrote:

It still has too many arguments. Is it the ending "" null values? I tried
it without and with i.e. ,""),""),""),"").

=IF(LEFT(C2,4),"ur01","88.89.251.188",IF(LEFT(C2,4 ),"ur02","88.89.251.189",IF(LEFT(C2,4),"ur03","88. 89.251.192",if(left(C2,4),"ur04","88.89.251.193")) ))

tia,

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default nested if still has too many arguments

Or second thread!

Duke Carey wrote:

Please don't start a new thread - re-post to the first thread.

Your syntax is wrong

=IF(LEFT(C2,4),"ur01" has to be changed to

=IF(LEFT(C2,4)="ur01"

"Janis" wrote:

It still has too many arguments. Is it the ending "" null values? I tried
it without and with i.e. ,""),""),""),"").

=IF(LEFT(C2,4),"ur01","88.89.251.188",IF(LEFT(C2,4 ),"ur02","88.89.251.189",IF(LEFT(C2,4),"ur03","88. 89.251.192",if(left(C2,4),"ur04","88.89.251.193")) ))

tia,


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 360
Default nested if still has too many arguments

Okay, thanks.

"Duke Carey" wrote:

Please don't start a new thread - re-post to the first thread.

Your syntax is wrong

=IF(LEFT(C2,4),"ur01" has to be changed to

=IF(LEFT(C2,4)="ur01"

"Janis" wrote:

It still has too many arguments. Is it the ending "" null values? I tried
it without and with i.e. ,""),""),""),"").

=IF(LEFT(C2,4),"ur01","88.89.251.188",IF(LEFT(C2,4 ),"ur02","88.89.251.189",IF(LEFT(C2,4),"ur03","88. 89.251.192",if(left(C2,4),"ur04","88.89.251.193")) ))

tia,

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default nested if still has too many arguments

="88.89.251."&VLOOKUP(LEFT(C2,4),{"ur01",188;"ur02 ",189;"ur03",192;"ur04",193},2,0)


"Janis" wrote:

It still has too many arguments. Is it the ending "" null values? I tried
it without and with i.e. ,""),""),""),"").

=IF(LEFT(C2,4),"ur01","88.89.251.188",IF(LEFT(C2,4 ),"ur02","88.89.251.189",IF(LEFT(C2,4),"ur03","88. 89.251.192",if(left(C2,4),"ur04","88.89.251.193")) ))

tia,

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
3 level nested if has too many arguments ? Janis Excel Discussion (Misc queries) 4 September 5th 07 04:59 PM
Nested IF's with Logical Arguments - Doing something wrong here ConfusedNHouston Excel Discussion (Misc queries) 1 December 1st 06 03:04 AM
Nested IF's with Logical Arguments - Doing something wrong here PapaDos Excel Discussion (Misc queries) 0 November 30th 06 05:13 PM
Nested IF's with Logical Arguments - Doing something wrong here Dave F Excel Discussion (Misc queries) 0 November 30th 06 04:03 PM
I have run out of arguments for nested IF statement christopherp Excel Discussion (Misc queries) 5 March 19th 06 12:26 PM


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