Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to align entries in columns so other columns will follow ?

I quite often have to align entries in two different columns, say account
numbers (which so far I do manually). Each account number also has other
(descriptive) data assigned to it in four other columns in the same row -
account value, client name, transaction amount, date. So I have to align
account numbers the way that four cells (with the descriptive data) will
follow the account number and will find themselves in the same rows with
their corresponding account numbers after the alignment.

My lists usually contain, say 100 account numbers on the left(with their
corresponding descriptive data cells) that have to match the same 100 account
numbers on the right, which are listed in a different order on the
spreadsheet before the alignment, (with their corresponding descriptive data
cells).

To explain my problem in simple words I need to match two lists where
account numbers and their corresponding descriptive data cells (10 columns
all together in both lists) will be in the same rows after the alignment.

I guess I probably need to create a macro which would align all identical
account numbers on the lists and would move the descriptive data cells to
their corresponding account rows. I do not know how to do it however. So
far, I created only simple macros using Tools/ Create a New Macro. But this
one, I guess requires some programming in VBA. Can anyone help please ?
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare 2 columns and align duplicates into same row AGOLFA Excel Worksheet Functions 8 November 9th 09 07:48 PM
Align matching cells of two different columns John Desselle Excel Worksheet Functions 2 October 22nd 08 08:57 PM
I want to align two columns by using insert/shift down Britz Excel Worksheet Functions 0 April 30th 07 09:50 PM
Format and Align Columns TKM New Users to Excel 3 October 19th 06 06:06 PM
I want 2 columns to follow when I go to the right kris Excel Discussion (Misc queries) 3 September 27th 06 01:30 PM


All times are GMT +1. The time now is 03:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"