How to autofill with non consecutive data
Closed
Rich
-
May 31, 2010 at 08:49 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - May 31, 2010 at 12:37 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - May 31, 2010 at 12:37 PM
Related:
- How to autofill with non consecutive data
- Tmobile data check - Guide
- Transfer data from one excel worksheet to another automatically - Guide
- Gta 5 data download for pc - Download - Action and adventure
- Digital data transmission - Guide
- Data transmission cable - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
May 31, 2010 at 12:37 PM
May 31, 2010 at 12:37 PM
You can try to use a macro for that
Sub FillDown() Dim lMaxRows As Long Dim lRow As Long ' find max number of rows lMaxRows = Cells.Find("*", Cells(1, 1), SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row ' start from row 2 till end of rows For lRow = 2 To lMaxRows ' if the current cell is blank, then put the value of the cell above If Cells(lRow, "A") = "" Then Cells(lRow, "A") = Cells(lRow - 1, "A") Next lRow End Sub