+ Reply to Thread
Results 1 to 5 of 5

Moving data to another sheet based on criteria

  1. #1
    Forum Contributor
    Join Date
    01-18-2009
    Location
    Montreal
    MS-Off Ver
    MS Office 2016
    Posts
    111

    Question Moving data to another sheet based on criteria

    Hello,

    Please, I would require your assistance if you can help me figure out how I can do this.

    I need to move data from one sheet to another based on the following criteria (See attached file)

    CDN
    To display all Canadian units.
    Except fields define as "United States" & "*"


    CDN TONNAGE
    To display all Canadian Tonnage except “United States”.
    Units including values define as “*” have to be included

    USA
    All USA units defined with “United States”

    Empties
    Display units without “Final Destination” and “Gross WT Tons”

    Ontario
    All units defined with “, ON” under final destination

    Any help would be greatly appreciated.

    Thanks,
    Ant
    Attached Files Attached Files

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

    Re: Moving data to another sheet based on criteria

    jantonio,

    In your workbook, sheet1, cell A2 = "Toronto, ON"

    Should the next three cells A3, A4, and A5 = "Toronto, ON"? Is it implied?

    I will have to automatically fill in the empty cells with some macro code.
    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.

  3. #3
    Forum Contributor
    Join Date
    01-18-2009
    Location
    Montreal
    MS-Off Ver
    MS Office 2016
    Posts
    111

    Re: Moving data to another sheet based on criteria

    Quote Originally Posted by stanleydgromjr View Post
    jantonio,

    In your workbook, sheet1, cell A2 = "Toronto, ON"

    Should the next three cells A3, A4, and A5 = "Toronto, ON"? Is it implied?

    I will have to automatically fill in the empty cells with some macro code.
    No, A3, A4, and A5 are local units which are staying locally in Montreal and are not considered part of Toronto.

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

    Re: Moving data to another sheet based on criteria

    jantonio,

    See the attached workbook "Moving data to another sheet based on criteria - MoveData(1) - jantonio - SDG.xls" with macro "MoveData".

    Run the macro "MoveData".

  5. #5
    Forum Contributor
    Join Date
    01-18-2009
    Location
    Montreal
    MS-Off Ver
    MS Office 2016
    Posts
    111

    Thumbs up Re: Moving data to another sheet based on criteria

    Thank you...

    I came up with this which does the trick:

    Please remove sheets (ONTARIO, EMPTIES, USA, CDN TONNAGE, CDN) from original "move data.xls" prior to running macro.

    How can I put a timer on this for user to view that macro is running?


    Please Login or Register  to view this content.

+ 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