Excel 2007 Filter for NOT <> using Sumproduct

BriCris

New Member
Joined
May 30, 2017
Messages
11
I have 3 fields and I need to Filter then count using a NOT <>

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]LTR Score[/TD]
[TD]LTR Remarks[/TD]
[TD]Rep Satisfaction[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Still wait home[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Still home[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]wait home[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]This is home[/TD]
[TD]still or wait[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]this is also home[/TD]
[TD]wait[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]this is a Big HOME[/TD]
[TD]still[/TD]
[/TR]
</tbody>[/TABLE]

OK,

I want to filter out:
LTR Score <=7
LTR Remarks NOT <> Still or Wait --(ISNUMBER(SEARCH(<>"still",Test[LTR Remarks]))+ISNUMBER(SEARCH(<>"wait",Test[LTR Remarks]))>0)
Rep Satisfaction Search for Still or Wait --(ISNUMBER(SEARCH("still",Test[LTR Remarks]))+ISNUMBER(SEARCH("wait",Test[LTR Remarks]))>0)
Then count home.

The answer should be 3.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
The Opposite of ISNUMBER(SEARCH( would be ISERROR(SEARCH

Something like

=SUMPRODUCT(--(ISERROR(SEARCH("still",Test[LTR Remarks]))),--(ISERROR(SEARCH("wait",Test[LTR Remarks]))))
 
Last edited:
Upvote 0
I have 3 fields and I need to Filter then count using a NOT <>

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]LTR Score[/TD]
[TD]LTR Remarks[/TD]
[TD]Rep Satisfaction[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Still wait home[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Still home[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]wait home[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]This is home[/TD]
[TD]still or wait[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]this is also home[/TD]
[TD]wait[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]this is a Big HOME[/TD]
[TD]still[/TD]
[/TR]
</tbody>[/TABLE]

OK,

I want to filter out:
LTR Score <=7
LTR Remarks NOT <> Still or Wait --(ISNUMBER(SEARCH(<>"still",Test[LTR Remarks]))+ISNUMBER(SEARCH(<>"wait",Test[LTR Remarks]))>0)
Rep Satisfaction Search for Still or Wait --(ISNUMBER(SEARCH("still",Test[Rep Satisfaction]))+ISNUMBER(SEARCH("wait",Test[Rep Satisfaction]))>0)
Then count home.

The answer should be 3.

Had to make a changed (Don't see how to edit post)


I want to filter out:
LTR Score <=7
LTR Remarks NOT <> "Still" or "Wait"
Rep Satisfaction Search for "Still" or "Wait"
and then search for the word "home" in LTR Remarks

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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