Copy cells in excel if cell above is null
Closed
Tara
-
Mar 14, 2012 at 09:42 PM
aquarelle Posts 7140 Registration date Saturday April 7, 2007 Status Moderator Last seen March 25, 2024 - Mar 15, 2012 at 05:32 AM
aquarelle Posts 7140 Registration date Saturday April 7, 2007 Status Moderator Last seen March 25, 2024 - Mar 15, 2012 at 05:32 AM
Related:
- Copy cells in excel if cell above is null
- Number to words in excel - Guide
- Based on the cell values in cells b77 - Excel Forum
- Gif in excel - Guide
- Excel conditional formatting if another cell contains specific text ✓ - Excel Forum
- Marksheet in excel - Guide
2 responses
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Mar 15, 2012 at 02:19 AM
Mar 15, 2012 at 02:19 AM
why not just sort column A
aquarelle
Posts
7140
Registration date
Saturday April 7, 2007
Status
Moderator
Last seen
March 25, 2024
491
Mar 15, 2012 at 05:32 AM
Mar 15, 2012 at 05:32 AM
Hi,
Try this macro :
Best regards
Try this macro :
Sub CompleteEmptyCell() x = Range("A65536").End(xlUp).Row For y = 1 To x If Range("A" & y) = "" Then Range("A" & y) = Range("A" & y + 1) Next End Sub
Best regards