SumIf Function Help

seenfresh

Well-known Member
Joined
Jul 12, 2006
Messages
1,141
I would like to sum a range if the cell contents are number values, hence I have #N/A in the range and would like to be able to sum this range.

for example my range is M3:M105 and I want to just sum the number values not text

Any help would be great!

Thanks in advance,
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I would like to sum a range if the cell contents are number values, hence I have #N/A in the range and would like to be able to sum this range.

for example my range is M3:M105 and I want to just sum the number values not text

Any help would be great!

Thanks in advance,

=SUM(SUMIF(M3:M105,{"<0",">0"}))
 
Upvote 0
Thanks Aladin,

You never fail!

As soon as I saw this I thought **** I should have thought of this!

base my sum on the sumif, which would disregard the false values of #N/A or text values!

How does {} fall into proper formatting does this help identify the comma into just one argument instead of excell seeing it as the False argument criteria!

Very nice

Thanks again!

Sean
 
Upvote 0

Forum statistics

Threads
1,215,029
Messages
6,122,755
Members
449,094
Latest member
dsharae57

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