+ Reply to Thread
Results 1 to 2 of 2

MACROS For Sorting Data In One Tab To Pull In Other Tabs

  1. #1
    Registered User
    Join Date
    02-24-2013
    Location
    Columbus, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    10

    MACROS For Sorting Data In One Tab To Pull In Other Tabs

    Disclaimer, I'm not an export & just learning MACRO world; I currently just record them, not write them, then I save them in note pad for copy/paste option for later use.

    So I have the main raw data worksheet, which I am keeping but breaking down by creating a new worksheet at the bottom for each system so there are 9 additional worksheets at the bottom.

    On the main raw data tab there are 141 different column titles in row 1 (A-EK columns), I am trying to narrow down to only about 22 of the 141 & carry them over in a certain order to each of the 9 worksheets.

    I think the best approach would be to pull that order once & then copy/paste to the rest of the tabs; but I’m stuck on how to pull the order.

    Can someone please explain how I can search row one for what I want & then return to a created tab in certain order? The 22 column titles I want to pull in a certain order e.g. new tabs would look like this; Row 1/Column A I want System, Row 1/Column B I want Assessment, Row1/Column C I want Type, & so on. But the System column is really in column B on raw data tab where the 9 new tabs I want it to be column A.

    After all 22 column titles are created I would then want to return the raw data in each column (A-AB) from the Raw Data source to the 9 different worksheets I created. Can someone please explain how too get raw data from each respectable column with a changing amount of rows each month to the new work sheet?

    Example attached show what column each new tab is created from, I already created the Tabs but when pulling the data I want all the data; e.g. system 6 has 6-A, 6-B, & 6-C, but the key search would be all with 6 in it so it pulls A, B, & C.
    I kept all the different main column titles in row 1 for Raw Data Tab & showed in Tab 1 what needs carried over. I thought once I did that, I could write a MACRO to create the new titles in row 1 that I have highlighted in tab 1, then would copy & paste through the rest of the new tabs since all with have the same titles just different raw data based on that system tab. I made up column names just using letters in order on Raw Data tab & then pulled only the ones I will need & put in different order than appears in Raw Data tab.
    Attached Files Attached Files
    Last edited by spring82; 07-10-2017 at 01:55 PM.

  2. #2
    Registered User
    Join Date
    02-24-2013
    Location
    Columbus, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Sorting Data In One Tab To Pull In Other Tabs

    I changed title, so if anyone can help; I would really applicate it. Thank you very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to add another Macro to a button to add into a larger Macro.
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-03-2016, 10:51 AM
  2. [SOLVED] Define variable in macro than calling that macro inside another macro
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2015, 10:58 AM
  3. Using a macro on workbook1 to create a button in wb2 and assigning macro "wb2!macro"
    By penfold1992 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2014, 11:39 AM
  4. [SOLVED] Macro to show Which macro didnt work in a nested macro
    By akhileshgs in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-10-2013, 03:21 AM
  5. Perform macro "on open" specific file- store macro in Personal Macro Workbook?
    By thompssc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-17-2012, 12:38 PM
  6. lookup macro, solver macro, realtime macro
    By xelhelp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-02-2011, 06:14 PM
  7. Cannot find macro error when running a macro from a macro in a diffrent workbook.
    By Acrobatic82 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2010, 09:22 AM

Tags for this Thread

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