Forum Discussion
a7024782
Sep 09, 2022Brass Contributor
Redondear promedios negativos
Tengo los siguientes registros en el rango A1:A6
0,50% |
-0,07% |
2,20% |
-0,31% |
-0,13% |
0,30% |
Quiero obtener el promedio de los valores menores a 0 (-0.07%,0.31%,0.13%) que seria 0.17%; uso esta formula: =REDONDEAR(PROMEDIO.SI($A1:$A6;"<0";$A1:$A6);2), pero el resultado devuelto es 0.00%. También necesito incluir en la formula la función SI.ERROR, para evitar el error de dividir por 0.
Alguna sugerencia. Gracias de antemano.
=PROMEDIO(SI(A1:A6<0;A1:A6))
=AVERAGE(IF(A1:A6<0,A1:A6))
Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.
- OliverScheurichGold Contributor
=PROMEDIO(SI(A1:A6<0;A1:A6))
=AVERAGE(IF(A1:A6<0,A1:A6))
Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.
- a7024782Brass ContributorGracias. Ha funcionado muy bien