Results 1 to 12 of 12

Cleaning and Consolidating Multiple Worksheets

Threaded View

VKS Cleaning and Consolidating... 12-31-2012, 02:16 AM
AB33 Re: Cleaning and... 12-31-2012, 02:45 AM
VKS Re: Cleaning and... 12-31-2012, 02:57 AM
VKS Re: Cleaning and... 12-31-2012, 02:59 AM
AB33 Re: Cleaning and... 12-31-2012, 03:08 AM
jolivanes Re: Cleaning and... 12-31-2012, 03:52 AM
VKS Re: Cleaning and... 12-31-2012, 04:15 AM
VKS Re: Cleaning and... 12-31-2012, 04:05 AM
AB33 Re: Cleaning and... 12-31-2012, 05:10 AM
VKS Re: Cleaning and... 12-31-2012, 05:55 AM
AB33 Re: Cleaning and... 12-31-2012, 09:00 AM
VKS Re: Cleaning and... 12-31-2012, 11:01 AM
  1. #1
    Forum Contributor
    Join Date
    11-11-2012
    Location
    Muscat, Oman
    MS-Off Ver
    Office 365
    Posts
    522

    Cleaning and Consolidating Multiple Worksheets

    Dear Experts
    I am trying to consolidate data from multiple sheets of one workbook put it in one place but with some modifications so that it can be exported to access afterwards. I am seeking help on a macro which will do the following:
    1. Delete contents of column A
    2. In A3 Type a formula “=LEFT(B3,14)” this will become the column header
    3. Then it will go to cell A5 and again type a formula “=IF(B4="",B5,A4)” and copy it all the way down
    4. Then it should insert two columns A and B and then go to A3 Type Data I as header and in B3 type Data II as header
    5. Each worksheet has a name like XXXXX – A or XXX – B. I want to populate column a with all the characters before – in column A and single character after – in column b
    6. Copy entire sheet paste special values
    7. Insert Two more column A and B
    8. Delete Column P
    9. Delete Column S
    10. Delete Colum AE
    11. Go to column F
    12. Delete all the rows if column F is blank and also delete all the rows where text is BOLD (since these are sub headers)
    -------- I can stop here and do the following manually ------------------
    13. Now starting from column G till AD we have 24 months data and headers are Jan-12, Feb-12…… Dec-13
    14. Instead of having it across the columns it should be in rows I mean I would cut all the columns after G (H till AD) and paste them down after leaving a blank row to identify that month has changed and do it till all the data is in column G
    15. Populate Column A and B (Year & Month) with the headers of each column pasted in column G
    16. Copy and paste column C,D,E & F columns ( as they remain same)

    This will clean up the sheet and I will do the same with other sheet and then have all info in 7 columns instead of having it in 30 columns and 25 worksheets
    Purpose of cleaning and consolidating the sheets is to create a Pivot Table.
    Thanks in advance/VKS
    Last edited by VKS; 01-03-2013 at 01:15 AM.

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