advanced filter will only work for one criterion

daveyc18

Well-known Member
Joined
Feb 11, 2013
Messages
707
Office Version
  1. 365
  2. 2010
for some reason, the advance filter only works for one criterion...when i try to expand the range...it stops working...

e.g im only filtering for

OSP
397

if i add another column

OSP
400


the advanced filter via VBA stops working (just shows blank).....yes, I have modified the named range to capture the additional column...this is driving me nuts
 
In this case, your "test" range:

acctquantityvalueIDIDIDIDID
>=100<>8*<>9*<>B*<>X*<>T*

<tbody>
</tbody>


Note: The data that starts with 8 and 9 should be texts, if they are numbers are not considered.
 
Upvote 0

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
In this case, your "test" range:

acctquantityvalueIDIDIDIDID
>=100<>8*<>9*<>B*<>X*<>T*

<tbody>
</tbody>


Note: The data that starts with 8 and 9 should be texts, if they are numbers are not considered.


excellent, thank you so muchj.
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0
I'm glad to help you. Thanks for the feedback.

cant seem to figure this one out



acctquantityIDID
217<>05*b*

<tbody>
</tbody>


that's what i want (please ignore the blank columns)....account 217, anything NOT 0, and any id starting with "5" and "b"...it seems to work, but it doesn't capture everything
 
Upvote 0
cant seem to figure this one out



acctquantityIDID
217<>05*b*

<tbody>
</tbody>


that's what i want (please ignore the blank columns)....account 217, anything NOT 0, and any id starting with "5" and "b"...it seems to work, but it doesn't capture everything


also noticed when I try to record the macro using normal filter..it says "too many line cotninuations" after doing "5*"
 
Upvote 0

Forum statistics

Threads
1,215,212
Messages
6,123,653
Members
449,111
Latest member
ghennedy

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