Outline ·
[ Standard ] ·
Linear+
MS EXCEL, Cell shifthing
|
TSboon77
|
Jul 13 2006, 04:40 PM, updated 20y ago
|
Getting Started

|
Dear experts, I'm not very familiar wif excel macro. I face a problem, and i dunno whether excel macro can solve my problem or not, if can kindly advise me... thanks in advances. I need to move a set of data from one column to another column base on the row 1 description. e.g: For column A data is PO number and have to move to column B, and column B is Date and have to move to column A. Is there any marco function can do this for me??? pls advise... TQTQTQ
|
|
|
|
|
|
samurai1337
|
Jul 13 2006, 05:35 PM
|
@_@
|
So you're shifting one column to the right, does it have to be in the same row? If it doesn't then it's easy, you don't even need a macro
|
|
|
|
|
|
Femi
|
Jul 13 2006, 05:48 PM
|
|
 Cut and paste can be done.
|
|
|
|
|
|
mstr583
|
Jul 13 2006, 08:34 PM
|
|
Just cut Cell A and paste after the Cell B.
|
|
|
|
|
|
HMMaster
|
Jul 13 2006, 09:14 PM
|
10K Club
|
QUOTE(boon77 @ Jul 13 2006, 04:40 PM) Dear experts, I'm not very familiar wif excel macro. I face a problem, and i dunno whether excel macro can solve my problem or not, if can kindly advise me... thanks in advances. I need to move a set of data from one column to another column base on the row 1 description. e.g: For column A data is PO number and have to move to column B, and column B is Date and have to move to column A. Is there any marco function can do this for me??? pls advise... TQTQTQ  1. move all data from column a to column c (temporary). 2. move all data from column b to column a. 3. move the data from c to b. or is it the arrangement of the data is not in an organized matter?
|
|
|
|
|
|
transfield
|
Jul 13 2006, 10:03 PM
|
|
QUOTE Is there any marco function can do this for me??? If you can do it manually, then go to Tools > Macro > Record a New Macro & record your macro. To view your macro, hit ALT F8 > Edit. Good Luck.
|
|
|
|
|
|
byter
|
Jul 14 2006, 07:21 PM
|
New Member
|
yeah, don't even need a macro. like HMMaster said, use another cell to move first and then after that move it to that cell. do u have any difficulties on that?
|
|
|
|
|
|
mstr583
|
Jul 14 2006, 08:54 PM
|
|
Not so Hard la..
|
|
|
|
|
|
samurai1337
|
Jul 17 2006, 07:34 AM
|
@_@
|
Based on the description of boon77 it sounds more like swapping
Since normal excel formula can't do cell moving/shifting/swapping for you, I'm afraid you'll have to use Macro script
|
|
|
|
|