Excel VBA question referencing previous cell until value found

Joined
Apr 7, 2014
Messages
1
Reaction score
0
I am looking to put a vba formula into all cells of a column(column B), and populate column B based on the value of another column A. I am having difficulty referencing the previous cell up in a column to get its value when there are blank rows involved. Here is my example:

Col A.........Col B

<seed>.....Section 5
123...........Section 5-1
xyz...........Section 5-2


456............Section 6-1
def.............Section 6-2

abc............Section 7-1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top