If/ case statement help please

Imran Azam

Board Regular
Joined
Mar 15, 2011
Messages
103
Hi guys

i have the data below which defines the rule of YES/NO and Final Outcome
namesetstatusactionYES/NOFinal Outcome
TRUETRUEyesinstall
FALSETRUEyesclose
TRUEFALSEnofix
TRUETRUEnofreeze
yesleave

<tbody>
</tbody>

<tbody>
</tbody>

I need a If statement or another formula to pick up all the above rules to the below data to pick up the correct YES/NO and Final Outcome fields

systemnamesetstatusactionyes/nofinal outcome
1TRUEFALSEFALSEFALSE

<tbody>
</tbody>
the formula needs to pick up no for the yes/no field and fix for final outcome field

can this be done?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Try these:

=VLOOKUP(SUMPRODUCT((B2:E2)*{1,2,4,8}),{10,"yes";2,"yes";1,"no";6,"no";0,"yes"},2,0) for yes/no
=VLOOKUP(SUMPRODUCT((B2:E2)*{1,2,4,8}),{10,"install";2,"close";1,"fix";6,"freeze";0,"leave"},2,0) for final outcome
 
Upvote 0
Try these:

=VLOOKUP(SUMPRODUCT((B2:E2)*{1,2,4,8}),{10,"yes";2,"yes";1,"no";6,"no";0,"yes"},2,0) for yes/no
=VLOOKUP(SUMPRODUCT((B2:E2)*{1,2,4,8}),{10,"install";2,"close";1,"fix";6,"freeze";0,"leave"},2,0) for final outcome

thank you for this but this will only work if its stays like this I want it dynamic , so if the fields are changed it picks the correct data for the yes/no and final outcome fields, thank you for your help

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
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