Filter based on Input Box

Pratap 1987

Board Regular
Joined
Feb 28, 2011
Messages
95
Hi there,</SPAN>

I have a worksheet with Columns A to Y and has filled rows upto 50,000 (maximum). I need a macro to perform the below steps:</SPAN>

- Column P will be titled as "Age" and will have any number between 1 - 50,000. First step of the macro should be to keep numbers between 1 to 5 and delete the other rows (i.e, only keep rows which has number 1 to 5 in Column P)</SPAN>

- Column R will be titled as "Notes" and will have lot of numbers/texts/symbols. Next step of the macro should be bring in a "Input Box" and ask the user to input a value (The user will input a date in the format 0118/0117/anything) - Based on the input, the macro should filter column R which begins with that input date/value and update "Yes" in Column X. Then Remove Filter.</SPAN>

- Column O will be tiled as "NAV Impact" and will have numbers with 5 decimal points. Last step of the macro should be Filter column o which has a value greater than (or) equal to 0.005 and update "Impact" in Column Y. Then Remove Filter.</SPAN>

Your assistance is much appreciated.</SPAN>

Thanks,
 

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)

Forum statistics

Threads
1,214,520
Messages
6,120,016
Members
448,936
Latest member
almerpogi

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