ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Using the "or" with "if" (https://www.excelbanter.com/excel-programming/293199-using-if.html)

Dwayne Hoover

Using the "or" with "if"
 
Here is my command:

=IF(D16(D15*0.85),D16*0.01)

Now I also want to add and "or" type command he

=IF(D16(D15*0.85)or (E16E15),D16*0.01)

How would I write it out?

green78[_4_]

Using the "or" with "if"
 
=IF(OR(D16(D15*0.85),E16E15),D16*0.01

--
Message posted from http://www.ExcelForum.com


Bob Phillips[_6_]

Using the "or" with "if"
 
Hi Dwayne,

=IF(OR(D16D15*.85,E16E15),D16*0.01,"")

or (guessing these are percentages)

=IF(OR(D16D15*85%,E16E15),D16*1%,"")


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Dwayne Hoover" wrote in message
om...
Here is my command:

=IF(D16(D15*0.85),D16*0.01)

Now I also want to add and "or" type command he

=IF(D16(D15*0.85)or (E16E15),D16*0.01)

How would I write it out?




Peter atherton

Using the "or" with "if"
 
Dwayne

=IF(OR(D16D15*0.85,E16E15),D16*0.01)

Regards
Peter
-----Original Message-----
Here is my command:

=IF(D16(D15*0.85),D16*0.01)

Now I also want to add and "or" type command he

=IF(D16(D15*0.85)or (E16E15),D16*0.01)

How would I write it out?
.



All times are GMT +1. The time now is 06:56 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com