How do you merge two columns?

omegadeltaphi

New Member
Joined
Jul 10, 2011
Messages
30
I have two columns and multiple rows.
A column has most of the info.....97%.
B column has little information and it is only a single letter.
I need to move that letter from column B to column A.
ex.

________________________________________
column:A column:B

info blank
info blank
info blank
status: "x"
_________________________________________

I want to merge Columns B and A
somethin like this
----------------------------------------------------
Column:A

status: x
----------------------------------------------------
ps sometimes status is "x", "y", or "xy"
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
In Col C you could put

(In C1 then copy down)
=a1&b1

Then just copy paste special values over the top of Col A
 
Upvote 0
This macro should do what you asked for...
Code:
Sub CombineStatus()
  Dim Cell As Range
  For Each Cell In Columns("B").SpecialCells(xlCellTypeConstants)
    Cell.Offset(, -1).Value = Cell.Offset(, -1).Value & " " & Cell.Value
    Cell.Clear
  Next
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,534
Messages
6,179,390
Members
452,909
Latest member
VickiS

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top