ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Assistance for the IF Function (https://www.excelbanter.com/excel-discussion-misc-queries/156771-assistance-if-function.html)

Kentucky Hot Brown

Assistance for the IF Function
 
I'm trying to test the condition of Cell A1 for either/or and B1 for
either/or and if C1 is true, display the value of D1

=(IF(OR(A1="SHIP",A1="Postal"),+IF(OR(B1="Debit",B 1="Payment"),"","",+IF(AND(C1="completed"),D1,"")* ),""))

I'm stuck! How should this be?

Thanks in advance





T. Valko

Assistance for the IF Function
 
Maybe this:

=IF(AND(OR(A1={"Ship","Postal"}),OR(B1={"Debit","P ayment"}),C1="Completed"),D1,"")

--
Biff
Microsoft Excel MVP


"Kentucky Hot Brown" <Kentucky Hot wrote in
message ...
I'm trying to test the condition of Cell A1 for either/or and B1 for
either/or and if C1 is true, display the value of D1

=(IF(OR(A1="SHIP",A1="Postal"),+IF(OR(B1="Debit",B 1="Payment"),"","",+IF(AND(C1="completed"),D1,"")* ),""))

I'm stuck! How should this be?

Thanks in advance







Kentucky Hot Brown[_2_]

Assistance for the IF Function
 
Biff.... thanks... You did it!

Ted


"T. Valko" wrote:

Maybe this:

=IF(AND(OR(A1={"Ship","Postal"}),OR(B1={"Debit","P ayment"}),C1="Completed"),D1,"")

--
Biff
Microsoft Excel MVP


"Kentucky Hot Brown" <Kentucky Hot wrote in
message ...
I'm trying to test the condition of Cell A1 for either/or and B1 for
either/or and if C1 is true, display the value of D1

=(IF(OR(A1="SHIP",A1="Postal"),+IF(OR(B1="Debit",B 1="Payment"),"","",+IF(AND(C1="completed"),D1,"")* ),""))

I'm stuck! How should this be?

Thanks in advance








T. Valko

Assistance for the IF Function
 
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Kentucky Hot Brown" wrote in
message ...
Biff.... thanks... You did it!

Ted


"T. Valko" wrote:

Maybe this:

=IF(AND(OR(A1={"Ship","Postal"}),OR(B1={"Debit","P ayment"}),C1="Completed"),D1,"")

--
Biff
Microsoft Excel MVP


"Kentucky Hot Brown" <Kentucky Hot wrote
in
message ...
I'm trying to test the condition of Cell A1 for either/or and B1 for
either/or and if C1 is true, display the value of D1

=(IF(OR(A1="SHIP",A1="Postal"),+IF(OR(B1="Debit",B 1="Payment"),"","",+IF(AND(C1="completed"),D1,"")* ),""))

I'm stuck! How should this be?

Thanks in advance











All times are GMT +1. The time now is 10:39 PM.

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