 SOLVED

# no funciona fórmula de suma para un rango de datos

cuando realizo una suma de un rango de datos y modifico alguno de estos datos, no se cambia el resultado. Está en cálculo automático y las celdas tienen formato numérico.

8 Replies

# Re: no funciona fórmula de suma para un rango de datos

On the Formulas tab of the ribbon, make sure that Calculation Options is set to Automatic.

En la pestaña Fórmulas de la cinta, asegúrese de que 'Opciones para el cálculo' esté configurado en Automático.

# Re: no funciona fórmula de suma para un rango de datos

Thank you!! It's set to Automatic, but it still doesn't work.

# Re: no funciona fórmula de suma para un rango de datos

Could you attach a small sample workbook without sensitive information? Thanks in advance.

# Re: no funciona fórmula de suma para un rango de datos

@Hans Vogelaar  Thank you!! Here it is, if you change the cells highlighted with yellow, there is no change in the green cell value.

# Re: no funciona fórmula de suma para un rango de datos

The formula in P68 is

=L68-M68-N68-O68

and that in Q68 is

=SUM(M68:P68)

which is equivalent to

=M68+N68+O68+P68.

So the result is

=M68+N68+O68+L68-M68-N68-O68

and that is equivalent to

=L68

So the value in Q68 is equal to that of L68, and it not dependent on M68, N68 and O68!

# Re: no funciona fórmula de suma para un rango de datos

@Hans Vogelaar  the value that doesn´t  change is S68, that cell is dependent on N68, O68 and P68. If I change O68, the value of S68 does not change.

best response confirmed by letlira (Occasional Contributor)
Solution

# Re: no funciona fórmula de suma para un rango de datos

The formula in S68 is =SUM(N68:P68) or =N68+O68+P68

The formula in P68 is =L68-M68-N68-O68

So the formula in S68 is equivalent to

=N68+O68+L68-M68-N68-O68

and that is equivalent to

=L68-M68

So S68 depends on L68 and M68, but not on N68 or O68.

# Re: no funciona fórmula de suma para un rango de datos

Ohhh of course!! Sorry!!! Thank you!! I got it!!!