Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have an error and I don't know the solution:
Your second condition needs to be a new if
Sum(if(A='1' and B='2',C/2, if (A='1' and B='3',C/4))
I have the error again. My function is:
Sum
(If(ApartadoVta='M2' and Calidad='2',([Cantidad Pedido]*CosteUnitario/2), If(ApartadoVta='M2' And Calidad='3',([Cantidad Pedido]*CosteUnitario/4))
Sorry is this:
missing closing bracket, use code and /code enclosed in square brackets [] to make formulas easier to read.
Sorry, it not the final closing bracket but you need to remove the closing bracket on the first line
if ( <condition>, <true>, <false>)
<false> can again be a full if, if( <condition>,<true>, if (<condition>,<true>,<false>))
Usually when you get a null value (standard display is "-") from formulas it is a broken syntax.
Sorry Martin, I had not answers but the solution are the brackets. Thanks you