Summing & Averaging of absolute values, results of formulas

Frank

New Member
Joined
Oct 31, 2002
Messages
2
I have created a spreadsheet and have a formula in place that returns a given numeric value. I can add these results when I represent the formula as =K5+L5+M5. In this case, it returns the correct sum of 225 (75,100 and 50, respectively). However, when I use =SUM(K5:M5) I get the value '0' and not the same 225.

The reason this is important is because I am creating a generic spreadsheet for people at my work to use to derive an 'average'by taking the sum of as many columns as are filled in and dividing by the count (COUNTA) of those columns. I don't want to have to rework it every time the number of responses/columns is different.

Can anybody out there HELP?
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
On 2002-11-01 19:29, Frank wrote:
I have created a spreadsheet and have a formula in place that returns a given numeric value. I can add these results when I represent the formula as =K5+L5+M5. In this case, it returns the correct sum of 225 (75,100 and 50, respectively). However, when I use =SUM(K5:M5) I get the value '0' and not the same 225.

The reason this is important is because I am creating a generic spreadsheet for people at my work to use to derive an 'average'by taking the sum of as many columns as are filled in and dividing by the count (COUNTA) of those columns. I don't want to have to rework it every time the number of responses/columns is different.

Can anybody out there HELP?

Your numbers are not true numbers, but text. That's why SUM does not see them. The + operator sees them because it coerces text represented numbers to true numbers.

(1.) Select an empty cell.
(2.) Edit|Copy the selected empty cell.
(3.) Select all the cells containing "text numbers".
(4.) Execute Edit|Paste Special >Add.

The foregoing recipe will make them all true numbers.
 
Upvote 0

Forum statistics

Threads
1,214,399
Messages
6,119,279
Members
448,884
Latest member
chuffman431a

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top