+ Reply to Thread
Results 1 to 5 of 5

Split file upload into 2 tabs based on criteria

  1. #1
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Split file upload into 2 tabs based on criteria

    Hi,

    Below is a code snippet from the macro. I am pulling the file Brazil Cap Gains Trade details, and bringing into my worksheet with multiple tabs. I would like to be able to look at the file I am pulling and if column B is blank (cell b4 and forward), then no data is brought into worksheet tab "Mast" or "INV" (ignore the row). However, if there is data in column b, then look to column G. If Column G has the name "Master", then put it into the next available row below the header in tab "Mast". And If Column G has the name "Investors", then put it into the next available row below the header in tab "INV". Also, if data is pulled into "Mast" or "INV" then I would like a formula from a previous row to be copied down into columns
    Please Login or Register  to view this content.
    corresponding with the rows pulled into "Mast" or "Inv".


    Please Login or Register  to view this content.
    Thank you
    Last edited by AliGW; 08-01-2019 at 10:58 AM.

  2. #2
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Split file upload into 2 tabs based on criteria

    Is there anything I can clear up or help explain better?

  3. #3
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Split file upload into 2 tabs based on criteria

    Wanted to follow up as I have not seen any replies yet

  4. #4
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Split file upload into 2 tabs based on criteria

    I am hoping someone can advise

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,711

    Re: Split file upload into 2 tabs based on criteria

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Split to Workbooks based on a Column followed by Worksheets based on another criteria
    By jaredli in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-26-2018, 03:27 AM
  2. Replies: 19
    Last Post: 02-05-2018, 06:45 PM
  3. Macro to split one file into many based on criteria !!!
    By gamefreak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2015, 05:15 PM
  4. Need Macro file to split then consolidate workbooks based on partial file name
    By dawnmau in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-04-2014, 04:37 PM
  5. How Do I split a file into several Tabs, acording to information on other tabs?
    By Edinson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-12-2013, 05:17 AM
  6. MACROS: Sort by multiple criteria - Create tabs based off of criteria
    By svineyard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2009, 10:48 AM

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