OzGrid

How to Auto populate cells with existing values

< Back to Search results

 Category: [Excel]  Demo Available 

How to Auto populate cells with existing values

 

Requirement:

 

The needs to be able to copy the data from an existing cell into blank cells below it until it reaches a populated cell. Then take the next populated cell and do the same until there are no more line numbers:

Starting with:

Click image for larger version

Name:	excel1.JPG
Views:	0
Size:	15.6 KB
ID:	1211495
Completed

Click image for larger version

Name:	excel2.JPG
Views:	0
Size:	16.9 KB
ID:	1211496 

 

Solution:

 

See Debra's excellent explanation :

https://www.contextures.com/xlDataEntry02.html

 

Obtained from the OzGrid Help Forum.

Solution provided by Carim.

 

See also: Index to Excel VBA Code and Index to Excel Freebies and Lesson 1 - Excel Fundamentals and Index to how to… providing a range of solutions and Index to new resources and reference sheets

 

See also:

How to set up an autofill macro
How to use a macro to auto-scroll
How to automate charts with 1 x - axis and multiple y - axis in VBA
How to auto populate blank cells using VBA
How to auto copy data from master list to sub worksheets based on data value in one column

 

Click here to visit our Free 24/7 Excel/VBA Help Forum where there are thousands of posts you can get information from, or you can join the Forum and post your own questions.


Gallery



stars (0 Reviews)