Data arrangement macro

makinmomb

Active Member
Joined
Dec 23, 2013
Messages
401
I want to re arrange my data as follows , if i do manually it will take long
, cell reference A meaning on sheet 2

D3TOA1
E3TOA2
J3TOA3
O3TOA4
N3TOA5
F3TOA6
G3TOA7
I3TOA8
H3TOA9
B3TOA10
K3TOA11
M3TOA12
C3TOA13
W3TOA14
U3TOA15
V3TOA16
S3TOA17
T3TOA18
X3TOA19
AA3TOA20
Y3TOA21

<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
It will be file 3 , another excel file macro enabled , this file 3 will do the linkage , I will then open file 2 to see if it has pushed the needful data

I will write , AUTO on cell a1 on that macro to make sure the file is not completely blank
 
Last edited:
Upvote 0
file 1 raw data , excel file
file 2 data re arrange through macro , excel file
file 3 actual macro to arrange macro from file 1 to file 2 , excel macro enabled
 
Upvote 0
file 1 raw data , excel file
file 2 data re arrange through macro , excel file
file 3 actual macro to arrange macro from file 1 to file 2 , excel macro enabled
It will take me a little time to set this up and I have to squeeze do that in with other things in my personal life, so it may be a while before I can get back to you.

I do have some questions though...

1) Is the mapping you show in Message #17 complete (that is, there will be no other cells being mapped)?

2) What are the name of the sheet in File1 that contains the data ane what is the name of the sheet in File2 that receives the data?

3) Will these files be opened already or will the macro have to do that? If the macro has to open them, what is the path to File1 and File2?

4) Is File1 and File2 the actual names of the files? If not, what are the filenames?
 
Upvote 0
1 ) yes that is the map
2 ) sheet1 and sheet1 for both files
3 ) These files will keep open both so that file 3 does the necessary pull
4 ) Yes those are the actual names , they are placed under folder c:\rickmagic
 
Upvote 0
If there is no need of the third file , I can run the macro from file 2 which i will save as as macro enabled
 
Upvote 0
The mapping has changed to as follows

D1B4
E1B5
F1B6
A1B7
K1B8
P1B9
N1B10
G1B11
H1B12
J1B13
I1B14
B1B15
L1B16
M1B17
C1B18
U1C20
V1C21
W1C22
X1C23
Y1C24
S1C25
T1C26
Q1C27
R1C28
AB1C29
Z1C30
AC1C31
AA1C32
AD1C35
AE1B36
AF1C37
AH1B38
AI1B39
AJ1B40
AR1C41
AO1C42
AP1C43
AQ1C44
AG1B45
AT1B47
AU1B48
AV1B49
AW1B50
AX1B51
AY1B54
AZ1B55

<colgroup><col span="2"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,331
Messages
6,124,311
Members
449,152
Latest member
PressEscape

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