Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default If Statement Limit

Insert - Name - Define...
--
HTH...

Jim Thomlinson


"Rob" wrote:

It looks like it will work but I don't know how to name a formula.

"Jim Thomlinson" wrote:

Give Chip's site a look.

http://www.cpearson.com/excel/nested.htm
--
HTH...

Jim Thomlinson


"Rob" wrote:

How do you get around the Limit on the amount of Ifs allowed in a formula??

Here's my code that automatically inserted by a VBA Sub. I have exactly One
to many Ifs in it.


.FormulaR1C1 =
"=IF(R[10]C="""",=IF(RC[2]=FALSE,"""",IF(R[1]C[2]=FALSE,RC[2],IF(R[2]C[2]=FALSE,R[1]C[2],IF(R[3]C[2]=FALSE,R[2]C[2],IF(R[4]C[2]=FALSE,R[3]C[2],IF(R[5]C[2]=FALSE,R[4]C[2],IF(R[6]C[2]=FALSE,R[5]C[2],IF(R[7]C[2]=FALSE,R[6]C[2],R[7]C[2])))))))),=R[10]C)"


Thank You In Advance,
Rob

  #2   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default If Statement Limit

Ooooooo, So I put one of the IF statements into an empty cell and name the
cell then do the same for the rest and finally, apply those names to the cell
I need all of the statements in?

In other words...

Blankworksheet range A1 gets this...
=IF(RC[2]=FALSE,"""",IF(R[1]C[2]=FALSE,RC[2],IF(R[2]C[2]=FALSE,R[1]C[2],IF(R[3]C[2]=FALSE,R[2]C[2],IF(R[4]C[2]=FALSE,R[3]C[2],IF(R[5]C[2]=FALSE,R[4]C[2],IF(R[6]C[2]=FALSE,R[5]C[2],IF(R[7]C[2]=FALSE,R[6]C[2],R[7]C[2]))))))))
....And I name the cell it's in "SomeName"

Needed worksheet get range A16 gets this... =IF(R[10]C="""",SomeName,R[10]C)

I'll give it a go. Thanks Bunches. ;))

Rob


"Jim Thomlinson" wrote:

Insert - Name - Define...
--
HTH...

Jim Thomlinson


"Rob" wrote:

It looks like it will work but I don't know how to name a formula.

"Jim Thomlinson" wrote:

Give Chip's site a look.

http://www.cpearson.com/excel/nested.htm
--
HTH...

Jim Thomlinson


"Rob" wrote:

How do you get around the Limit on the amount of Ifs allowed in a formula??

Here's my code that automatically inserted by a VBA Sub. I have exactly One
to many Ifs in it.


.FormulaR1C1 =
"=IF(R[10]C="""",=IF(RC[2]=FALSE,"""",IF(R[1]C[2]=FALSE,RC[2],IF(R[2]C[2]=FALSE,R[1]C[2],IF(R[3]C[2]=FALSE,R[2]C[2],IF(R[4]C[2]=FALSE,R[3]C[2],IF(R[5]C[2]=FALSE,R[4]C[2],IF(R[6]C[2]=FALSE,R[5]C[2],IF(R[7]C[2]=FALSE,R[6]C[2],R[7]C[2])))))))),=R[10]C)"


Thank You In Advance,
Rob

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
IF statement inside a SUMIF statement.... or alternative method Sungibungi Excel Worksheet Functions 3 December 4th 09 06:22 PM
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Excel Worksheet Functions 0 October 7th 09 09:07 PM
Embedding an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
Nested IF limit or Open parentheses limit Fred Excel Discussion (Misc queries) 5 December 23rd 04 03:34 PM


All times are GMT +1. The time now is 09:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"