Forum Discussion

MAIFG3's avatar
MAIFG3
Copper Contributor
May 26, 2021
Solved

No funciona una fórmula

Buenos días.  En la columna C tengo una fórmula para calcular un promedio sobre las celdas donde hay números. Como en esas celdas tengo puesta una fórmula, no me calcula el promedio. Cuando le quito...
  • HansVogelaar's avatar
    HansVogelaar
    May 27, 2021

    MAIFG3 

    Thank you! The problem is caused by the formulas in columns E:F, I:K and M:O.

    For example in E7:

     

    =SI.ERROR(SI(D7="MB";"10";SI(D7="B";"7,5";SI(D7="R";"5";SI(D7="M";"2,5";" "))));"")

     

    The return values "10", "7,5" etc. are text because of the " ", not numbers! PROMEDIO ignores text values. It should be

     

    =SI.ERROR(SI(D7="MB";10;SI(D7="B";7,5;SI(D7="R";5;SI(D7="M";2,5;""))));"")

     

    See the attached version.