Forum Discussion
Eleaamx
Jul 28, 2022Copper Contributor
Error #DIV/0! for average function
Hi ! I'm working in a spanish Excel and I try to make the average of 2 numbers with a simple formula : =PROMEDIO(F16;F17) The numbers "3" you see are in Number format so I don't understand why ...
- Jul 28, 2022
Eleaamx I suspect that the numbers "3" are in fact texts. Setting the cell format to Numbers does not transform them to numbers. Are these perhaps resulting from an IF function where you entered "3" to be the result? Thus a 3 between quotation marks.
Try this formula:
=PROMEDIO(--(F16);--(F17))
The double hyphen forces Excel to see both threes as numbers. Does that produce a number?
You can also try =ISNUMBER(F16) and the same for F7. If the result is FALSE you are dealing with texts, hence the DIV0 error.