mbsalim

New Member
Joined
Jan 20, 2015
Messages
16
Hi Geniuses!

so, multiple if statement, scenario;

Various formulas giving a yes or no or (any other specific value)

so i want the last column to be a if statement saying if the answer to any of the columns to the left is yes than be a yes if not then no. I got the below but it does not seem to work.


=IF(L2="Specific value","Yes",IF(L2="specific value2","Yes",IF(S2="specific value 3","Yes",IF(T2="specific value 4",IF(U2="Yes","Yes",IF(W2="Yes","Yes",IF(Y2="Yes","Yes","No")))))))

any help will be much appreciated

Thanks!!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
hi mbsalim,

it would be easier to count if there's any "yes" instead of adding separate formula part for each target cell...

for example if your questions are in column B from row 1 to 6, you would use:
=COUNTIF(B1:B6;"yes")

you can add one IF function around it, that if there are 0 'yes' it returns "no" otherwise "yes"
=IF(COUNTIF(B1:B6;"yes")=0;"no";"yes")
 
Upvote 0
ill throw in an array one just because

=IF(SUM(IF(L2:Z2="value",1,0))>0,"Yes","No")
(ctrl+shft+enter)
 
Upvote 0

Forum statistics

Threads
1,216,267
Messages
6,129,792
Members
449,535
Latest member
Piaskun

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