Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3180

Nested if statment

$
0
0

Hello,

 

I'm trying to see if there's a way to have an if statement with multiple true answers for the same object, see example below. The formula below ignores the "Overall" since A and B have already been accounted for. Is there another way to go around this?

 

 

=If([LOB]="A"; "1"; If([LOB]="B"; "2"; If([LOB]="A"; "Overall"; If([LOB]="B"; "Overall"))))

 

 

 

This variable will be used for a cross table containing mean values (measure in universe where average function has been applied). I need an "overall" column but the average function that can be used for the table is not generating the right number since it's simply adding the two means and dividing it by 2.

 

Thanks,

Philip


Viewing all articles
Browse latest Browse all 3180

Trending Articles