sumif

TiaXL

Board Regular
Joined
Jun 17, 2011
Messages
124
Hi All,

Appreciate some help if possible.

Is it possible to do a sumif on a <>value ? I have a bit list of order amounts and I want to add them up but I want to exclude a certain product name
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Its treated as a valid fromula but doesnt actualy exclude the value so doesnt work

my formula looks like =SUMIF(A:A,"<>U9",M:M) I get a result of 66868.5 doing just sum(M:M) gives the same value
 
Upvote 0
Try this as a sample.

Excel Workbook
ABCDE
1Product NameValueExclude ProductTotal Value
2Gold23Silver11630
3Silver34
4Bronze567
5Gold752
6Silver1024
7Bronze1296
8Gold1568
9Silver1840
10Bronze2112
11Gold2384
12Silver2656
13Bronze2928
Sheet2
 
Upvote 0
that would work too bu the problem is I need to do it on a cell reference as the value will change :)

Its to create a data set to plot on a graph.
 
Upvote 0
Then you have a solution with Peters option.

Good to read it will work for you;)
 
Upvote 0
now my next question. I am trying to combin my new sumif formula with an IF to check another issue my formula looks like this

IF(S:S=W4,SUMIF(A:A,"<>"&$U$9,M:M),"")

I have a feeling I know why it doesnt work (=IF(S:S=W4) I think is the issue, but I am unsure how to acomplish what I need.

I am now using the same formula from this thread but also trying to limit it to month, I have a column with month numbers in and a cell for each month (columnW containing the relevant month reference number)

The formula works but it is ignoring the first IF and just summing up everything, little help please :)
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,843
Members
452,948
Latest member
UsmanAli786

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