How to Match Columns and Leave Gaps Within

peaceeasy

New Member
Joined
Jul 11, 2011
Messages
1
So I'm trying to match up index columns with data columns, and line them up so same index matches up by row, and if there is no column, blank is inserted. What I've been doing so far is inserting and moving cells down to compensate for missing indexes from the other column. Example:

INDEX_X________DATA_X_______INDEX_Y_________DATA_Y
1______________A_____________2______________B
2______________B_____________3______________C
4______________D_____________4______________D
6______________F_____________5______________E

So_they_line_up_like:

INDEX_X_____DATA_X_____INDEX_Y_____DATA_Y______DATA_X+Y
1___________A____________________________________A
2___________B___________2___________B____________B+B
________________________3___________C____________C
4___________D___________4___________D____________D+D
________________________5___________E____________E
6___________F____________________________________F

All help in method is GREATLY appreciated. (If you know accounting, I'm trying to line up accounts from different periods and summing up horizontally, however some periods add/remove accounts, so they don't line up nicely.)
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,224,502
Messages
6,179,126
Members
452,890
Latest member
Nikhil Ramesh

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