Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Mulitple if function

Hi
I have this problem
I have many conditions for if function
In C9 I have either “ok” or “not ok, if it is “ok” the cell h11 that
should be equal or greater than either 12, and if “not ok” the cell
h11 should be equal or greater than 9
I used (if) function and (and) function to check that if c9 is ok and
h11 is equal or greater than 12, then the result should be either =h11
or “bad”, but I can use if function to check if it is “not ok” and h11
equal or greater than 9, in the same formulae, is that possible to use
2 if functions in one formulae? Any help
if(and(C9="not
ok";and('H11=9;H11;if(and(C9="ok";and(H11=12;H11 ;"bad")))))
The message is too many arguments
Thanks in advance
Jam
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Mulitple if function

Try this

=IF((C9="ok")*(H11=12),H11,IF((C9="not ok")*(H11=9),H11,"bad"))



On Sep 18, 7:47*am, wrote:
Hi
I have this problem
I have many conditions for if function
In C9 I have either “ok” or “not ok, if it is “ok” the cell h11 that
should be equal or greater than either 12, and if “not ok” the cell
h11 should be equal or greater than 9
I used (if) function and (and) function to check that if c9 is ok and
h11 is equal or greater than 12, then the result should be either =h11
or “bad”, but I can use if function to check if it is “not ok” and h11
equal or greater than 9, in the same formulae, is that possible to use
2 if functions in one formulae? Any help
if(and(C9="not
ok";and('H11=9;H11;if(and(C9="ok";and(H11=12;H11 ;"bad")))))
The message is too many arguments
Thanks in advance
Jam


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Mulitple if function

=IF(C9="ok",IF(H11=12,H11,"bad"),IF(H11=9,H11,"b ad"))

--
__________________________________
HTH

Bob

wrote in message
...
Hi
I have this problem
I have many conditions for if function
In C9 I have either “ok” or “not ok, if it is “ok” the cell h11 that
should be equal or greater than either 12, and if “not ok” the cell
h11 should be equal or greater than 9
I used (if) function and (and) function to check that if c9 is ok and
h11 is equal or greater than 12, then the result should be either =h11
or “bad”, but I can use if function to check if it is “not ok” and h11
equal or greater than 9, in the same formulae, is that possible to use
2 if functions in one formulae? Any help
if(and(C9="not
ok";and('H11=9;H11;if(and(C9="ok";and(H11=12;H11 ;"bad")))))
The message is too many arguments
Thanks in advance
Jam


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
COUNTIF Function with mulitple criteria? Corey Excel Worksheet Functions 6 January 28th 07 02:02 PM
Mulitple formulas Joey041 Excel Discussion (Misc queries) 1 November 16th 06 02:48 AM
Lookup function with mulitple conditions Tiffany Excel Worksheet Functions 7 August 21st 06 06:40 AM
mulitple formulas charlie Excel Worksheet Functions 8 January 25th 06 08:34 PM
Changes to Mulitple Worksheets Mac Landers Excel Worksheet Functions 3 January 26th 05 12:59 AM


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