IF And Multiple condition in a statement formula

Jyotirmaya

Board Regular
Joined
Dec 2, 2015
Messages
205
Office Version
  1. 2019
Platform
  1. Windows
I am using a formula =IF(AND(S4="NO",W4="YES"),V4,Q4) in this same cell I want to add another condition that IF(AND(S4="NO",V4="NO"),M4,0) how to add these two ??
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
I don't see how you could combine those conditions:

S4W4V4ResultS4W4V4Result
NONONOQ4NONONOM4
NONOYESQ4NONOYES0
NOYESNOV4NOYESNOM4
NOYESYESV4NOYESYES0
NONONOQ4NONONOM4
NONOYESQ4NONOYES0
NOYESNOV4NOYESNOM4
NOYESYESV4NOYESYES0
YESNONOQ4YESNONO0
YESNOYESQ4YESNOYES0
YESYESNOQ4YESYESNO0
YESYESYESQ4YESYESYES0
YESNONOQ4YESNONO0
YESNOYESQ4YESNOYES0
YESYESNOQ4YESYESNO0
YESYESYESQ4YESYESYES0


From your first IF you have the first truth table. From the second the second table. They are overlapping.
For example if you have S4 = NO, W4 = NO and V4 = NO. From the first IF / truth table you will return Q4, but from the second you would return M4. So which should it be?
I think there is another condition missing or something.
Maybe you can explain what those conditions mean and what your expected result should be?
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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

Which adblocker are you using?

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
Back
Top