ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Multiple IF formula (https://www.excelbanter.com/excel-discussion-misc-queries/26874-multiple-if-formula.html)

Kim46770

Multiple IF formula
 
I need a formula that will give me results as follows:

If S1=Bank and E1 or F1=L, 1,0

The response to S1 must be Bank, but either E1 or F1 can be L to count as 1.
Both E1 and F1 don't have to meet the condition, thus the or

Thanks!!

Peo Sjoblom

As I recall you already gotten several answers to your first post regarding
this

=IF(AND(S1="Bank",OR(E1="L",F1="L")),1,0)

or

=(S1="Bank")*((E1="L")+(F1="L"))

Regards,

Peo Sjoblom

"Kim46770" wrote:

I need a formula that will give me results as follows:

If S1=Bank and E1 or F1=L, 1,0

The response to S1 must be Bank, but either E1 or F1 can be L to count as 1.
Both E1 and F1 don't have to meet the condition, thus the or

Thanks!!



All times are GMT +1. The time now is 07:06 PM.

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