Autofill a column but ignore Cells without formulas ?

JumboCactuar

Well-known Member
Joined
Nov 16, 2016
Messages
785
Office Version
  1. 365
Platform
  1. Windows
Hi,
i have a column with formulas but sometimes manual entry is required to these cells.

I have a formula which restores the formulas in the column, but i want it to skip any cells with raw data

Code:
Range("N2").AutoFill Destination:=Range("N2:N2500"), Type:=xlFillDefault

Currently if for example N7 has a manual input of 100, this formula will write over it with the autofill

Reason for this is sometimes the formulas get broken and parts of it show as #REF , so maybe an aternative way to filter only broken formulas


Not sure if this is possible, appreciate any help
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Maybe this:

Code:
Range("N2").Copy
Range("N2:N2500").SpecialCells(xlCellTypeFormulas).PasteSpecial paste:=xlPasteFormulas
 
Upvote 0

Forum statistics

Threads
1,216,733
Messages
6,132,413
Members
449,727
Latest member
Aby2024

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