+ Reply to Thread
Results 1 to 8 of 8

Data transfer between two sheets based on condition

Hybrid View

  1. #1
    Registered User
    Join Date
    01-04-2007
    Posts
    31
    sorry when i day sheets i ment workbooks. is it any similar?

    i have departments in both books that are in common although one book has the departments activities and their categories and book 2 has the departments actives and their frequency. i would like to match these up and copy the activity's category into book2.

    cheers!
    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
    shortman_alan,

    I think I understand your requirements.

    For each "Asset Number", in workbook "Activity Listing with Activity Cat.xls"

    find a match in in "actuivity number", in workbook "Schedules_2008.xls",

    and copy the "Category" in workbook "Activity Listing with Activity Cat.xls", into a new column in workbook "Schedules_2008.xls"????



    In workbook "Schedules_2008.xls", what column will be the new "Category" field?


    Have a great day,
    Stan
    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
    Registered User
    Join Date
    01-04-2007
    Posts
    31
    thats it!.

    it would be great if the catagory could be inserted between A and C?
    but if not J will be fine.

    cheers!

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

    In the workbook "Schedule_2008", sheet "List PM Activities":

    column A title = "Dept"
    column B title = "activity number"
    column C, inserted new title = "Category"
    column D title = "Frequancy In Days"

    Is this OK with you?


    Have a great day,
    Stan

  5. #5
    Registered User
    Join Date
    01-04-2007
    Posts
    31
    Indeed! That sounds good!

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

    Attached are your two workbooks zipped, "Activity Listing with Activity Cat.xls", and a new copy of the other workbook "Schedules_2008.xls".

    In workbook "Schedules_2008.xls", sheet "List PM Activities", I inserted a new column C "Category".

    Both workbooks must be open.

    The next formula goes into "Schedules_2008.xls", sheet "List PM Activities", cell C2. Remove the leading ' character, and then copy the formula down to the end of the data.

    '=INDEX('[Activity Listing with Activity Cat.xls]Asset Activity Listing'!$B$1:$B$5000,MATCH($B2,'[Activity Listing with Activity Cat.xls]Asset Activity Listing'!$D$1:$D$5000,0))

    Then, to change to values, highlight all the cells in column C, click on Edit, Copy, Edit, PasteSpecial, Values.


    Have a great day,
    Stan
    Attached Files Attached Files

+ 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