# Any other excel function rather than set FILTER

#### florencewhm

##### New Member
Hello excel experts,

this is my daily assignment & I have to filter one by one & sometimes it will create mistake if I miss out 1 of filter value. Furthermore I can not write a VBA scripts, is there any other method rather than filter one by one?

Column A:
Approved
Above 20%
Below 10%
Compliant

Column B
1) C*** 0.01
2) C*** \$0.01
3) \$0.01C***
4) \$0.01/C***
5) \$.01/C***
6) C***

7) R12345
8) REG 12345
9) 12345
10) \$0.01-12345
11) \$.01-12345
12) \$0.01+REG
13) 12345 \$0.01
14) 12345 \$.01
15) 12345 REG

Column C
I set filter Any condition in column A & and if it fulfills the conditions 1) - 6) in column B, then I need the output in column C=CONTRACT

whereas if it fulfills the conditions 7) - 15) in column B, then I need the output in column C=REGISTRATION

Thanks
Flo

### Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

#### viquarshaikh

##### Active Member
Can you add another worksheet to your workbook. Let us say the name of this sheet is Sheet3

Then in your new Sheet Create these two lists one in Column A and another in Column B. Be sure to have the Two Columns formatted as Text.

Column A
C*** 0.01
C*** \$0.01
\$0.01C***
\$0.01/C***
\$.01/C***
C***

Column B
R12345
REG 12345
12345
\$0.01-12345
\$.01-12345
\$0.01+REG
12345 \$0.01
12345 \$.01
12345 REG

Now Come back to your original Sheet and in Column C , Cell C2, write this formula,
Code:
``=if(iserror(vlookup(B2, 'Sheet3'!A:A, 1, 0)),if(iserror(vlookup(B2, 'Sheet3'!B:B, 1, 0)),"Not in the list","Registration"), "Contract")``

Hopefully this should help. I'm sorry I've not tested this myself since, as usual, my Excel's busy running some processes.

#### Andrew Poulsom

##### MrExcel MVP
Do you want to do this using Advanced Filter?

Replies
0
Views
194
Replies
6
Views
803
Replies
4
Views
349
Replies
10
Views
1K
Replies
2
Views
221

1,171,203
Messages
5,874,336
Members
433,044
Latest member
drewbizzy

### 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.

### Which adblocker are you using?

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

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