SUMIF (I Think)...Help on summing a range with different val

traversd

Board Regular
Joined
Mar 17, 2002
Messages
82
Hi,

I have a column of values in A, the values include "POA" , "#N/A", "0", Blank Cells and Cells with Data in.

I want to sum the numeric values in A, ignoring everything else. (I want the total to be displayed at the bottom of COlumn A)

Any Ideas ?

Cheers
Darren
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
On 2002-04-09 09:30, traversd wrote:
Hi,

I have a column of values in A, the values include "POA" , "#N/A", "0", Blank Cells and Cells with Data in.

I want to sum the numeric values in A, ignoring everything else. (I want the total to be displayed at the bottom of COlumn A)

Any Ideas ?

Cheers
Darren

Use:

=SUMIF(A1:A7,"<>#N/A")

where A1:A7 is the target range of interest. Adjust to suit.
 
Upvote 0
Thanks,

I had "POA" in there as well, but it seems to have ignored that which i what i wanted.

Thanks
Darren
 
Upvote 0
On 2002-04-09 09:40, traversd wrote:
Thanks,

I had "POA" in there as well, but it seems to have ignored that which i what i wanted.

Thanks
Darren

Aggregating functions like SUM, AVERAGE, and SUMIF simply ignore the text values in the range they are fed with.

Aladin
 
Upvote 0

Forum statistics

Threads
1,214,929
Messages
6,122,314
Members
449,081
Latest member
tanurai

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