Forum Discussion
formulas
Hello,
I was wondering (hoping really)
When using excel and you are wanting to calculate a row, is it possible to calculate the numbers even when there is text there too??
4 Replies
- Haytham AmairahSilver Contributor
Hi,
You can add up a column of numbers even if there are some cells in that column have texts!
This can be done by using SUM function as the below Example:
The formula in cell A11 is this:
=SUM(A1:A10)
This is because the SUM function is programmed to ignore texts.
I hope this helps you
Regards
- Tracey SansomCopper Contributor
HI
Thank you, but no this is what i meant sorry
K1 P2 K7 P2 K12 P1 K12 P2 K7 P2 K12 P1 K12 P2 K7 P2 K1 K2 P3 K3 P3 K2 P10 K3 P10 K2 P3 K3 P3 K2 P10 K3 K10 P2 K3 P3 K3 P2 P1 K3 P2 K1 P2 K3 P2 K9 P3 K9 P2 K3 P2 K1 P2 K3 P2 K9 P3 K9 P2 K3 P2 K1 P2 K3 P1 P3 K2 P3 K2 P3 K2 P7 K2 P1 K2 P7 K2 P3 K2 P3 K2 P3 K2 P7 K2 P1 K2 P7 K2 P3 K2 P3 K2 P3 K2 P2 K2 P1 K2 P2 K3 P2 K6 P2 K1 P2 K6 P2 K3 P2 K2 P1 K2 P2 K3 P2 K6 P2 K1 P2 K6 P2 K3 P2 K2 P1 K2 P2 K2 P1 K2 P2 K3 P2 K2 K3 P2 K4 P2 K3 P2 K4 P2 K3 P2 K2 P3 K2 P2 K3 P2 K4 P2 K3 P2 K4 P2 K3 P2 K2 P3 K2 P2 K1 P2 K2 P2 K1 P2 K2 P2 K3 P2 K3 P2 K3 P2 K3 P2 K3 P2 K2 P2 K1 P2 K2 P2 K3 P2 K3 P2 K3 P2 K3 P2 K3 P2 K2 P2 K1 P2 K2 P2 K1 P2 K2 P3 K2 P2 K2 P3 K2 P1 K2 P5 K2 P1 K2 P3 K2 P2 K2 P3 K2 P2 K2 P3 K2 P1 K2 P5 K2 P1 K2 P3 K2 P2 K2 P3 K2 P1
Haytham Amairah wrote:Hi,
You can add up a column of numbers even if there are some cells in that column have texts!
This can be done by using SUM function as the below Example:
The formula in cell A11 is this:
=SUM(A1:A10)
This is because the SUM function is programmed to ignore texts.
I hope this helps you
Regards
- Haytham AmairahSilver Contributor
Hi,
I advise you to try the solution provided by IngeborgHawighorst, it also works for a grid of cells such as A1:C8 as follows:
=SUMPRODUCT(NUMBERVALUE(MID(A1:C8,2,4)))
Regards