+ Reply to Thread
Results 1 to 3 of 3

How Do I split a file into several Tabs, acording to information on other tabs?

  1. #1
    Registered User
    Join Date
    06-19-2013
    Location
    Peterborough, UK
    MS-Off Ver
    Excel 2010
    Posts
    37

    How Do I split a file into several Tabs, acording to information on other tabs?

    I need a Macro that will allow me to do the following:

    I want to be able to split a file into several Tabs (or Separate files) depending on the contents of three other tabs:

    I have a data file of names and international addresses. I want to be able to split the file in three Main Tabs:

    There are four tabs:

    1: PS1
    2: OZ4 EU
    3: OZ4 RoW
    4: Data

    All tabs have a Country column.

    A tab must be created copying the data in the Data tab which equals the country in each of the tabs (1 new tab per selection so at the end we end up with 7 Tabs):

    1: PS1
    2: OZ4 EU
    3: OZ4 RoW
    4: Data
    5: Data PS1
    6: Data OZ4 EU
    7: Data OZ4 RoW

    Also I need to split The PS1 tab if the country is USA:

    If the country is USA and the five first characters of the ZIP code is 00000-39999 then cut it to a new tab called New York:
    If the country is USA and the five first characters of the ZIP code is 40000-79999 then cut it to a new tab called Chicago:

    and in that case I will end up with 9 tabs:

    1: PS1
    2: OZ4 EU
    3: OZ4 RoW
    4: Data
    5: Data PS1
    6: Data OZ4 EU
    7: Data OZ4 RoW
    8: New York
    9: Chicago

  2. #2
    Forum Contributor
    Join Date
    07-17-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    218

    Re: How Do I split a file into several Tabs, acording to information on other tabs?

    Try ASAP utilities, that does it

  3. #3
    Registered User
    Join Date
    06-19-2013
    Location
    Peterborough, UK
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: How Do I split a file into several Tabs, acording to information on other tabs?

    http://www.excelforum.com/images/smilies/frown.gif
    http://www.excelforum.com/images/smilies/confused.gif

+ 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