TeamsMicrosoft
Teams
<1K views

Create conditional column - Formula problem?

Hello,

I want to create a new conditional column the rule would be: =OR(AND([Material]=120 L Antracite",[Quantity]>6);(AND([Material]=1000 L Yellow",[Quantity]>6));"Ok";"Nok") The problem is when I create my column and I do the test, the latter does not interact.

For example, if I create a Material row with "120 L Antracite" and a quantity column of 7, nothing happens.

I tested several approaches with basic formulas but it doesn't work, as you can see here:

Or

Thank you for your help :)

elie-suez
elie-suez / newcomer (8)
 

Answers

Top answer

It seems that there is a problem with the syntax of your conditional column formula. In your formula you forgot to close a quotation mark before "120 L Anthracite", which can cause the formula not to work.

Try this formula:

=IF(OR(AND([material]="120 L anthracite",[quantity]&gt;6),AND([material]="1000 L yellow",[quantity]&gt;6)),"Ok","Nok")

This formula should create a new conditional column that outputs either "Ok" or "Nok" based on the material and quantity column. Make sure you enter the column names in the formula exactly as they appear in your data model.

Once you create the conditional column, the values should automatically update when changes are made to the material and quantity columns.

highmo
highmo / expert (1690)
 

You know a better answer?

The question about Microsoft Teams has already been answered, but there may be a better solution or alternative available by now. If you know it, answer the question now and increase your reputation as an industry expert in our B2B community.

Related Questions Related Questions

filiz
filiz
 
Receive Important Update Messages Stay up to date on Microsoft Teams

Was the content helpful to you?

Advertisement Advertise here?
Banner Logitech