fill blank with the previous row in excel

Posted on 2012-08-29
Medium Priority
Last Modified: 2012-09-06
how can create column A from columB but fill the blank in column B

columA             ColumnB

england            england
canada               canada
china                  china
thailand              thailand
* it shold be
Question by:teera
LVL 26

Accepted Solution

redmondb earned 1200 total points
ID: 38349075
Hi teera.

I'm not sure that I understand what you want, but the steps below describe how to fill in the blanks in Column A...

(1) In A2 (assuming that's the first blank cell)...
(2) Copy A2.
(3) Select from A2 to the last used cell in Column A.
(4) Hold down the Ctrl button and click on "G". This displays the "Go To" dialogue.
(5) Click on "Special...".This displays the "Go To Special" dialogue.
(6) Click on the "Blanks radio button and then on the "OK" button.

That's it.

If you want to replace the formulas then...
(7) Select Column A.
(8) Copy.
(9) Right-Click and click on "Paste Special...". This displays the "Paste Special" dialogue.
(10) Click on the "Values" Radio Button and then on the OK button.

LVL 35

Assisted Solution

Norie earned 400 total points
ID: 38349092
Select the column with the blanks.

Then Goto Special...Blanks...

Hit F2 and enter this formula with CTRL + ENTER.


A1 is the first cell with a value, change it if needed.

Finally copy and paste special values to get rid of the formulas.

Assisted Solution

flaphead_com earned 200 total points
ID: 38349141
set a Filter on the range, and in column B untick (Blanks)
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 200 total points
ID: 38349262
If your data starts in row 2 then enter this formula in B2 and then copy it down.

LVL 18

Expert Comment

ID: 38349509
not sure what you are aiming at.
It seems your values are identical
Can you post a sample of HOW the data IS in Columns A and B and How you WANT it to be in Columns A and B?
LVL 26

Expert Comment

ID: 38371575
Thanks, teera.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question