Simplify if-statement

eirikdaude

Board Regular
Joined
Nov 26, 2013
Messages
93
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet in which the user enters the answer to several yes / no questions and based on these answers I want to decide whether a certain row contains a "Vesentlig anvendelse".

The flow to decide whether it does follows this chart, where "ja" = "yes" and "nei" = "no":

1606987953302.png


The table in my spreadsheet looks like this,

1606988014390.png


where columns I to L contains the answers to the questions, and column M contains the answer to whether it's a "Vesentlig anvendelse".

The formula I've come up with is

Excel Formula:
=IF([@[Myndighet-, lokal-, sentralkrav?]]="Ja";"Ja";IF([@[Stort potensial?]]="Ja";IF([@[Økonomisk bærekraftig?]]="Ja";"Ja";"Nei");IF([@[Vanskelig å gjennomføre]]="Nei";IF([@[Økonomisk bærekraftig?]]="Ja";"Ja";"Nei");"Nei")))

but I feel it is rather big and clunky. Do you guys see any way to simplify this?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
It probably just looks big due to the length of the table names, there are only 5 IF's in the formula which is quite reasonable for what you're doing.
Trying to reduce the number of functions in this instance would quite possibly cause errors in the results.
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,310
Members
452,906
Latest member
phanmemchatdakenhupviral

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