#1   Report Post  
Jose Mourinho
 
Posts: n/a
Default IF statements

Require
Case 1 true if a<=0.75*bc
Case 2 true if a0.75*b0.75*c
Error if else

The IF statement doesn't like this. Maybe some AND needs to go in too though
can't get the syntax right.

Seasons greetings

JM
  #2   Report Post  
Jose Mourinho
 
Posts: n/a
Default

got it. For anyone with a similar issue..

=IF(AND(W16(0.75*X16),(0.75*X16)(Y16*0.75)),"Cas e1",(IF(AND(W16<=(0.75*X16),(0.75*X16)Y16),"Case2 ","ERROR")))

"Jose Mourinho" wrote:

Require
Case 1 true if a<=0.75*bc
Case 2 true if a0.75*b0.75*c
Error if else

The IF statement doesn't like this. Maybe some AND needs to go in too though
can't get the syntax right.

Seasons greetings

JM

  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

I am not sure I understand what you are trying to do, maybe something like
this?

=IF(AND(A1<=0.75*B1,C10.75*B1),1,IF(AND(A10.75*B 1,0.75*C1<0.75*B1),2,NA()))


Regards,

Peo Sjoblom

"Jose Mourinho" wrote:

Require
Case 1 true if a<=0.75*bc
Case 2 true if a0.75*b0.75*c
Error if else

The IF statement doesn't like this. Maybe some AND needs to go in too though
can't get the syntax right.

Seasons greetings

JM

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
2 If Statements between 2 values Q John Excel Worksheet Functions 4 December 13th 04 03:37 PM
4 different if statements, not working Brian Excel Worksheet Functions 5 December 12th 04 08:17 PM
Macro to find and delete all FALSE statements Woody13 Excel Discussion (Misc queries) 3 December 8th 04 11:16 PM
Unresolved Errors in IF Statements - Errors do not show in results Markthepain Excel Worksheet Functions 2 December 3rd 04 08:49 AM
If statements Mark Excel Worksheet Functions 3 November 2nd 04 08:39 PM


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