#1   Report Post  
Posted to microsoft.public.excel.misc
Droman
 
Posts: n/a
Default IF: Argument problem

I am aware that the max # of (IF) arguments is 8. the following formula use
all 8 but when i try and add another function to it i get an error message.

=IF($O$7="1552.52 / 1530.33",CONCATENATE(tx52type,"
",tx52a1),IF($O$7="1549.32 / 1536.61",CONCATENATE(tx49type,"
",tx49a1),IF($O$7="1555.75 / 1533.47",CONCATENATE(tx55type,"
",tx55a1),IF($O$7="1558.98 / 1538.19",CONCATENATE(tx58type,"
",tx58a1),IF($O$7="1550.92 / 1528.77",CONCATENATE(tx50type,"
",tx50a1),IF($O$7="1554.13 / 1531.90",CONCATENATE(tx54type,"
",tx54a1),IF($O$7="1558.17 / 1538.98",CONCATENATE(tx58.17type,"
",tx58aa1),IF($O$7="1547.72 / 1539.77",tx47type,W7))))))))

I would like to add one more concatenate statment to the last if statement
but it will not allow me to. WHY?

here is what i need it to say when i am done.

=IF($O$7="1552.52 / 1530.33",CONCATENATE(tx52type,"
",tx52a1),IF($O$7="1549.32 / 1536.61",CONCATENATE(tx49type,"
",tx49a1),IF($O$7="1555.75 / 1533.47",CONCATENATE(tx55type,"
",tx55a1),IF($O$7="1558.98 / 1538.19",CONCATENATE(tx58type,"
",tx58a1),IF($O$7="1550.92 / 1528.77",CONCATENATE(tx50type,"
",tx50a1),IF($O$7="1554.13 / 1531.90",CONCATENATE(tx54type,"
",tx54a1),IF($O$7="1558.17 / 1538.98",CONCATENATE(tx58.17type,"
",tx58aa1),IF($O$7="1547.72 / 1539.77",CONCATENATE(tx58.17type,"
",tx58aa1),W7))))))))

Sorry for the short cell id's but i had to do this so i would not reach
excel's max char lenght.
David
  #2   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default IF: Argument problem

I'm not an expert but I'm guessing that you have reached the limit for that
formula.

From what I can tell, you're using the 3rd and 4th character from the left
to merge named cells, except maybe 1 (tx58.17type) which doesn't seem to
follow the same format. If so then maybe this would help:

=IF(MID($O$7,3,5)="58.17",tx58.17&"
"&tx58aa1,IF(ISERROR(INDIRECT("tx"&MID($O$7,3,2)&" type")&"
"&INDIRECT("tx"&MID($O$7,3,2)&"a1")),W7,INDIRECT(" tx"&MID($O$7,3,2)&"type")&"
"&INDIRECT("tx"&MID($O$7,3,2)&"a1")))

HTH
JG

"Droman" wrote:

I am aware that the max # of (IF) arguments is 8. the following formula use
all 8 but when i try and add another function to it i get an error message.

=IF($O$7="1552.52 / 1530.33",CONCATENATE(tx52type,"
",tx52a1),IF($O$7="1549.32 / 1536.61",CONCATENATE(tx49type,"
",tx49a1),IF($O$7="1555.75 / 1533.47",CONCATENATE(tx55type,"
",tx55a1),IF($O$7="1558.98 / 1538.19",CONCATENATE(tx58type,"
",tx58a1),IF($O$7="1550.92 / 1528.77",CONCATENATE(tx50type,"
",tx50a1),IF($O$7="1554.13 / 1531.90",CONCATENATE(tx54type,"
",tx54a1),IF($O$7="1558.17 / 1538.98",CONCATENATE(tx58.17type,"
",tx58aa1),IF($O$7="1547.72 / 1539.77",tx47type,W7))))))))

I would like to add one more concatenate statment to the last if statement
but it will not allow me to. WHY?

here is what i need it to say when i am done.

=IF($O$7="1552.52 / 1530.33",CONCATENATE(tx52type,"
",tx52a1),IF($O$7="1549.32 / 1536.61",CONCATENATE(tx49type,"
",tx49a1),IF($O$7="1555.75 / 1533.47",CONCATENATE(tx55type,"
",tx55a1),IF($O$7="1558.98 / 1538.19",CONCATENATE(tx58type,"
",tx58a1),IF($O$7="1550.92 / 1528.77",CONCATENATE(tx50type,"
",tx50a1),IF($O$7="1554.13 / 1531.90",CONCATENATE(tx54type,"
",tx54a1),IF($O$7="1558.17 / 1538.98",CONCATENATE(tx58.17type,"
",tx58aa1),IF($O$7="1547.72 / 1539.77",CONCATENATE(tx58.17type,"
",tx58aa1),W7))))))))

Sorry for the short cell id's but i had to do this so i would not reach
excel's max char lenght.
David

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
text argument in vlook up which has a "" carlosgdlf Excel Worksheet Functions 6 August 3rd 05 01:46 PM
read in Vlookup an argument that has quotations(") carlosgdlf Excel Discussion (Misc queries) 1 August 2nd 05 05:56 PM
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM


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