+ Reply to Thread
Results 1 to 4 of 4

Aligning rows in order to consolidate

  1. #1
    Registered User
    Join Date
    08-25-2011
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    8

    Aligning rows in order to consolidate

    Hi guys

    I'm working in a company, which are using excel alot. I have created a Datawarehouse with all the company balance for the last 48 months.

    This means that all the account numbers (??) used for the last 48 months are in this datawarehouse. So every month I have to align these new account numbers with the old ones in order to be able to consolidate for all the business units.

    My question is if there is a simple way to align these account numbers automatically so i dont have to align them manually.

    I have attached a sample of what im dealing with every month, i hope it would make my problem more clear to you.

    In advance, thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Aligning rows in order to consolidate

    Maybe like this.

    Dom
    Attached Files Attached Files
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Aligning rows in order to consolidate

    padrald0w,


    Detach/open workbook AlignAccountNbr ABCD - padrald0w - EF789588 - SDG15.xlsm and run macro AlignAccountNbr.
    Last edited by stanleydgromjr; 08-25-2011 at 09:17 AM.
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  4. #4
    Registered User
    Join Date
    08-25-2011
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Aligning rows in order to consolidate

    thanks guys that spared me for 4 hours of work every single month.

    stanleydgromjr can you tell me how you made that macro ?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1