shifting of data to fill into blank cells

G

Guest

hi community
how can i shift of move the data from one colum to another column empty cells:
example:
A B
1 Apple
2 Orange
3 Melon
4 Strawberry

the example above shows 2 columns with 4 rows and I want to move B2 & B4
to fill into A2 & A4

instead of using cut and paste and I need to do several times if my data has
more rows, is there any quicker way to shift my data to fill up the empty
cells in column A ?

thanks community for the help
 
G

Guest

One way ..

Put in C1:
=IF(AND(A1="",B1=""),"",IF(AND(A1="",B1<>""),B1,A1))
Copy down as far required. This returns the required results in col C. If
desired, just copy col C and overwrite col A with a paste special as values.
Clean up by deleting cols B & C.
 
G

Guest

try in column C
=A1 & B1
copy down as far as you need to
Copy column C and paste values over column A
Delete columns B and C
 
G

Gord Dibben

Select Column A and F5>Special>Blanks>OK

Edit>Delete>Shift Cells Left>OK


Gord Dibben MS Excel MVP
 

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