Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Brad Larsen
 
Posts: n/a
Default Multiple True's in IF Formula's

Hello -

Is it possible to write a formula that includes the option for multiple true
statements?

Here my formula that works for one true statement:

=(IF(K16="1 of 4",IF(I1660,"0",(IF(I16<11,"2",IF(I1610,"1","2") ))),0))

the formula considers the true statment and then refers to another cell's
information to determine the value to include. In this case "1 of 4" is the
true statement. I want to include two other possible true statments that
follow the same formula "5 of 20" and "25%"

How can i do this?

Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Beege
 
Posts: n/a
Default Multiple True's in IF Formula's

Brad,

Didn't I see this before?

Use OR

=(IF(OR(K16="1 of 4", K16="5 of 20",
K16="25%"),IF(I1660,"0",(IF(I16<11,"2",IF(I1610, "1","2")))),0))

That's if the other two inclusions are in K16

Beege.




"Brad Larsen" wrote in message
...
Hello -

Is it possible to write a formula that includes the option for multiple
true
statements?

Here my formula that works for one true statement:

=(IF(K16="1 of 4",IF(I1660,"0",(IF(I16<11,"2",IF(I1610,"1","2") ))),0))

the formula considers the true statment and then refers to another cell's
information to determine the value to include. In this case "1 of 4" is
the
true statement. I want to include two other possible true statments that
follow the same formula "5 of 20" and "25%"

How can i do this?

Thank you!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Brad Larsen
 
Posts: n/a
Default Multiple True's in IF Formula's

Yes - you did see this before - but that hasn't worked for me. Any other
suggestions?

"Beege" wrote:

Brad,

Didn't I see this before?

Use OR

=(IF(OR(K16="1 of 4", K16="5 of 20",
K16="25%"),IF(I1660,"0",(IF(I16<11,"2",IF(I1610, "1","2")))),0))

That's if the other two inclusions are in K16

Beege.




"Brad Larsen" wrote in message
...
Hello -

Is it possible to write a formula that includes the option for multiple
true
statements?

Here my formula that works for one true statement:

=(IF(K16="1 of 4",IF(I1660,"0",(IF(I16<11,"2",IF(I1610,"1","2") ))),0))

the formula considers the true statment and then refers to another cell's
information to determine the value to include. In this case "1 of 4" is
the
true statement. I want to include two other possible true statments that
follow the same formula "5 of 20" and "25%"

How can i do this?

Thank you!




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default Multiple True's in IF Formula's


Hi Brad

Beege's suggestion seems sensible enough to me - you might try
explaining why that doesn't work for you - it may make it easier for
others to understand your aim.

Just looking at your initial formula I think you could tidy it up a
bit, you wouldn't normally use quotes around numbers unless you have a
particular reason to so...

=IF(K16="1 of 4",IF(I16<11,2,IF(I16<61,1,0)))

now, what's the extra bit?


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=515962

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
Changing multiple formulas at one time poorsister Excel Worksheet Functions 2 January 6th 06 04:41 PM
Multiple "if" formulas T_Sr New Users to Excel 3 January 4th 06 01:39 AM
Formulas for Multiple sheets in a workbook Gary Excel Discussion (Misc queries) 1 October 4th 05 07:59 PM
Inserting Multiple Rows with Formulas ShineboxNJ Excel Worksheet Functions 2 November 18th 04 02:30 AM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


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