Macro for Filter data

Negi1984

Board Regular
Joined
May 6, 2011
Messages
198
Hi All,

I have data in column E & F in below sample format :-
GRO1
GR1
12345678
FALSE
Before GRO process
FALSE
No initial GRO required
TRUE
No initial GRO required
FALSE
Multitech
FALSE
74704238
TRUE
74704515
FALSE
74704510 - Amendment
FALSE
74705102
FALSE
74704962
FALSE
74705231
FALSE
74704531- Rejected 74704532
FALSE
74705192
FALSE
74704531- Rejected -74704532
FALSE
74705193
TRUE
74704512 - Amendment 74704513
FALSE
74705017
FALSE

Now I need to filter it with Macro and condition will be Column F should be false and and column E should contains all the numbers and rows if it contains Rejected /Amendments in beginning and end of the text.

Could you please assist , how to write the VBA code for the same.

Regards,
Rajender

<tbody>
</tbody>

Sample Output is below :-


Output
GRO1GR1
12345678FALSE
74705192FALSE
74704515FALSE
74705102FALSE
74704962FALSE
74705231FALSE
74704531- Rejected 74704532FALSE
74704531- Rejected -74704532FALSE
74704512 - Amendment 74704513FALSE
74705017FALSE

<tbody>
</tbody><colgroup><col><col></colgroup>
 
Last edited:

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,215,261
Messages
6,123,946
Members
449,134
Latest member
NickWBA

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