# If And or If Or??

#### callahanska

##### New Member
Trying to write a formula that answers the following:

If x618=TRUE, then M618, else z618*.75 UNLESS M618=0 then z618*.75

Probably super simple for some of you.

Thanks!

### Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Something like this?

=IF(M618=0,Z618*0.75,IF(X618,M618,Z618*0.75))

Try

Code:
=IF(AND(X618=TRUE,M618=0),Z618*0.75,M618)

=IF(M618=0,Z618*0.75,IF(X618,M618,Z618*0.75))
Hope this can help you !

Replies
5
Views
49
Replies
5
Views
193
Replies
2
Views
168
Replies
2
Views
120
Replies
18
Views
320

Threads
1,202,984
Messages
6,052,910
Members
444,612
Latest member
FajnaAli

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

### Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

### Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back