Auto fill into a filtered list

baillieston

Board Regular
Joined
Jan 9, 2003
Messages
94
Hi
Can anyone advice me on the best way to approach this.
I have a list which is filtered on a yes or no column.
I have selected yes and would now like to add a number to another column and use the auto fill feature to drag this down. It does not seem to work while the filter is on.
If I copy the list of number I wish to paste into this column from elsewhere the paste goes into the rows that have no in the yes no column also.

If this is not possible how would I approach this with VBA code.

if column "yes no" is yes then column "Number" = 1
then the next row that meets this condition has 2 in the "Number " column

would have about 1000 rows.

Thanks
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Thanks for this advice, I would like the same numbers that are produced in the number column to remain there after the filter is removed. therefore this would not help me with this problem but it will help with another problem so thanks.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,269
Members
449,075
Latest member
staticfluids

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